From 6df80ee1ee2514b96a2813d3165601a080a64f49 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 4 Nov 2005 13:50:49 +0000 Subject: cleanup unused structs / members --- include/ulogd/ulogd.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/include/ulogd/ulogd.h b/include/ulogd/ulogd.h index 6abc593..e864e8e 100644 --- a/include/ulogd/ulogd.h +++ b/include/ulogd/ulogd.h @@ -60,7 +60,7 @@ /* maximum length of ulogd key */ -#define ULOGD_MAX_KEYLEN 32 +#define ULOGD_MAX_KEYLEN 31 #define ULOGD_DEBUG 1 /* debugging information */ #define ULOGD_INFO 3 @@ -80,8 +80,6 @@ enum ulogd_dtype { /* structure describing an input / output parameter of a plugin */ struct ulogd_key { - /* next interpreter return (key) in the global list */ - struct ulogd_key *next; /* length of the returned value (only for lengthed types */ u_int32_t len; /* type of the returned value (ULOGD_DTYPE_...) */ @@ -89,7 +87,7 @@ struct ulogd_key { /* flags (i.e. free, ...) */ u_int16_t flags; /* name of this key */ - char name[ULOGD_MAX_KEYLEN]; + char name[ULOGD_MAX_KEYLEN+1]; /* IETF IPFIX attribute ID */ struct { u_int32_t vendor; @@ -193,13 +191,6 @@ struct ulogd_pluginstance_stack { char *name; }; -/* entries of the key hash */ -struct ulogd_keyh_entry { - struct ulogd_plugin *interp; /* interpreter for this key */ - unsigned int offset; /* offset within interpreter */ - const char *name; /* name of this particular key */ -}; - /*********************************************************************** * PUBLIC INTERFACE ***********************************************************************/ -- cgit v1.2.3