.\" Automatically generated man page, do not edit .TH QB_IPCS_RESPONSE_SEND 3 2023-07-21 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_ipcs_response_send \- Send a response to a incoming request. .SH SYNOPSIS .nf .B #include .sp \fBssize_t qb_ipcs_response_send\fP( \fBqb_ipcs_connection_t *\fP\fIc\fP,\fR /* connection instance */ \fBconst void *\fP\fIdata\fP,\fR /* the message to send */ \fBsize_t \fP\fIsize\fP\fR /* the size of the message */ ); .fi .SH PARAMS \fBc \fP\fIconnection instance \fP .PP \fBdata \fP\fIthe message to send \fP .PP \fBsize \fP\fIthe size of the message \fP .PP .SH DESCRIPTION .RE .SH RETURN VALUE .PP size sent or -errno for errors .PP .SH NOTE .PP the data must include a \fIqb_ipc_response_header\fR at the top of the message. The client will read the size field to determine how much to recv. .SH SEE ALSO .PP .nh .ad l \fIqb_ipcs_ref\fR(3), \fIqb_ipcs_unref\fR(3), \fIqb_ipcs_connection_auth_set\fR(3), \fIqb_ipcs_service_context_get\fR(3), \fIqb_ipcs_connection_ref\fR(3), \fIqb_ipcs_connection_next_get\fR(3), \fIqb_ipcs_stats_get\fR(3), \fIqb_ipcs_connection_unref\fR(3), \fIqb_ipcs_context_set\fR(3), \fIqb_ipcs_poll_handlers_set\fR(3), \fIqb_ipcs_request_rate_limit\fR(3), \fIqb_ipcs_disconnect\fR(3), \fIqb_ipcs_connection_first_get\fR(3), \fIqb_ipcs_enforce_buffer_size\fR(3), \fIqb_ipcs_destroy\fR(3), \fIqb_ipcs_event_send\fR(3), \fIqb_ipcs_connection_stats_get_2\fR(3), \fIqb_ipcs_service_context_set\fR(3), \fIqb_ipcs_connection_stats_get\fR(3), \fIqb_ipcs_service_id_get\fR(3), \fIqb_ipcs_context_get\fR(3), \fIqb_ipcs_connection_get_buffer_size\fR(3), \fIqb_ipcs_create\fR(3), \fIqb_ipcs_run\fR(3), \fIqb_ipcs_event_sendv\fR(3), \fIqb_ipcs_connection_service_context_get\fR(3), \fIqb_ipcs_response_sendv\fR(3) .ad .hy .SH "COPYRIGHT" .PP Copyright (C) 2010-2020 Red Hat, Inc.