OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
thrift_file_transport.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019, Juniper Networks Inc.
3  */
4 
5 #ifndef _THRIFT_FILE_TRANSPORT_H
6 #define _THRIFT_FILE_TRANSPORT_H
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #ifndef __KERNEL__
13 
14 #include <stdio.h>
15 
20 #define MAX_FILE_NAME 512
21 
26 {
27  /* Needs to be the first element */
29 
30  /* private */
32  FILE *fp;
33 };
35 
38 
39 #endif /* __KERNEL__ */
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif
#define MAX_FILE_NAME
char filename[MAX_FILE_NAME]
void thrift_file_transport_close(ThriftFileTransport *ft)
int thrift_file_transport_init(ThriftFileTransport *t, char *filename)