dbi.h | dbi.h | |||
---|---|---|---|---|
skipping to change at line 22 | skipping to change at line 22 | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A | |||
* | * | |||
* $Id: dbi.h.in,v 1.3 2008/02/06 19:34:27 mhoenicka Exp $ | * $Id: dbi.h.in,v 1.3 2008/02/06 19:34:27 mhoenicka Exp $ | |||
*/ | */ | |||
int main(){return 0;} | ||||
#ifndef __DBI_H__ | #ifndef __DBI_H__ | |||
#define __DBI_H__ | #define __DBI_H__ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <stdarg.h> | #include <stdarg.h> | |||
#include <time.h> | #include <time.h> | |||
skipping to change at line 99 | skipping to change at line 99 | |||
typedef struct { | typedef struct { | |||
dbi_date date; | dbi_date date; | |||
dbi_time time; | dbi_time time; | |||
} dbi_datetime; | } dbi_datetime; | |||
/* function callback definitions */ | /* function callback definitions */ | |||
typedef void (*dbi_conn_error_handler_func)(dbi_conn, void *); | typedef void (*dbi_conn_error_handler_func)(dbi_conn, void *); | |||
/* definitions of the library interface versions */ | /* definitions of the library interface versions */ | |||
#define LIBDBI_LIB_CURRENT 0 | #define LIBDBI_LIB_CURRENT 1 | |||
#define LIBDBI_LIB_REVISION 5 | #define LIBDBI_LIB_REVISION 0 | |||
#define LIBDBI_LIB_AGE 0 | #define LIBDBI_LIB_AGE 0 | |||
/* values for the int in field_types[] */ | /* values for the int in field_types[] */ | |||
#define DBI_TYPE_INTEGER 1 | #define DBI_TYPE_INTEGER 1 | |||
#define DBI_TYPE_DECIMAL 2 | #define DBI_TYPE_DECIMAL 2 | |||
#define DBI_TYPE_STRING 3 | #define DBI_TYPE_STRING 3 | |||
#define DBI_TYPE_BINARY 4 | #define DBI_TYPE_BINARY 4 | |||
#define DBI_TYPE_DATETIME 5 | #define DBI_TYPE_DATETIME 5 | |||
/* values for the bitmask in field_type_attributes[] */ | /* values for the bitmask in field_type_attributes[] */ | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||