hooks 19 modules/script_shoot_hook.c static script_shoot_hook_t hooks[SCRIPT_NUM_SHOOT_HOOKS]; hooks 24 modules/script_shoot_hook.c memset(hooks,0,sizeof(hooks)); hooks 29 modules/script_shoot_hook.c hooks[hook].timeout = timeout; hooks 37 modules/script_shoot_hook.c int timeleft = hooks[hook].timeout; hooks 38 modules/script_shoot_hook.c hooks[hook].count++; hooks 46 modules/script_shoot_hook.c hooks[hook].active = 1; hooks 47 modules/script_shoot_hook.c while(timeleft > 0 && hooks[hook].active) { hooks 54 modules/script_shoot_hook.c hooks[hook].active = 0; hooks 62 modules/script_shoot_hook.c return hooks[hook].active; hooks 68 modules/script_shoot_hook.c hooks[hook].active = 0; hooks 74 modules/script_shoot_hook.c return hooks[hook].count;