Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef DBA_CORE_FILE_H
00023 #define DBA_CORE_FILE_H
00024
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028
00041 #include <dballe/core/rawmsg.h>
00042
00043 struct _dba_file;
00047 typedef struct _dba_file* dba_file;
00048
00067 dba_err dba_file_create(dba_encoding type, const char* name, const char* mode, dba_file* file);
00068
00075 void dba_file_delete(dba_file file);
00076
00085 dba_encoding dba_file_type(dba_file file);
00086
00095 const char* dba_file_name(dba_file file);
00096
00109 dba_err dba_file_read(dba_file file, dba_rawmsg msg, int* found);
00110
00121 dba_err dba_file_write(dba_file file, dba_rawmsg msg);
00122
00123 #ifdef __cplusplus
00124 }
00125 #endif
00126
00127
00128 #endif