ermetadb_error.h

Go to the documentation of this file.
00001 #ifndef __ERMETADB_ERROR_H__
00002 #define __ERMETADB_ERROR_H__
00003 
00004 /**
00005  * File Name  : ermetadb_error.h
00006  *
00007  * Description: Error codes for eReader metadata database library
00008  */
00009 
00010 /*
00011  * This file is part of libermetadb.
00012  *
00013  * libermetadb is free software: you can redistribute it and/or modify
00014  * it under the terms of the GNU General Public License as published by
00015  * the Free Software Foundation, either version 2 of the License, or
00016  * (at your option) any later version.
00017  *
00018  * libermetadb is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00021  * GNU General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU General Public License
00024  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00025  */
00026 
00027 /**
00028  * Copyright (C) 2008 iRex Technologies B.V.
00029  * All rights reserved.
00030  */
00031 
00032 
00033 //----------------------------------------------------------------------------
00034 // Include Files
00035 //----------------------------------------------------------------------------
00036 
00037 #include <liberutils/er_error.h>
00038 
00039 
00040 G_BEGIN_DECLS
00041 
00042 //----------------------------------------------------------------------------
00043 // Type Declarations
00044 //----------------------------------------------------------------------------
00045 
00046 /// Specific error codes for ermetadb library
00047 typedef enum
00048 {
00049     ERMETADB_FAIL = ER_FIRST_SPECIFIC_ERROR,
00050     ERMETADB_DATABASE_STRUCTURE,
00051     ERMETADB_DATABASE_BUSY,
00052     ERMETADB_ALREADY_OPEN,
00053     ERMETADB_NOT_OPEN,
00054     ERMETADB_ALREADY_PRESENT,
00055     ERMETADB_DATA_ERROR
00056 } e_ermetadb_errors;
00057 
00058 G_END_DECLS
00059 
00060 #endif // __ERMETADB_ERROR_H__
00061 
Generated by  doxygen 1.6.2-20100208