Home
last modified time | relevance | path

Searched refs:NAL_LISTENER (Results 1 – 25 of 25) sorted by relevance

/dports/security/distcache/distcache-1.5.1/include/libnal/
H A Dnal_devel.h103 int (*on_create)(NAL_LISTENER *);
104 void (*on_destroy)(NAL_LISTENER *);
105 void (*on_reset)(NAL_LISTENER *);
106 void (*pre_close)(NAL_LISTENER *);
108 int (*listen)(NAL_LISTENER *, const NAL_ADDRESS *);
110 int (*finished)(const NAL_LISTENER *);
112 int (*pre_selector_add)(NAL_LISTENER *, NAL_SELECTOR *);
128 void *nal_listener_get_vtdata(const NAL_LISTENER *);
130 void nal_listener_pre_select(NAL_LISTENER *);
131 void nal_listener_post_select(NAL_LISTENER *);
[all …]
H A Dnal.h29 typedef struct st_NAL_LISTENER NAL_LISTENER; typedef
79 NAL_LISTENER * NAL_LISTENER_new(void);
80 void NAL_LISTENER_free(NAL_LISTENER *list);
81 void NAL_LISTENER_reset(NAL_LISTENER *list);
82 int NAL_LISTENER_create(NAL_LISTENER *list,
84 int NAL_LISTENER_add_to_selector(NAL_LISTENER *list,
86 void NAL_LISTENER_del_from_selector(NAL_LISTENER *list);
87 int NAL_LISTENER_finished(const NAL_LISTENER *list);
93 int NAL_LISTENER_set_fs_owner(NAL_LISTENER *list,
96 int NAL_LISTENER_set_fs_perms(NAL_LISTENER *list,
[all …]
/dports/security/distcache/distcache-1.5.1/libnal/
H A Dnal_listener.c110 void *nal_listener_get_vtdata(const NAL_LISTENER *l) in nal_listener_get_vtdata()
121 void nal_listener_pre_select(NAL_LISTENER *l) in nal_listener_pre_select()
127 void nal_listener_post_select(NAL_LISTENER *l) in nal_listener_post_select()
152 NAL_LISTENER *NAL_LISTENER_new(void) in NAL_LISTENER_new()
154 NAL_LISTENER *l = SYS_malloc(NAL_LISTENER, 1); in NAL_LISTENER_new()
167 void NAL_LISTENER_free(NAL_LISTENER *list) in NAL_LISTENER_free()
174 SYS_free(NAL_LISTENER, list); in NAL_LISTENER_free()
177 void NAL_LISTENER_reset(NAL_LISTENER *list) in NAL_LISTENER_reset()
235 int NAL_LISTENER_finished(const NAL_LISTENER *list) in NAL_LISTENER_finished()
244 int NAL_LISTENER_set_fs_owner(NAL_LISTENER *list, in NAL_LISTENER_set_fs_owner()
[all …]
H A Dproto_std.c62 static int list_on_create(NAL_LISTENER *);
63 static void list_on_destroy(NAL_LISTENER *);
64 static int list_listen(NAL_LISTENER *, const NAL_ADDRESS *);
66 static int list_finished(const NAL_LISTENER *);
67 static int list_pre_selector_add(NAL_LISTENER *, NAL_SELECTOR *);
103 static int conn_accept(NAL_CONNECTION *, const NAL_LISTENER *);
263 static int list_on_create(NAL_LISTENER *l) in list_on_create()
268 static void list_on_destroy(NAL_LISTENER *l) in list_on_destroy()
275 static int list_listen(NAL_LISTENER *l, const NAL_ADDRESS *addr) in list_listen()
300 static int list_finished(const NAL_LISTENER *l) in list_finished()
[all …]
H A Dproto_fd.c66 static int list_on_create(NAL_LISTENER *l);
67 static void list_on_destroy(NAL_LISTENER *l);
68 static int list_listen(NAL_LISTENER *l, const NAL_ADDRESS *addr);
70 static int list_finished(const NAL_LISTENER *l);
71 static int list_pre_selector_add(NAL_LISTENER *, NAL_SELECTOR *);
234 static int list_on_create(NAL_LISTENER *l) in list_on_create()
241 static void list_on_destroy(NAL_LISTENER *l) in list_on_destroy()
247 static int list_listen(NAL_LISTENER *l, const NAL_ADDRESS *addr) in list_listen()
267 static int list_finished(const NAL_LISTENER *l) in list_finished()
292 static void list_pre_select(NAL_LISTENER *l, NAL_SELECTOR *sel, in list_pre_select()
[all …]
H A Dnal_internal.h124 NAL_SELECTOR_TOKEN nal_selector_add_listener(NAL_SELECTOR *, NAL_LISTENER *);
126 void nal_selector_del_listener(NAL_SELECTOR *, NAL_LISTENER *, NAL_SELECTOR_TOKEN);
133 unsigned int nal_listener_get_def_buffer_size(const NAL_LISTENER *l);
134 int nal_listener_set_def_buffer_size(NAL_LISTENER *l, unsigned int def_buffer_size);
H A Dsel_select.c54 NAL_LISTENER *listener;
117 NAL_LISTENER *listener) in obj_table_add_listener()
193 static NAL_SELECTOR_TOKEN sel_add_listener(NAL_SELECTOR *, NAL_LISTENER *);
195 static void sel_del_listener(NAL_SELECTOR *, NAL_LISTENER *, NAL_SELECTOR_TOKEN);
321 NAL_LISTENER *listener) in sel_add_listener()
334 static void sel_del_listener(NAL_SELECTOR *sel, NAL_LISTENER *listener, in sel_del_listener()
H A Dsel_poll.c47 NAL_LISTENER *listener;
148 NAL_LISTENER *listener) in obj_table_add_listener()
189 static NAL_SELECTOR_TOKEN sel_add_listener(NAL_SELECTOR *, NAL_LISTENER *);
191 static void sel_del_listener(NAL_SELECTOR *, NAL_LISTENER *, NAL_SELECTOR_TOKEN);
269 NAL_LISTENER *listener) in sel_add_listener()
282 static void sel_del_listener(NAL_SELECTOR *sel, NAL_LISTENER *listener, in sel_del_listener()
H A Dnal_selector.c71 NAL_SELECTOR_TOKEN nal_selector_add_listener(NAL_SELECTOR *s, NAL_LISTENER *l) in nal_selector_add_listener()
83 void nal_selector_del_listener(NAL_SELECTOR *s, NAL_LISTENER *l, NAL_SELECTOR_TOKEN k) in nal_selector_del_listener()
H A Dnal_connection.c178 int NAL_CONNECTION_accept(NAL_CONNECTION *conn, NAL_LISTENER *list) in NAL_CONNECTION_accept()
/dports/security/distcache/distcache-1.5.1/doc/
H A DNAL_LISTENER_new.pod11 NAL_LISTENER *NAL_LISTENER_new(void);
12 void NAL_LISTENER_free(NAL_LISTENER *list);
13 void NAL_LISTENER_reset(NAL_LISTENER *list);
14 int NAL_LISTENER_create(NAL_LISTENER *list, const NAL_ADDRESS *addr);
15 void NAL_LISTENER_add_to_selector(const NAL_LISTENER *list,
17 void NAL_LISTENER_del_from_selector(const NAL_LISTENER *list,
20 int NAL_LISTENER_set_fs_owner(NAL_LISTENER *list,
23 int NAL_LISTENER_set_fs_perms(NAL_LISTENER *list,
30 NAL_LISTENER_free() destroys a B<NAL_LISTENER> object.
77 NAL_LISTENER *list = NAL_LISTENER_new();
[all …]
H A DNAL_ADDRESS_new.pod41 create a B<NAL_LISTENER> object, then any B<NAL_CONNECTION> objects that are
54 creating a B<NAL_LISTENER> object. In other words, these functions determine
96 B<NAL_LISTENER> object, although it will depend at run-time on the situation in
121 L<NAL_LISTENER_new(2)> - Functions for the NAL_LISTENER type.
H A DNAL_SELECTOR_new.pod46 B<NAL_LISTENER> objects for any events appropriate to them and then block
74 L<NAL_LISTENER_new(2)> - Functions for the NAL_LISTENER type.
H A DNAL_CONNECTION_new.pod19 int NAL_CONNECTION_accept(NAL_CONNECTION *conn, NAL_LISTENER *list,
90 accepted from a B<NAL_LISTENER> object, then from the address that created the
193 B<NAL_LISTENER> object had already been added to the selector using
292 L<NAL_LISTENER_new(2)> - Functions for the NAL_LISTENER type.
H A Ddistcache.pod110 =item NAL_LISTENER (see L<NAL_LISTENER_new(2)>)
118 This provides an object that can be prepared with various NAL_LISTENER and
H A DNAL_BUFFER_new.pod126 L<NAL_LISTENER_new(2)> - Functions for the NAL_LISTENER type.
H A DNAL_decode_uint32.pod137 L<NAL_LISTENER_new(2)> - Functions for the NAL_LISTENER type.
/dports/security/distcache/distcache-1.5.1/test/
H A Dnal_test.c192 NAL_LISTENER *n_var = NAL_LISTENER_new(); in do_alloc_timings()
246 NAL_LISTENER *n_var = NAL_LISTENER_new(); in do_create_timings()
H A Decho.c119 NAL_LISTENER *listener; in main()
H A Dproxy.c68 NAL_LISTENER *listener;
H A Dpong.c294 NAL_LISTENER *listener = NULL; in main()
/dports/security/distcache/distcache-1.5.1/sessserver/
H A Dserver.c236 NAL_LISTENER *listener = NAL_LISTENER_new(); in do_server()
/dports/security/distcache/distcache-1.5.1/sessclient/
H A Dsclient.c137 NAL_LISTENER *listener; in main()
/dports/security/distcache/distcache-1.5.1/snoop/
H A Dsnoop.c74 NAL_LISTENER *list;
/dports/security/distcache/distcache-1.5.1/
H A DCHANGES213 *) Make NAL_SELECTOR vtable-based like NAL_ADDRESS, NAL_LISTENER, [etc]. The
473 - NAL_LISTENER and NAL_CONNECTION no longer keep an internal copy of their
479 as keeping a NAL_ADDRESS copy inside NAL_LISTENER and NAL_CONNECTION
695 - NAL_LISTENER_new.pod (all NAL_LISTENER functions)