home *** CD-ROM | disk | FTP | other *** search
- /*
- trigger.h
-
- Trigger interface.
-
- Copyright (c) 2000 Dug Song <dugsong@monkey.org>
-
- $Id: trigger.h,v 1.2 2000/05/18 20:20:04 dugsong Exp $
- */
-
- #ifndef TRIGGER_H
- #define TRIGGER_H
-
- #define TRIGGER_TCP_RAW_TIMEOUT 30
-
- void trigger_init(char *services);
- void trigger_dump(void);
-
- int trigger_set_ip(int proto, char *name);
- int trigger_set_udp(int port, char *name);
- int trigger_set_tcp(int port, char *name);
- int trigger_set_rpc(int program, char *name);
-
- void trigger_ip(struct ip *ip);
- void trigger_udp(struct ip *ip);
- void trigger_tcp(struct tcp_stream *ts, void **conn_save);
- void trigger_tcp_raw(struct ip *ip);
- void trigger_tcp_raw_timeout(int signal);
- void trigger_rpc(int program, int proto, int port);
-
- #endif /* TRIGGER_H */
-
-