table of contents
QB_IPCS_RESPONSE_SEND(3) | libqb Programmer's Manual | QB_IPCS_RESPONSE_SEND(3) |
NAME¶
qb_ipcs_response_send - Send a response to a incoming request.
SYNOPSIS¶
#include <qb/qbipcs.h> ssize_t qb_ipcs_response_send(
qb_ipcs_connection_t *c, /* connection instance */
const void *data, /* the message to send */
size_t size /* the size of the message */ );
PARAMS¶
c connection instance
data the message to send
size the size of the message
DESCRIPTION¶
RETURN VALUE¶
size sent or -errno for errors
NOTE¶
the data must include a qb_ipc_response_header at the top of the message. The client will read the size field to determine how much to recv.
SEE ALSO¶
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_poll_handlers_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¶
Copyright (C) 2010-2020 Red Hat, Inc.
2023-07-24 | LIBQB |