Lines Matching refs:req
273 apps_enable_request_t req; in main() local
274 req.app_name.id = appId; in main()
275 cli.sendMessageToSystem(CONTEXT_HUB_APPS_ENABLE, &req, sizeof(req)); in main()
280 apps_disable_request_t req; in main() local
281 req.app_name.id = appId; in main()
282 cli.sendMessageToSystem(CONTEXT_HUB_APPS_DISABLE, &req, sizeof(req)); in main()
287 load_app_request_t *req = NULL; in main() local
289 req = (load_app_request_t *)loadFile(appFileName, &fileSize); in main()
290 if (!req || fileSize < sizeof(*req) || req->app_binary.magic != NANOAPP_MAGIC) { in main()
295 cli.sendMessageToSystem(CONTEXT_HUB_LOAD_APP, req, fileSize); in main()
296 free(req); in main()
301 unload_app_request_t req; in main() local
302 req.app_name.id = appId; in main()
303 cli.sendMessageToSystem(CONTEXT_HUB_UNLOAD_APP, &req, sizeof(req)); in main()
308 query_apps_request_t req; in main() local
309 req.app_name.id = appId; in main()
310 cli.sendMessageToSystem(CONTEXT_HUB_QUERY_APPS, &req, sizeof(req)); in main()