1QB_IPCS_RESPONSE_SEND(3) libqb Programmer's Manual QB_IPCS_RESPONSE_SEND(3)
2
3
4
6 qb_ipcs_response_send - Send a response to a incoming request.
7
9 #include <qb/qbipcs.h>
10
11 ssize_t qb_ipcs_response_send(
12 qb_ipcs_connection_t *c,
13 const void *data,
14 size_t size
15 );
16
18 c connection instance
19
20 data the message to send
21
22 size the size of the message
23
26 size sent or -errno for errors
27
29 the data must include a qb_ipc_response_header at the top of the mes‐
30 sage. The client will read the size field to determine how much to
31 recv.
32
34 qb_ipcs_ref(3), qb_ipcs_unref(3), qb_ipcs_connection_auth_set(3),
35 qb_ipcs_service_context_get(3), qb_ipcs_connection_ref(3),
36 qb_ipcs_connection_next_get(3), qb_ipcs_stats_get(3),
37 qb_ipcs_connection_unref(3), qb_ipcs_context_set(3),
38 qb_ipcs_poll_handlers_set(3), qb_ipcs_request_rate_limit(3),
39 qb_ipcs_disconnect(3), qb_ipcs_connection_first_get(3),
40 qb_ipcs_enforce_buffer_size(3), qb_ipcs_destroy(3),
41 qb_ipcs_event_send(3), qb_ipcs_connection_stats_get_2(3),
42 qb_ipcs_service_context_set(3), qb_ipcs_connection_stats_get(3),
43 qb_ipcs_service_id_get(3), qb_ipcs_context_get(3),
44 qb_ipcs_connection_get_buffer_size(3), qb_ipcs_create(3),
45 qb_ipcs_run(3), qb_ipcs_event_sendv(3),
46 qb_ipcs_connection_service_context_get(3), qb_ipcs_response_sendv(3)
47
49 Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
50
51
52
53LIBQB 2020-07-30 QB_IPCS_RESPONSE_SEND(3)