QB_IPCS_POLL_HANDLERS_SET(3) libqb Programmer's Manual QB_IPCS_POLL_HANDLERS_SET(3)

qb_ipcs_poll_handlers_set - Set your poll callbacks.

#include <qb/qbipcs.h>

void qb_ipcs_poll_handlers_set(
    qb_ipcs_service_t              *s,
    struct qb_ipcs_poll_handlers   *handlers
);

s service instance

handlers the handlers that you want ipcs to use.


struct qb_ipcs_poll_handlers {
    qb_ipcs_job_add_fn       job_add;
    qb_ipcs_dispatch_add_fn  dispatch_add;
    qb_ipcs_dispatch_mod_fn  dispatch_mod;
    qb_ipcs_dispatch_del_fn  dispatch_del;
};

qb_ipcs_response_send(3), qb_ipcs_ref(3), qb_ipcs_unref(3), qb_ipcs_connection_auth_set(3), qb_ipcs_service_context_get(3), qb_ipcs_connection_ref(3), qb_ipcs_connection_next_get(3), qb_ipcs_stats_get(3), qb_ipcs_connection_unref(3), qb_ipcs_context_set(3), qb_ipcs_request_rate_limit(3), qb_ipcs_disconnect(3), qb_ipcs_connection_first_get(3), qb_ipcs_enforce_buffer_size(3), qb_ipcs_destroy(3), qb_ipcs_event_send(3), qb_ipcs_connection_stats_get_2(3), qb_ipcs_service_context_set(3), qb_ipcs_connection_stats_get(3), qb_ipcs_service_id_get(3), qb_ipcs_context_get(3), qb_ipcs_connection_get_buffer_size(3), qb_ipcs_create(3), qb_ipcs_run(3), qb_ipcs_event_sendv(3), qb_ipcs_connection_service_context_get(3), qb_ipcs_response_sendv(3)

Copyright (C) 2010-2020 Red Hat, Inc.

2021-03-03 LIBQB