#include "zentific-xmlrpc.h" #include "zentific-defines.h" #include "zentific-types.h" #include "zentific-common.h" USER *_getUser(int uid); USER *_getUserByName(char *name); GSList /*USER*/ *_getUsers(); gboolean _addUser(USER *user); gboolean _removeUser(int uid); int _getUserUID(char *user); char *_getUsername(int uid); char *_getLanguageCode(int id); gboolean _isActive(int uid); gboolean _isUser(char *user); gboolean _isSuperUser(int uid); gboolean _isSuperUserByName(char *name); gboolean _isVMowner(char *uuid, int uid); gboolean _isNODEowner(char *uuid, int uid); gboolean _setPassword(int uid, char *pass); gboolean _setUserAttribute(int uid, char *attribute, char *value); gboolean _logout(char *session_id); gboolean _addUserGroup(char *name); gboolean _userGroupExists(char *name); gboolean _removeUserGroup(char *name); GSList *_getUserGroups(); GSList *_getUserGroupMembers(char *name); gboolean _addToUserGroup(int uid, char *name); gboolean _removeFromUserGroup(int uid, char *name); gboolean _renameUserGroup(char *old_name, char *new_name);