Home
last modified time | relevance | path

Searched refs:notify_state_t (Results 1 – 6 of 6) sorted by relevance

/trueos/lib/libnotify/
HDlibnotify.h174 } notify_state_t; typedef
176 notify_state_t *_notify_lib_notify_state_new(uint32_t flags, uint32_t table_size);
177 void _notify_lib_notify_state_free(notify_state_t *ns);
179 uint32_t _notify_lib_post(notify_state_t *ns, const char *name, uint32_t uid, uint32_t gid);
180 uint32_t _notify_lib_post_nid(notify_state_t *ns, uint64_t nid, uid_t uid, gid_t gid);
181 uint32_t _notify_lib_post_client(notify_state_t *ns, client_t *c);
183 uint32_t _notify_lib_check(notify_state_t *ns, pid_t pid, int token, int *check);
184 uint32_t _notify_lib_get_state(notify_state_t *ns, uint64_t nid, uint64_t *state, uint32_t uid, uin…
185 uint32_t _notify_lib_set_state(notify_state_t *ns, uint64_t nid, uint64_t state, uint32_t uid, uint…
187 uint32_t _notify_lib_register_plain(notify_state_t *ns, const char *name, pid_t pid, int token, uin…
[all …]
HDlibnotify.c58 notify_state_t *
61 notify_state_t *ns; in _notify_lib_notify_state_new()
63 ns = (notify_state_t *)calloc(1, sizeof(notify_state_t)); in _notify_lib_notify_state_new()
103 _notify_lib_notify_state_free(notify_state_t *ns) in _notify_lib_notify_state_free()
129 _internal_client_new(notify_state_t *ns, pid_t pid, int token) in _internal_client_new()
155 _internal_client_release(notify_state_t *ns, client_t *c) in _internal_client_release()
197 _internal_new_name(notify_state_t *ns, const char *name) in _internal_new_name()
229 _internal_insert_controlled_name(notify_state_t *ns, name_info_t *n) in _internal_insert_controlled_name()
266 _internal_remove_controlled_name(notify_state_t *ns, name_info_t *n) in _internal_remove_controlled_name()
296 _internal_check_access(notify_state_t *ns, const char *name, uid_t uid, gid_t gid, int req) in _internal_check_access()
[all …]
HDnotify_internal.h44 notify_state_t *self_state;
100 void _notify_lib_cancel_port(notify_state_t *ns, mach_port_t port);
101 uint32_t _notify_lib_check(notify_state_t *ns, pid_t pid, int token, int *check);
102 int *_notify_lib_check_addr(notify_state_t *ns, pid_t pid, int token);
103 uint32_t _notify_lib_peek(notify_state_t *ns, pid_t pid, int token, int *val);
HDnotify_client.c78 extern uint32_t _notify_lib_peek(notify_state_t *ns, pid_t pid, int token, int *val);
79 extern int *_notify_lib_check_addr(notify_state_t *ns, pid_t pid, int token);
120 static notify_state_t *_notify_lib_self_state();
947 static notify_state_t *
1048 notify_state_t *ns_self; in notify_post()
1145 notify_state_t *ns_self; in notify_set_owner()
1174 notify_state_t *ns_self; in notify_get_owner()
1203 notify_state_t *ns_self; in notify_set_access()
1232 notify_state_t *ns_self; in notify_get_access()
1375 notify_state_t *ns_self; in notify_register_check()
[all …]
/trueos/usr.sbin/notifyd/
HDnotifyd.h41 notify_state_t *notify_state;
/trueos/usr.sbin/asl/
HDremote.c77 typedef uint32_t notify_state_t; typedef
78 extern int notify_set_state(int, notify_state_t);
80 typedef uint64_t notify_state_t; typedef