summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaforge <laforge>2005-11-04 13:50:49 +0000
committerlaforge <laforge>2005-11-04 13:50:49 +0000
commit6df80ee1ee2514b96a2813d3165601a080a64f49 (patch)
tree13e20174b51bc47fbd56e2e86f505b628153c5c0
parentd28e2bf3222ef4c58bebebd9c118818bfccedb8c (diff)
cleanup unused structs / members
-rw-r--r--include/ulogd/ulogd.h13
1 files 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
***********************************************************************/