Searched refs:uservice_t (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/uservice/include/uservice/ |
A D | uservice.h | 21 typedef struct uservice uservice_t; typedef 34 uservice_t *srv; 157 uservice_t *uservice_new(const char *name, process_t process_rpc, void *context); 158 void uservice_destroy(uservice_t *srv); 161 int uservice_call_async(uservice_t *srv, int cmd, void *param, size_t param_size); 162 int uservice_call(uservice_t *srv, rpc_t *rpc); 163 void uservice_lock(uservice_t *srv); 164 void uservice_unlock(uservice_t *srv); 166 void uservice_subscribe(uservice_t *srv, uint32_t event_id); 171 void utask_add(utask_t *task, uservice_t *srv); [all …]
|
/AliOS-Things-master/components/uservice/src/ |
A D | uservice.c | 15 void uservice_lock(uservice_t *srv) in uservice_lock() 22 void uservice_unlock(uservice_t *srv) in uservice_unlock() 29 int uservice_call(uservice_t *srv, rpc_t *rpc) in uservice_call() 58 int uservice_call_sync(uservice_t *srv, int cmd, void *param, void *resp, size_t size) in uservice_call_sync() 88 int uservice_call_async(uservice_t *srv, int cmd, void *param, size_t param_size) in uservice_call_async() 108 uservice_t *uservice_new(const char *name, process_t process_rpc, void *context) in uservice_new() 111 uservice_t *srv = aos_zalloc(sizeof(uservice_t)); in uservice_new() 123 void uservice_destroy(uservice_t *srv) in uservice_destroy() 145 uservice_t *srv = (uservice_t*)context; in uservice_event_process() 157 void uservice_subscribe(uservice_t *srv, uint32_t event_id) in uservice_subscribe()
|
A D | utask.c | 149 uservice_t *node; in utask_join() 151 slist_for_each_entry_safe(&task->uservice_lists, tmp, node, uservice_t, next) { in utask_join() 167 void utask_add(utask_t *task, uservice_t *srv) in utask_add() 179 void utask_remove(utask_t *task, uservice_t *srv) in utask_remove() 223 uservice_t *task_get(utask_t *task, const char *name) in task_get() 227 uservice_t *node; in task_get() 231 slist_for_each_entry(&task->uservice_lists, node, uservice_t, next) { in task_get()
|
A D | event_svr.c | 20 uservice_t *svr;
|
/AliOS-Things-master/components/uservice/ |
A D | README.md | 17 uservice_t *srv; 115 根据指定的微服务名称,上下文、最大命令ID,创建微服务,创建成功返回 uservice_t 指针,失败返回NULL 122 创建成功返回 uservice_t 指针,失败返回NULL 127 void uservice_destroy(uservice_t *srv); 179 int uservice_call(uservice_t *srv, rpc_t *rpc); 193 void uservice_lock(uservice_t *srv); 194 void uservice_unlock(uservice_t *srv); 209 uservice_t *srv; 324 void utask_add(utask_t *task, uservice_t *srv); 328 void utask_remove(utask_t *task, uservice_t *srv); [all …]
|
/AliOS-Things-master/components/netmgr/include_inner/ |
A D | netmgr_service.h | 133 uservice_t *srv;
|
Completed in 7 milliseconds