1QB_IPCS_POLL_HANDLERS_SET(3)libqb Programmer's ManuaQlB_IPCS_POLL_HANDLERS_SET(3)
2
3
4
6 qb_ipcs_poll_handlers_set - Set your poll callbacks.
7
8
10 #include <qb/qbipcs.h>
11
12 void qb_ipcs_poll_handlers_set(
13 qb_ipcs_service_t *s, /* service instance */
14 struct qb_ipcs_poll_handlers *handlers /* the handlers that you want ipcs to use. */
15 );
16
18 s service instance
19
20 handlers the handlers that you want ipcs to use.
21
24 struct qb_ipcs_poll_handlers {
25 qb_ipcs_job_add_fn job_add;
26 qb_ipcs_dispatch_add_fn dispatch_add;
27 qb_ipcs_dispatch_mod_fn dispatch_mod;
28 qb_ipcs_dispatch_del_fn dispatch_del;
29 };
30
32 qb_ipcs_response_send(3), qb_ipcs_ref(3), qb_ipcs_unref(3),
33 qb_ipcs_connection_auth_set(3), qb_ipcs_service_context_get(3),
34 qb_ipcs_connection_ref(3), qb_ipcs_connection_next_get(3),
35 qb_ipcs_stats_get(3), qb_ipcs_connection_unref(3),
36 qb_ipcs_context_set(3), qb_ipcs_request_rate_limit(3),
37 qb_ipcs_disconnect(3), qb_ipcs_connection_first_get(3),
38 qb_ipcs_enforce_buffer_size(3), qb_ipcs_destroy(3),
39 qb_ipcs_event_send(3), qb_ipcs_connection_stats_get_2(3),
40 qb_ipcs_service_context_set(3), qb_ipcs_connection_stats_get(3),
41 qb_ipcs_service_id_get(3), qb_ipcs_context_get(3),
42 qb_ipcs_connection_get_buffer_size(3), qb_ipcs_create(3),
43 qb_ipcs_run(3), qb_ipcs_event_sendv(3),
44 qb_ipcs_connection_service_context_get(3), qb_ipcs_response_sendv(3)
45
47 Copyright (C) 2010-2020 Red Hat, Inc.
48
49
50
51LIBQB 2021-11-12 QB_IPCS_POLL_HANDLERS_SET(3)