search for: dbhandler

Displaying 5 results from an estimated 5 matches for "dbhandler".

2004 Jun 23
0
UPDATE Patch for postgres enabled app_voicemail.c
...append_mailbox(char *, char *, char *); + #ifndef USESQLVM static inline int sql_init(void) { return 0; } static inline void sql_close(void) { } + static void sql_append_mailboxes(void); #endif #include <pthread.h> *************** *** 237,250 **** #ifdef USEPOSTGRESVM ! PGconn *dbhandler; char dboption[256]; ast_mutex_t postgreslock; static int sql_init(void) { ast_verbose( VERBOSE_PREFIX_3 "Logging into postgres database: %s\n", dboption); ! /* fprintf(stderr,"Logging into postgres database: %s\n", dboption); */ dbhandler=PQconnectdb(dboption);...
2004 Jun 23
0
Patch for postgres enabled app_voicemail.c
...append_mailbox(char *, char *, char *); + #ifndef USESQLVM static inline int sql_init(void) { return 0; } static inline void sql_close(void) { } + static void sql_append_mailboxes(void); #endif #include <pthread.h> *************** *** 237,250 **** #ifdef USEPOSTGRESVM ! PGconn *dbhandler; char dboption[256]; ast_mutex_t postgreslock; static int sql_init(void) { ast_verbose( VERBOSE_PREFIX_3 "Logging into postgres database: %s\n", dboption); ! /* fprintf(stderr,"Logging into postgres database: %s\n", dboption); */ dbhandler=PQconnectdb(dboption);...
2004 Aug 23
1
Problem with mysql and with asterisk
...-DUSEMYSQLVM -c -o app_voicemail.o app_voicemail.c app_voicemail.c:45:25: mysql/mysql.h: No such file or directory In file included from app_voicemail.c:372: mysql-vm-routines.h:7: parse error before '*' token mysql-vm-routines.h:7: warning: type defaults to `int' in declaration of `dbhandler' mysql-vm-routines.h:7: warning: data definition has no type or storage class mysql-vm-routines.h: In function `mysql_login': mysql-vm-routines.h:18: warning: implicit declaration of function `mysql_init' mysql-vm-routines.h:18: warning: assignment makes pointer from integer without a...
2004 Apr 12
1
Voicemail config from database
...how I can fix this? Am I missing packages somewhere? app_voicemail.c:44:25: mysql/mysql.h: No such file or directory In file included from app_voicemail.c:247: mysql-vm-routines.h:7: parse error before '*' token mysql-vm-routines.h:7: warning: type defaults to `int' in declaration of `dbhandler' mysql-vm-routines.h:7: warning: data definition has no type or storage class mysql-vm-routines.h: In function `mysql_login': mysql-vm-routines.h:18: warning: implicit declaration of function `mysql_init' mysql-vm-routines.h:18: warning: assignment makes pointer from integer without a c...
2004 Apr 12
0
RE: Asterisk-Users digest, Vol 1 #3408 - 12 msgs
...how I can fix this? Am I missing packages somewhere? app_voicemail.c:44:25: mysql/mysql.h: No such file or directory In file included from app_voicemail.c:247: mysql-vm-routines.h:7: parse error before '*' token mysql-vm-routines.h:7: warning: type defaults to `int' in declaration of `dbhandler' mysql-vm-routines.h:7: warning: data definition has no type or storage class mysql-vm-routines.h: In function `mysql_login': mysql-vm-routines.h:18: warning: implicit declaration of function `mysql_init' mysql-vm-routines.h:18: warning: assignment makes pointer from integer without a c...