OpenSync
0.22
|
00001 #ifndef _OPENSYNC_USER_INTERNALS_H_ 00002 #define _OPENSYNC_USER_INTERNALS_H_ 00003 00007 struct OSyncUserInfo 00008 { 00009 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00010 uid_t uid; 00011 gid_t gid; 00012 G_CONST_RETURN gchar *username; 00013 G_CONST_RETURN gchar *homedir; 00014 char *confdir; 00015 #endif 00016 }; 00017 00018 OSyncUserInfo *osync_user_new(OSyncError **error); 00019 void osync_user_free(OSyncUserInfo *info); 00020 void osync_user_set_confdir(OSyncUserInfo *user, const char *path); 00021 const char *osync_user_get_confdir(OSyncUserInfo *user); 00022 00023 #endif //_OPENSYNC_USER_INTERNALS_H_