BusBoy
2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cpp
api
external
capi
CExternalDataFileAPI.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_C_EXTERNAL_DATA_FILE_API_H__
18
#define __BUSBOY_C_EXTERNAL_DATA_FILE_API_H__
19
20
#include <stddef.h>
21
#include "
CExternalDataFileSourceAPI.h
"
22
#include "
CExternalDataFileSinkAPI.h
"
23
24
typedef
struct
CExternalDataFileStruct
*
CExternalDataFilePtr
;
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
30
CExternalDataFilePtr
CExternalDataFile_newDataFile
(
const
char
* key,
const
char
* name);
31
32
const
char
*
CExternalDataFile_getSerializedFile
(CExternalDataFilePtr fileHandle);
33
34
void
CExternalDataFile_setSerializedFile
(
35
CExternalDataFilePtr fileHandle,
36
const
char
* serializedFile
37
);
38
39
void
CExternalDataFile_setFileSource
(
40
CExternalDataFilePtr fileHandle,
41
CExternalDataFileSourcePtr
sourceHandle
42
);
43
44
CExternalDataFileSourcePtr
CExternalDataFile_getFileSource
(CExternalDataFilePtr fileHandle);
45
46
void
CExternalDataFile_setFileSink
(
47
CExternalDataFilePtr fileHandle,
48
CExternalDataFileSinkPtr
sinkHandle
49
);
50
51
CExternalDataFileSinkPtr
CExternalDataFile_getFileSink
(CExternalDataFilePtr fileHandle);
52
53
54
const
char
*
CExternalDataFile_getSerializedKey
(CExternalDataFilePtr fileHandle);
55
56
const
char
*
CExternalDataFile_getFileName
(CExternalDataFilePtr fileHandle);
57
58
#ifdef __cplusplus
59
}
60
#endif
61
62
#endif
63
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.