OpenSync
0.22
|
The private API of dealing with users. More...
Data Structures | |
struct | OSyncUserInfo |
Represent a user. More... | |
Functions | |
OSyncUserInfo * | osync_user_new (OSyncError **error) |
This will create a new user. More... | |
void | osync_user_free (OSyncUserInfo *info) |
void | osync_user_set_confdir (OSyncUserInfo *user, const char *path) |
This will set the configdir for the given user. More... | |
const char * | osync_user_get_confdir (OSyncUserInfo *user) |
This will get the configdir for the given user. More... | |
The private API of dealing with users.
OSyncUserInfo* osync_user_new | ( | OSyncError ** | error | ) |
This will create a new user.
The user will hold information like uid, gid, home directory etc
Definition at line 40 of file opensync_user.c.
Referenced by osengine_new(), and osync_env_load_groups().
void osync_user_set_confdir | ( | OSyncUserInfo * | user, |
const char * | path | ||
) |
This will set the configdir for the given user.
This will set the configdir for the given user
user | The user to change |
path | The new configdir path |
Definition at line 75 of file opensync_user.c.
const char* osync_user_get_confdir | ( | OSyncUserInfo * | user | ) |
This will get the configdir for the given user.
This will set the configdir for the given user
user | The user to get the path from |
Definition at line 93 of file opensync_user.c.
Referenced by osengine_new(), and osync_env_load_groups().