00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00031 #ifndef _MS_INT_H_
00032 #define _MS_INT_H_
00033
00034 #include "modelstorage.h"
00035
00036 #ifdef __cplusplus
00037 extern "C"
00038 {
00039 #endif
00040
00042 MS_STORAGE_TYPE
00043 int model_storage_get_nr(ModelStorage *ms, MSTxn *txn, Statement *mask, Statement **result);
00044 MS_STORAGE_TYPE
00045 int model_storage_get_ex_nr(ModelStorage *ms, MSTxn *txn, Statement *mask, Statement **result, int flags);
00046
00048 MS_STORAGE_TYPE
00049 int model_storage_set_nr(ModelStorage *ms, MSTxn *txn, Statement *stmt);
00050 MS_STORAGE_TYPE
00051 int model_storage_set_ex_nr(ModelStorage *ms, MSTxn *txn, Statement *stmt, int flags);
00052
00053 MS_STORAGE_TYPE
00054 size_t model_storage_fread(void *buffer, size_t size, size_t count, FILE *file);
00055
00056 MS_STORAGE_TYPE
00057 size_t model_storage_fwrite(void *buffer, size_t size, size_t count, FILE *file);
00058
00059
00060 #ifdef __cplusplus
00061 }
00062 #endif
00063
00064
00065 #endif
00066 #ifdef DMALLOC
00067 #include<dmalloc.h>
00068 #endif