[Netadm-devel] gwc/include confio.h,1.1.1.1,1.2 confproc.h,1.7,1.8 confutil.h,1.6,1.7 global.h,1.5,1
Status: Beta
Brought to you by:
linuxpark
From: linuxpark <lin...@us...> - 2006-04-06 15:10:03
|
Update of /cvsroot/netadm/gwc/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8575 Modified Files: confio.h confproc.h confutil.h global.h linklist.h message.h slog.h sysdef.h sysioctl.h sysipc.h sysnio.h sysshm.h syssnmp.h systime.h sysutil.h Log Message: ADD: macro for confilter and modify mail address. Index: syssnmp.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/syssnmp.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** syssnmp.h 30 Jan 2006 17:41:29 -0000 1.1.1.1 --- syssnmp.h 6 Apr 2006 15:09:37 -0000 1.2 *************** *** 2,6 **** Title : syssnmp.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : --- 2,6 ---- Title : syssnmp.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : Index: global.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/global.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** global.h 7 Mar 2006 04:45:09 -0000 1.5 --- global.h 6 Apr 2006 15:09:34 -0000 1.6 *************** *** 2,6 **** Title : global.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : compile time config header --- 2,6 ---- Title : global.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : compile time config header Index: confutil.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/confutil.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** confutil.h 7 Mar 2006 17:04:51 -0000 1.6 --- confutil.h 6 Apr 2006 15:09:34 -0000 1.7 *************** *** 2,6 **** Title : confutil.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : --- 2,6 ---- Title : confutil.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : Index: linklist.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/linklist.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** linklist.h 6 Mar 2006 14:16:05 -0000 1.2 --- linklist.h 6 Apr 2006 15:09:36 -0000 1.3 *************** *** 2,6 **** Title : linklist.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : linklist header, refer example at the end of file --- 2,6 ---- Title : linklist.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : linklist header, refer example at the end of file Index: confio.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/confio.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** confio.h 30 Jan 2006 17:41:29 -0000 1.1.1.1 --- confio.h 6 Apr 2006 15:09:34 -0000 1.2 *************** *** 1,6 **** /* - Title : confio.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : --- 1,5 ---- /* Title : confio.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : Index: sysshm.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/sysshm.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** sysshm.h 6 Mar 2006 04:23:56 -0000 1.8 --- sysshm.h 6 Apr 2006 15:09:37 -0000 1.9 *************** *** 2,6 **** Title : sysshm.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : definitioin for shared memory, shm is used for runtime config --- 2,6 ---- Title : sysshm.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : definitioin for shared memory, shm is used for runtime config Index: message.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/message.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** message.h 8 Mar 2006 15:29:55 -0000 1.7 --- message.h 6 Apr 2006 15:09:36 -0000 1.8 *************** *** 2,6 **** Title : message.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : message definition header --- 2,6 ---- Title : message.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : message definition header Index: sysnio.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/sysnio.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** sysnio.h 30 Jan 2006 17:41:29 -0000 1.1.1.1 --- sysnio.h 6 Apr 2006 15:09:36 -0000 1.2 *************** *** 2,6 **** Title : sysnio.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : --- 2,6 ---- Title : sysnio.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : Index: confproc.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/confproc.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** confproc.h 13 Mar 2006 14:15:05 -0000 1.7 --- confproc.h 6 Apr 2006 15:09:34 -0000 1.8 *************** *** 2,6 **** Title : confproc.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : --- 2,6 ---- Title : confproc.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : Index: slog.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/slog.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** slog.h 30 Jan 2006 17:41:29 -0000 1.1.1.1 --- slog.h 6 Apr 2006 15:09:36 -0000 1.2 *************** *** 2,6 **** Title : slog.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : --- 2,6 ---- Title : slog.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : Index: sysutil.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/sysutil.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** sysutil.h 6 Mar 2006 14:16:05 -0000 1.4 --- sysutil.h 6 Apr 2006 15:09:37 -0000 1.5 *************** *** 2,6 **** Title : sysutil.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : --- 2,6 ---- Title : sysutil.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : *************** *** 49,52 **** --- 49,59 ---- #endif + #ifdef CONFILTER_DEBUG + #define confilter_out(fmt, args...) \ + printf("%s,%s,%d: " fmt, __FILE__, __FUNCTION__, __LINE__, ##args) + #else + #define confilter_out(fmt, args...) {} + #endif + #define alloc_common(a, b, c) do { \ a = (char *)malloc (strlen(csm->community)); \ *************** *** 170,173 **** --- 177,185 ---- void set_power(int idx, int pw_index, int val, frp_t fr); int parse_iprange (const char *ip, unsigned char *parsed, frp_t fr); + /* content filtering routine use this utils loadfile, subString, strindexof */ + char * loadfile (char *fn, int *len); + char *subString(char *buf, int start, int l); + int strindexof (char *p, const char *s); + #endif /* __SYSUTIL_H */ Index: sysipc.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/sysipc.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** sysipc.h 7 Mar 2006 04:45:09 -0000 1.6 --- sysipc.h 6 Apr 2006 15:09:36 -0000 1.7 *************** *** 2,6 **** Title : sysipc.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : local ipc fn header --- 2,6 ---- Title : sysipc.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : local ipc fn header Index: sysioctl.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/sysioctl.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** sysioctl.h 10 Mar 2006 16:52:05 -0000 1.5 --- sysioctl.h 6 Apr 2006 15:09:36 -0000 1.6 *************** *** 2,6 **** Title : sysioctl.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : ioctl for pf --- 2,6 ---- Title : sysioctl.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : ioctl for pf Index: sysdef.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/sysdef.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** sysdef.h 13 Mar 2006 14:15:05 -0000 1.9 --- sysdef.h 6 Apr 2006 15:09:36 -0000 1.10 *************** *** 2,6 **** Title : sysdef.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : header for each object definition --- 2,6 ---- Title : sysdef.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : header for each object definition Index: systime.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/systime.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** systime.h 30 Jan 2006 17:41:29 -0000 1.1.1.1 --- systime.h 6 Apr 2006 15:09:37 -0000 1.2 *************** *** 2,6 **** Title : systime.h ! Author : Jeho-Park <ne...@ke...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : --- 2,6 ---- Title : systime.h ! Author : Jeho-Park <lin...@gm...> Created date : 2006. 01. 31. (thu) 01:39:30 KST Description : |