automotive-dlt
dlt_daemon_unix_socket.h
Go to the documentation of this file.
1 /*
2  * @licence app begin@
3  * SPDX license identifier: MPL-2.0
4  *
5  * Copyright (C) 2015, Advanced Driver Information Technology
6  * Copyright of Advanced Driver Information Technology, Bosch and Denso.
7  *
8  * This file is part of GENIVI Project DLT - Diagnostic Log and Trace.
9  *
10  * This Source Code Form is subject to the terms of the
11  * Mozilla Public License (MPL), v. 2.0.
12  * If a copy of the MPL was not distributed with this file,
13  * You can obtain one at http://mozilla.org/MPL/2.0/.
14  *
15  * For further information see http://www.genivi.org/.
16  * @licence end@
17  */
18 
29 /*******************************************************************************
30 ** **
31 ** SRC-MODULE: dlt_daemon_unix_socket.h **
32 ** **
33 ** TARGET : linux **
34 ** **
35 ** PROJECT : DLT **
36 ** **
37 ** AUTHOR : Christoph Lipka clipka@jp.adit-jv.com **
38 ** **
39 ** PURPOSE : **
40 ** **
41 ** REMARKS : **
42 ** **
43 ** PLATFORM DEPENDANT [yes/no]: yes **
44 ** **
45 ** TO BE CHANGED BY USER [yes/no]: no **
46 ** **
47 *******************************************************************************/
48 
49 /*******************************************************************************
50 ** Author Identity **
51 ********************************************************************************
52 ** **
53 ** Initials Name Company **
54 ** -------- ------------------------- ---------------------------------- **
55 ** cl Christoph Lipka ADIT **
56 *******************************************************************************/
57 
58 #ifndef DLT_DAEMON_UNIX_SOCKET_H
59 #define DLT_DAEMON_UNIX_SOCKET_H
60 
61 int dlt_daemon_unix_socket_open(int *sock, char *socket_path);
62 int dlt_daemon_unix_socket_close(int sock);
63 
64 int dlt_daemon_unix_socket_send(int sock,void* data1,int size1,void* data2,
65  int size2,char serialheader);
66 
67 #endif /* DLT_DAEMON_UNIX_SOCKET_H */
int dlt_daemon_unix_socket_open(int *sock, char *socket_path)
int dlt_daemon_unix_socket_send(int sock, void *data1, int size1, void *data2, int size2, char serialheader)
int dlt_daemon_unix_socket_close(int sock)