/usr/include/libprelude/prelude-client-profile.hxx is in libprelude-dev 1.0.0-7build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | #ifndef __PRELUDE_CLIENT_PROFILE__
#define __PRELUDE_CLIENT_PROFILE__
#include <string>
#include "prelude.h"
namespace Prelude {
class ClientProfile {
protected:
bool _own_data;
prelude_client_profile_t *_profile;
public:
ClientProfile();
ClientProfile(const char *profile);
ClientProfile(prelude_client_profile_t * profile);
ClientProfile(const ClientProfile &p);
~ClientProfile();
int GetUid() { return (int)prelude_client_profile_get_uid(_profile); }
int GetGid() { return (int)prelude_client_profile_get_gid(_profile); }
const char *GetName() { return prelude_client_profile_get_name(_profile); }
int SetName(const char *name) { return prelude_client_profile_set_name(_profile,name); }
/* XXX uint64_t has to be converted */
uint64_t GetAnalyzerId() { return prelude_client_profile_get_analyzerid(_profile); }
void GetAnalyzerId(uint64_t id) { prelude_client_profile_set_analyzerid(_profile,id); }
const std::string GetConfigFilename();
const std::string GetAnalyzeridFilename();
const std::string GetTlsKeyFilename();
const std::string GetTlsServerCaCertFilename();
const std::string GetTlsServerKeyCertFilename();
const std::string GetTlsServerCrlFilename();
const std::string GetTlsClientKeyCertFilename();
const std::string GetTlsClientTrustedCertFilename();
const std::string GetBackupDirname();
const std::string GetProfileDirname();
void SetPrefix(const char *prefix);
const std::string GetPrefix();
operator prelude_client_profile_t *() const;
ClientProfile &operator=(const ClientProfile &p);
};
};
#endif
|