Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

msint.h

Go to the documentation of this file.
00001 /**********************************************************************
00002  *
00003  * Verball Model Storage Library, Common Information Model Library 
00004  * for integration of Intelligent Services.
00005  * Copyright (C) 2005 Nikita Vinokurov, Orgway LLC.
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; 
00010  * version 2.1 of the License.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, 
00020  * Boston, MA  02110-1301  USA
00021  *
00022  * $Id: msint.h,v 1.16 2006/12/10 10:21:26 yagel Exp $
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/* __cplusplus */
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/* __cplusplus */
00063 
00064 
00065 #endif
00066 #ifdef DMALLOC
00067 #include<dmalloc.h>
00068 #endif

Generated on Wed Dec 27 16:52:17 2006 for VRB Online Server by  doxygen 1.4.4