refactored handlers.c into a bunch of little individual files in the demo/handler/ directory. Handlers begin with h_, and Send files begin with s_. The Send files are prototyped in client.h.

This commit is contained in:
skarg
2006-01-14 23:48:03 +00:00
parent 3be3fdaeef
commit 0ea1bf30bf
16 changed files with 1028 additions and 27 deletions
+13 -2
View File
@@ -10,7 +10,7 @@ BASEDIR = .
#DEFINES = -DBACFILE=1 -DBACDL_ARCNET=1
#DEFINES = -DBACFILE=1 -DBACDL_MSTP=1
DEFINES = -DBACFILE=1 -DBACDL_BIP=1
INCLUDES = -I. -Iports/linux -Idemo/object
INCLUDES = -I. -Iports/linux -Idemo/object -Idemo/handler
CFLAGS = -Wall -g $(INCLUDES) $(DEFINES)
@@ -20,7 +20,18 @@ SRCS = ports/linux/main.c \
ports/linux/bip-init.c \
bip.c \
dlmstp.c \
handlers.c \
demo/handler/txbuf.c \
demo/handler/noserv.c \
demo/handler/h_whois.c \
demo/handler/h_rp.c \
demo/handler/h_wp.c \
demo/handler/h_iam.c \
demo/handler/h_rp_a.c \
demo/handler/h_arf.c \
demo/handler/h_arf_a.c \
demo/handler/s_rp.c \
demo/handler/s_whois.c \
demo/handler/s_wp.c \
bacdcode.c \
bacapp.c \
bacprop.c \