|
automotive-dlt
|
#include <stdio.h>#include <stdlib.h>#include <sys/un.h>#include <sys/socket.h>#include <syslog.h>#include <errno.h>#include "dlt-daemon.h"#include "dlt_common.h"#include "dlt-daemon_cfg.h"#include "dlt_daemon_socket.h"#include "dlt_daemon_unix_socket.h"
Go to the source code of this file.
Functions | |
| int | dlt_daemon_unix_socket_open (int *sock, char *sock_path) |
| int | dlt_daemon_unix_socket_close (int sock) |
| int | dlt_daemon_unix_socket_send (int sock, void *data1, int size1, void *data2, int size2, char serialheader) |
Variables | |
| char | err_string [DLT_DAEMON_TEXTBUFSIZE] |
Definition in file dlt_daemon_unix_socket.c.
| int dlt_daemon_unix_socket_close | ( | int | sock | ) |
Definition at line 80 of file dlt_daemon_unix_socket.c.
References dlt_log(), and err_string.
| int dlt_daemon_unix_socket_open | ( | int * | sock, |
| char * | sock_path | ||
| ) |
Definition at line 43 of file dlt_daemon_unix_socket.c.
References dlt_log(), and NULL.
Referenced by dlt_daemon_local_connection_init().
| int dlt_daemon_unix_socket_send | ( | int | sock, |
| void * | data1, | ||
| int | size1, | ||
| void * | data2, | ||
| int | size2, | ||
| char | serialheader | ||
| ) |
Definition at line 93 of file dlt_daemon_unix_socket.c.
References dlt_daemon_socket_send().
| char err_string[DLT_DAEMON_TEXTBUFSIZE] |
Definition at line 41 of file dlt_daemon_unix_socket.c.
Referenced by dlt_daemon_unix_socket_close().