FFUser

FFUser — Functions for handling user information.

Synopsis


#include <ff-user.h>


struct      FFUser;

FFUser*     ff_user_new                     (void);
void        ff_user_free                    (FFUser *self);
void        ff_user_free_list               (GList *user_list);

void        ff_user_set_user_name           (FFUser *self,
                                             const gchar *value);
void        ff_user_set_first_name          (FFUser *self,
                                             const gchar *value);
void        ff_user_set_middle_name         (FFUser *self,
                                             const gchar *value);
void        ff_user_set_last_name           (FFUser *self,
                                             const gchar *value);
void        ff_user_set_password            (FFUser *self,
                                             const gchar *value);
void        ff_user_set_role_name           (FFUser *self,
                                             const gchar *value);
void        ff_user_set_gid                 (FFUser *self,
                                             glong value);
void        ff_user_set_uid                 (FFUser *self,
                                             glong value);

Description

This functions are used whenever user information is retrieved or saved.

Details

struct FFUser

struct FFUser {

	gchar *user_name;
	gchar *first_name;
	gchar *middle_name;
	gchar *last_name;
	gchar *password;
	gchar *role_name;
	glong gid;		/* Group id */
	glong uid;		/* User id */
};


ff_user_new ()

FFUser*     ff_user_new                     (void);

Returns :

ff_user_free ()

void        ff_user_free                    (FFUser *self);

self :

ff_user_free_list ()

void        ff_user_free_list               (GList *user_list);

user_list :

ff_user_set_user_name ()

void        ff_user_set_user_name           (FFUser *self,
                                             const gchar *value);

self :
value :

ff_user_set_first_name ()

void        ff_user_set_first_name          (FFUser *self,
                                             const gchar *value);

self :
value :

ff_user_set_middle_name ()

void        ff_user_set_middle_name         (FFUser *self,
                                             const gchar *value);

self :
value :

ff_user_set_last_name ()

void        ff_user_set_last_name           (FFUser *self,
                                             const gchar *value);

self :
value :

ff_user_set_password ()

void        ff_user_set_password            (FFUser *self,
                                             const gchar *value);

self :
value :

ff_user_set_role_name ()

void        ff_user_set_role_name           (FFUser *self,
                                             const gchar *value);

self :
value :

ff_user_set_gid ()

void        ff_user_set_gid                 (FFUser *self,
                                             glong value);

self :
value :

ff_user_set_uid ()

void        ff_user_set_uid                 (FFUser *self,
                                             glong value);

self :
value :