File: null-filter.c

package info (click to toggle)
ucspi-proxy 0.95-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 148 kB
  • ctags: 173
  • sloc: ansic: 1,024; makefile: 94; sh: 58
file content (17 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <sys/types.h>
#include "ucspi-proxy.h"

const char* filter_name = "ucspi-proxy";
const char* filter_usage = "";

void filter_init(int argc, char** argv)
{
  if(argc > 0)
    usage("Too many arguments.");
  add_filter(CLIENT_IN, write_server, 0);
  add_filter(SERVER_IN, write_client, 0);
}

void filter_deinit(void)
{
}