25#define EMAIL_LENGTH 319
27#define PSEUDO_LENGTH 255
64 int32_t read_age, edited_age, deleted_age;
65 serial_t id, user_id_sender, user_id_recipient;
Represents a message in the chat application.
Information about the identity of an user.
role_flags_t role
The roles of the user.
serial_t id
The ID of the user or 0 for the administrator.
user_kind_t
The kind of an user.
@ user_kind_pro_public
Public professionnal.
@ user_kind_member
Member (client).
@ user_kind_pro_prive
Private professionnal.
uuid4_t api_key_t
An user API key.
int32_t serial_t
A PosrgreSQL SERIAL primary key value starting at 1. (1..2^31-1)
enum ATTR_FLAG_ENUM role_flags_t
A bit flags enumeration representing the roles of an user.
int64_t token_t
A session token.
int32_t page_number_t
A page number (1..2^31-1)
ATTR_FLAG_ENUM
A bit flags enumeration representing the roles of an user.
@ role_admin
Administrator role.
@ min_role
Smallest value of the enumeration.
@ max_role
Largest value of the enumeration.
@ role_membre
Member role.
@ role_pro
Professional role.
General utilities - Standalone hedaer.
UUID library - Interface.