From: Robert W. <wrw...@us...> - 2007-08-13 23:07:35
|
Update of /cvsroot/linuxisns/isnsNT/isnsserver/include In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv26510/isnsserver/include Modified Files: iSNSdebug.h iSNSdefs.h iSNStypes.h Log Message: add attribute copy checking Index: iSNStypes.h =================================================================== RCS file: /cvsroot/linuxisns/isnsNT/isnsserver/include/iSNStypes.h,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** iSNStypes.h 31 May 2007 21:16:36 -0000 1.15 --- iSNStypes.h 13 Aug 2007 22:56:44 -0000 1.16 *************** *** 559,563 **** SOIP_DB_Portal portal_ip_port; uint32_t portal_idx; ! } PORTAL_LIST_ENTRY; typedef struct soip_portal_group { --- 559,563 ---- SOIP_DB_Portal portal_ip_port; uint32_t portal_idx; ! } PORTAL_LIST_ENTRY, SOIP_Portal_List_Key; typedef struct soip_portal_group { *************** *** 669,672 **** --- 669,673 ---- SOIP_Portal_Key portal; SOIP_DD_Member_Key ddmember; + SOIP_Portal_List_Key portalmember; } key; } SOIP_DB_List; Index: iSNSdefs.h =================================================================== RCS file: /cvsroot/linuxisns/isnsNT/isnsserver/include/iSNSdefs.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** iSNSdefs.h 31 May 2007 21:16:36 -0000 1.9 --- iSNSdefs.h 13 Aug 2007 22:56:44 -0000 1.10 *************** *** 180,183 **** --- 180,184 ---- ISNS_DELIMITER=0, ISNS_START_VALID_TAG=1, + ISNS_ENTITY_ID=ISNS_START_VALID_TAG, /* 1 */ ISNS_ENTITY_TYPE, *************** *** 186,191 **** ISNS_PROT_VER, ISNS_ENTITY_PERIOD, /* REGISTRATION PERIOD */ ! ISNS_ENTITY_SCN_BITMAP, ! ISNS_ENTITY_IDX=14, ISNS_ENTITY_CERT, --- 187,193 ---- ISNS_PROT_VER, ISNS_ENTITY_PERIOD, /* REGISTRATION PERIOD */ ! ISNS_ENTITY_IDX, ! ISNS_ENTITY_NEXT_IDX, ! ISNS_ENTITY_ISAKMP=11, ISNS_ENTITY_CERT, Index: iSNSdebug.h =================================================================== RCS file: /cvsroot/linuxisns/isnsNT/isnsserver/include/iSNSdebug.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** iSNSdebug.h 7 Aug 2007 14:41:47 -0000 1.3 --- iSNSdebug.h 13 Aug 2007 22:56:44 -0000 1.4 *************** *** 140,142 **** --- 140,146 ---- void isns_log(int level, char *format, ...); + #define __ISNS_COPY(a,b,c,d) if (b<d) __LOG_WARNING("dst:%i < src:%i",b,d); isns_copy(a,b,c,d) + + int isns_copy (void *dst, int dst_size, void *src, int src_size); + #endif |