20 #ifndef SGCTP_CPRINCIPAL_HPP
21 #define SGCTP_CPRINCIPAL_HPP
31 #define SGCTP_MAX_PASSWORD_SIZE 256
32 #define SGCTP_MAX_PASSWORD_LENGTH 255
103 void setPassword(
const char *_pcPassword );
105 void addPayloadType( uint8_t _ui8tPayloadType );
123 bool hasPayloadTypes()
const;
125 bool hasPayloadType( uint8_t _ui8tPayloadType )
const;
133 int read(
const char *_pcPrincipalsPath,
140 #endif // SGCTP_CPRINCIPAL_HPP
uint64_t getID() const
Returns the principal ID.
const char * getPassword() const
Returns the principal password.
#define SGCTP_MAX_PASSWORD_LENGTH
set< uint8_t > ui8tPayloadType_set
Allowed payload types.
void setID(uint64_t _ui64tID)
Sets the principal ID.
#define SGCTP_MAX_PASSWORD_SIZE