OpenSDN source code
thrift_file_transport.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019, Juniper Networks Inc.
3  * Copyright Contributors to the OpenSDN project
4  */
5 
6 #ifndef _THRIFT_FILE_TRANSPORT_H
7 #define _THRIFT_FILE_TRANSPORT_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 #ifndef __KERNEL__
14 
15 #include <stdio.h>
16 
21 #define MAX_FILE_NAME 512
22 
27 {
28  /* Needs to be the first element */
30 
31  /* private */
33  FILE *fp;
34 };
36 
39 
40 #endif /* __KERNEL__ */
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
46 #endif
char filename[MAX_FILE_NAME]
int thrift_file_transport_init(ThriftFileTransport *t, char *filename)
#define MAX_FILE_NAME
void thrift_file_transport_close(ThriftFileTransport *ft)