hlswmaster/include/plugin.h

22 lines
355 B
C
Raw Normal View History

2006-02-02 16:24:06 +01:00
#ifndef _PLUGIN_H
#define _PLUGIN_H
#include "netpkt.h"
#include "configfile.h"
2006-02-02 16:24:06 +01:00
#include "list.h"
struct hlswmaster_plugin {
struct list_head list;
char name[32];
void *dlref;
int (*init)(struct conf_section *config);
2006-02-02 16:24:06 +01:00
int (*fini)(void);
int (*scan)(void);
int (*parse)(struct net_pkt *pkt);
int (*gc)(int timeout);
};
#endif /* _PLUGIN_H */