Lines Matching refs:hook
160 int AddServerStageHook(AppSpawnHookStage stage, int prio, ServerStageHook hook) in AddServerStageHook() argument
162 APPSPAWN_CHECK(hook != NULL, return APPSPAWN_ARG_INVALID, "Invalid hook"); in AddServerStageHook()
168 info.hook = ServerStageHookRun; in AddServerStageHook()
169 info.hookCookie = (void *)hook; in AddServerStageHook()
243 int AddAppSpawnHook(AppSpawnHookStage stage, int prio, AppSpawnHook hook) in AddAppSpawnHook() argument
245 APPSPAWN_CHECK(hook != NULL, return APPSPAWN_ARG_INVALID, "Invalid hook"); in AddAppSpawnHook()
251 info.hook = AppSpawnHookRun; in AddAppSpawnHook()
252 info.hookCookie = (void *)hook; in AddAppSpawnHook()
279 int AddProcessMgrHook(AppSpawnHookStage stage, int prio, ProcessChangeHook hook) in AddProcessMgrHook() argument
281 APPSPAWN_CHECK(hook != NULL, return APPSPAWN_ARG_INVALID, "Invalid hook"); in AddProcessMgrHook()
287 info.hook = ProcessMgrHookRun; in AddProcessMgrHook()
288 info.hookCookie = hook; in AddProcessMgrHook()