1254219Scy#include "ipf.h" 2254219Scy#include "ipmon.h" 3254219Scy 4254219Scystatic void *nothing_parse __P((char **)); 5254219Scystatic void nothing_destroy __P((void *)); 6254219Scystatic int nothing_send __P((void *, ipmon_msg_t *)); 7254219Scy 8254219Scytypedef struct nothing_opts_s { 9254219Scy FILE *fp; 10254219Scy int raw; 11254219Scy char *path; 12254219Scy} nothing_opts_t; 13254219Scy 14254219Scyipmon_saver_t nothingsaver = { 15254219Scy "nothing", 16254219Scy nothing_destroy, 17254219Scy NULL, /* dup */ 18254219Scy NULL, /* match */ 19254219Scy nothing_parse, 20254219Scy NULL, /* print */ 21254219Scy nothing_send 22254219Scy}; 23254219Scy 24254219Scy 25254219Scystatic void * 26254219Scynothing_parse(char **strings) 27254219Scy{ 28254219Scy void *ctx; 29254219Scy 30255332Scy#if 0 31254219Scy strings = strings; /* gcc -Wextra */ 32255332Scy#endif 33254219Scy 34254219Scy ctx = calloc(1, sizeof(void *)); 35254219Scy 36254219Scy return ctx; 37254219Scy} 38254219Scy 39254219Scy 40254219Scystatic void 41254219Scynothing_destroy(ctx) 42254219Scy void *ctx; 43254219Scy{ 44254219Scy free(ctx); 45254219Scy} 46254219Scy 47254219Scy 48254219Scystatic int 49254219Scynothing_send(ctx, msg) 50254219Scy void *ctx; 51254219Scy ipmon_msg_t *msg; 52254219Scy{ 53255332Scy#if 0 54254219Scy ctx = ctx; /* gcc -Wextra */ 55254219Scy msg = msg; /* gcc -Wextra */ 56255332Scy#endif 57254219Scy /* 58254219Scy * Do nothing 59254219Scy */ 60254219Scy return 0; 61254219Scy} 62254219Scy 63