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:
+13
-2
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user