clsync
Loading...
Searching...
No Matches
libclsync.c File Reference
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <sys/un.h>
#include "configuration.h"
#include "error.h"
#include "libclsync.h"
#include "malloc.h"
#include "socket.h"
Include dependency graph for libclsync.c:

Go to the source code of this file.

Macros

#define LIBCLSYNC
 

Functions

int libproc_procclsyncsock (socket_sockthreaddata_t *arg, sockcmd_t *sockcmd_p)
 
static int _clsync_connect_setthreaddata (socket_sockthreaddata_t *threaddata_p, clsyncproc_t *proc_p, sockprocflags_t flags)
 
static clsyncproc_t_clsync_x_unix (const char *const socket_path, clsyncsock_procfunct_t procfunct, sockprocflags_t flags, const char *const action, clsyncsock_t *(*socket_x_unix)(const char *const))
 
clsyncproc_tclsync_listen_unix (const char *const socket_path, clsyncsock_procfunct_t procfunct, sockprocflags_t flags)
 
clsyncproc_tclsync_connect_unix (const char *const socket_path, clsyncsock_procfunct_t procfunct, sockprocflags_t flags)
 

Macro Definition Documentation

◆ LIBCLSYNC

#define LIBCLSYNC

Definition at line 20 of file libclsync.c.

Function Documentation

◆ _clsync_connect_setthreaddata()

static int _clsync_connect_setthreaddata ( socket_sockthreaddata_t * threaddata_p,
clsyncproc_t * proc_p,
sockprocflags_t flags )
inlinestatic

Definition at line 57 of file libclsync.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _clsync_x_unix()

static clsyncproc_t * _clsync_x_unix ( const char *const socket_path,
clsyncsock_procfunct_t procfunct,
sockprocflags_t flags,
const char *const action,
clsyncsock_t *(* socket_x_unix )(const char *const) )
inlinestatic

Definition at line 69 of file libclsync.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clsync_connect_unix()

clsyncproc_t * clsync_connect_unix ( const char *const socket_path,
clsyncsock_procfunct_t procfunct,
sockprocflags_t flags )

Definition at line 119 of file libclsync.c.

Here is the call graph for this function:

◆ clsync_listen_unix()

clsyncproc_t * clsync_listen_unix ( const char *const socket_path,
clsyncsock_procfunct_t procfunct,
sockprocflags_t flags )

Definition at line 113 of file libclsync.c.

Here is the call graph for this function:

◆ libproc_procclsyncsock()

int libproc_procclsyncsock ( socket_sockthreaddata_t * arg,
sockcmd_t * sockcmd_p )

Definition at line 33 of file libclsync.c.

Here is the call graph for this function:
Here is the caller graph for this function: