search for: dbproc

Displaying 1 result from an estimated 1 matches for "dbproc".

2003 Jul 11
4
module : cdr_sybase.so
...include <unistd.h> #include <time.h> #include <sybfront.h> #include <sybdb.h> #define DATE_FORMAT "%Y-%m-%d %T" static char *desc = "Sybase CDR Backend"; static char *name = "sybase"; static char *config = "cdr_sybase.conf"; static DBPROCESS *dbproc; static LOGINREC *login; static struct tm _date(struct timeval tv) { struct tm tm; time_t t; t = tv.tv_sec; localtime_r(&t,&tm); return tm; } static int sybase_log(struct ast_cdr *cdr) { struct tm tm, end, start, answer; struct time...