00001
00002
00007
00008
00009 #include "policy.h"
00010 #include "plugin.h"
00011 #include "packet.h"
00012 #include "types.h"
00013
00014 #ifndef PROTOPLUG_H
00015 #define PROTOPLUG_H
00016
00017 int pluginRegister(INPLUG **, ANPLUG **, PROTOPLUG **, OUTPLUG **,
00018 int(*DecodeCallback)(PACKET*,PROTO));
00019 int pluginInit(int ct, char **inits);
00020 int pluginCleanup(int reason);
00021
00022 int pluginDecode(PACKET *, PROTO protocol);
00023 int pluginTest(PACKET *, char *, char *);
00024 int pluginPrint(PACKET *, char *args,
00025 int(*print)(char *fmt, ...));
00026 int pluginMkTest(PROTO, char*, char*, char *, POLICY_TEST *);
00027
00028 #endif
00029