Searched refs:serviceParseCtx (Results 1 - 3 of 3) sorted by relevance
/base/startup/init/services/modules/selinux/ |
H A D | selinux_static.c | 30 static void ServiceParseSelinuxHook(SERVICE_PARSE_CTX *serviceParseCtx) in ServiceParseSelinuxHook() argument 32 char *fieldStr = cJSON_GetStringValue(cJSON_GetObjectItem(serviceParseCtx->serviceNode, SECON_STR_IN_CFG)); in ServiceParseSelinuxHook() 33 PLUGIN_CHECK(fieldStr != NULL, return, "No secon item in %s", serviceParseCtx->serviceName); in ServiceParseSelinuxHook() 34 PLUGIN_LOGV("Cfg %s for %s", fieldStr, serviceParseCtx->serviceName); in ServiceParseSelinuxHook() 35 DelServiceExtData(serviceParseCtx->serviceName, HOOK_ID_SELINUX); in ServiceParseSelinuxHook() 36 AddServiceExtData(serviceParseCtx->serviceName, HOOK_ID_SELINUX, fieldStr, strlen(fieldStr) + 1); in ServiceParseSelinuxHook()
|
/base/startup/init/services/modules/bootevent/ |
H A D | bootevent.c | 364 static void ServiceParseBootEventHook(SERVICE_PARSE_CTX *serviceParseCtx)
in ServiceParseBootEventHook() argument 367 cJSON *bootEvents = cJSON_GetObjectItem(serviceParseCtx->serviceNode, BOOT_EVENT_FIELD_NAME);
in ServiceParseBootEventHook() 374 ctx.serviceName = serviceParseCtx->serviceName;
in ServiceParseBootEventHook() 378 if (AddServiceBootEvent(serviceParseCtx->serviceName,
in ServiceParseBootEventHook() 380 INIT_LOGI("Add service bootEvent failed %s", serviceParseCtx->serviceName);
in ServiceParseBootEventHook() 390 if (AddServiceBootEvent(serviceParseCtx->serviceName,
in ServiceParseBootEventHook() 392 INIT_LOGI("Add service bootEvent failed %s", serviceParseCtx->serviceName);
in ServiceParseBootEventHook()
|
/base/startup/init/interfaces/innerkits/init_module_engine/include/ |
H A D | bootstage.h | 165 * @param serviceParseCtx service config parsing context information 168 typedef void (*ServiceParseHook)(SERVICE_PARSE_CTX *serviceParseCtx); 213 * @param serviceParseCtx service config parsing context information
|
Completed in 3 milliseconds