1QBIPCC.H(3) libqb Programmer's Manual QBIPCC.H(3)
2
3
4
6 qbipcc.h - Client IPC API.
7
8
10 #include <qb/qbipcc.h>
11
13 Lifecycle of an IPC connection.
14
15 An IPC connection is made to the server with qb_ipcc_connect(). This
16 function connects to the server and requests channels be created for
17 communication. To disconnect, the client either exits or executes the
18 function qb_ipcc_disconnect().
19
20 Synchronous communication
21
22 The function qb_ipcc_sendv_recv() sends an iovector request and re‐
23 ceives a response.
24
25 Asynchronous requests from the client
26
27 The function qb_ipcc_sendv() sends an iovector request. The function
28 qb_ipcc_send() sends an message buffer request.
29
30 Asynchronous events from the server
31
32 The qb_ipcc_event_recv() function receives an out-of-band asynchronous
33 message. The asynchronous messages are queued and can provide very high
34 out-of-band performance. To determine when to call qb_ipcc_event_recv()
35 the qb_ipcc_fd_get() call is used to obtain a file descriptor used in
36 the poll() or select() system calls.
37
39 qb_ipcc_send(3), qb_ipcc_sendv_recv(3), qb_ipcc_recv(3),
40 qb_ipcc_event_recv(3), qb_ipcc_connect_async(3),
41 qb_ipcc_fc_enable_max_set(3), qb_ipcc_is_connected(3),
42 qb_ipcc_connect_continue(3), qb_ipcc_auth_get(3), qb_ipcc_sendv(3),
43 qb_ipcc_context_set(3), qb_ipcc_context_get(3),
44 qb_ipcc_verify_dgram_max_msg_size(3), qb_ipcc_get_buffer_size(3),
45 qb_ipcc_connect(3), qb_ipcc_disconnect(3), qb_ipcc_fd_get(3)
46
48 Copyright (C) 2010-2020 Red Hat, Inc.
49
50
51
52LIBQB 2022-03-23 QBIPCC.H(3)