DB backend started
This commit is contained in:
parent
c468ea0a62
commit
abb1fdd846
@ -3,7 +3,7 @@
|
||||
* (C)2005, Dan Ponte
|
||||
* BSDL w/ advert.
|
||||
*/
|
||||
/* $Amigan: phoned/include/phoned.h,v 1.14 2005/06/18 03:10:45 dcp1990 Exp $ */
|
||||
/* $Amigan: phoned/include/phoned.h,v 1.15 2005/06/18 20:13:05 dcp1990 Exp $ */
|
||||
#include <pcre.h> /* fugly, I know... */
|
||||
#define VERSION "0.1"
|
||||
#define LOGFILE "/var/log/phoned.log"
|
||||
@ -162,6 +162,7 @@ void *modem_io(void *k);
|
||||
void give_me_modem(char* str);
|
||||
char *parse_command(const char *cmd, short *cont, state_info_t *s);
|
||||
void begin_dialogue(FILE* fp, int fd);
|
||||
short db_init(char* dbfilename);
|
||||
/* old stuff...
|
||||
void modem_pickup(void);
|
||||
void modem_hangup(void);
|
||||
|
@ -1,15 +1,16 @@
|
||||
# cnd Makefile
|
||||
# (C)2005, Dan Ponte
|
||||
# $Amigan: phoned/phoned/Makefile,v 1.11 2005/06/18 03:10:55 dcp1990 Exp $
|
||||
# $Amigan: phoned/phoned/Makefile,v 1.12 2005/06/18 20:13:06 dcp1990 Exp $
|
||||
include ../global.mk
|
||||
# basic stuff. we append for a reason.
|
||||
CPPFLAGS+=-I../include -DDEBUG -DYY_NO_UNPUT
|
||||
CFLAGS+=-g -Wall -W -ansi ${CPPFLAGS} -pthread
|
||||
LDFLAGS+=-lutil -lpcre
|
||||
LDFLAGS+=-lutil -lpcre -lsqlite3
|
||||
# keep these up to date.
|
||||
MAINBIN=phoned
|
||||
SRCS=main.c init.c log.c cfg.c socket.c y.tab.c lex.yy.c signals.c cid.c modem.c notify.c filters.c remote.c
|
||||
OBJS=main.o init.o log.o cfg.o socket.o y.tab.o lex.yy.o signals.o cid.o modem.o notify.o filters.o remote.o modems/libmodems.a
|
||||
SRCS=main.c init.c log.c cfg.c socket.c y.tab.c lex.yy.c signals.c cid.c modem.c notify.c filters.c remote.c db.c
|
||||
OBJS=main.o init.o log.o cfg.o socket.o y.tab.o lex.yy.o signals.o cid.o modem.o notify.o filters.o remote.o db.o \
|
||||
modems/libmodems.a
|
||||
OHDRS=y.tab.h
|
||||
CLEANFILES=y.tab.c y.tab.h lex.yy.c
|
||||
LEX=lex
|
||||
|
Loading…
Reference in New Issue
Block a user