Lines Matching defs:hook
3339 watcher->hook(teamID, watcher->data);
3505 /*! Adds a hook to the team that is called as soon as this team goes away.
3509 start_watching_team(team_id teamID, void (*hook)(team_id, void*), void* data)
3511 if (hook == NULL || teamID < B_OK)
3519 watcher->hook = hook;
3539 stop_watching_team(team_id teamID, void (*hook)(team_id, void*), void* data)
3541 if (hook == NULL || teamID < 0)
3553 if (watcher->hook == hook && watcher->data == data) {