|
Server Wait On Clients System - API Documentation v1.8.3
Server Wait On Clients System.
|
Comms functions associated with the swocserverd daemon. More...
#include <netdb.h>#include <netinet/in.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/epoll.h>#include <sys/socket.h>#include <syslog.h>#include <unistd.h>#include "internal.h"#include <libmgec/libmgec.h>#include <libmgec/mge-bstree.h>#include <libmgec/mge-buffer.h>#include <libmgec/mge-errno.h>#include <libmgec/mge-message.h>#include <swoc/libswoccommon.h>
Macros | |
| #define | _Bool signed char |
| #define | bool _Bool |
| #define | false 0 |
| #define | true 1 |
| #define | __bool_true_false_are_defined 1 |
Functions | |
| static int | bind_ports (int *sfd, int *portno, struct addrinfo *hints) |
| static int | init_epoll (int *pepfd, struct epoll_event *pevent, struct comm_spec *pt_ps) |
| static int | proc_msg (struct mgemessage *msg) |
| static int | proc_events (int n_events, struct epoll_event *pevents) |
| int | prepare_sockets (void) |
| Prepare all sockets. | |
| int | process_comms (void) |
| Wait and then process communications. | |
Comms functions associated with the swocserverd daemon.
Released under the GPLv3 only.
SPDX-License-Identifier: GPL-3.0-only
| #define __bool_true_false_are_defined 1 |
| #define _Bool signed char |
| #define bool _Bool |
| #define false 0 |
| #define true 1 |
|
static |
|
static |
| int prepare_sockets | ( | void | ) |
Prepare all sockets.
On error mge_errno will be set.
|
static |
|
static |
| int process_comms | ( | void | ) |
Wait and then process communications.
On error mge_errno will be set.