灵云SDK开发手册(iOS API)  8.1
hci_sys_ext.h
1 
6 #ifndef _hci_sys_ext_header_
7 #define _hci_sys_ext_header_
8 
9 #include "hci_sys.h"
10 
11 #ifdef __cplusplus
12 extern "C"
13 {
14 #endif
15 
17 /* @{ */
18 
20 /* @{ */
24 typedef enum{
28 
32 typedef enum{
37 
41 typedef enum{
54 
58 typedef struct _tag_HCI_USER_LIST
59 {
60  unsigned int uiUserListCount;
61  char** pUserList;
63 
64 
68 typedef struct _tag_HCI_GROUP_LIST
69 {
70  unsigned int uiGroupListCount;
71  char** pGroupList;
73 
74 /* @} */
75 
77 /* @{ */
90 HCI_ERR_CODE HCIAPI hci_set_current_userid(_MUST_ _IN_ const char* userid);
91 
92 
110 HCI_ERR_CODE HCIAPI hci_create_group(_MUST_ _IN_ const char* groupid, _MUST_ _IN_ HciGroupType type);
111 
129 HCI_ERR_CODE HCIAPI hci_add_user(_MUST_ _IN_ const char*groupid, _MUST_ _IN_ const char* userid);
147 HCI_ERR_CODE HCIAPI hci_remove_user(_MUST_ _IN_ const char*groupid, _MUST_ _IN_ const char* userid);
148 
165 HCI_ERR_CODE HCIAPI hci_delete_group(_MUST_ _IN_ const char* groupid);
182 HCI_ERR_CODE HCIAPI hci_get_grouplist(_MUST_ _OUT_ HCI_GROUP_LIST *groupList);
200 HCI_ERR_CODE HCIAPI hci_get_userlist(_MUST_ _IN_ const char*groupid, _MUST_ _OUT_ HCI_USER_LIST* usrList);
201 
218 HCI_ERR_CODE HCIAPI hci_delete_user(_MUST_ _IN_ const char* userid);
219 
238 HCI_ERR_CODE HCIAPI hci_delete_model(_MUST_ _IN_ const char* userid, _MUST_ _IN_ HciModelType model_type, _MUST_ _IN_ HciModelSubType model_sub_type);
239 
251 HCI_ERR_CODE HCIAPI hci_free_group_list(_MUST_ _IN_ HCI_GROUP_LIST *groupList);
252 
253 
265 HCI_ERR_CODE HCIAPI hci_free_user_list(_MUST_ _IN_ HCI_USER_LIST* usrList);
266 
267 /* @} */
268 /* @} */
270 
271 #ifdef __cplusplus
272 };
273 #endif
274 
275 #endif