X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftcp-portmon.h;h=26ee428cb77c7b60073e546cefc0b73c8e5987e5;hb=fc1bd4cf0a46eb594789d5a5f72a7f9427e89431;hp=8ef40a91fdec77ef9c34af093d5d3f8a07bbc703;hpb=81c691d15afc0ccffd3da3a480478f0a66bb60f4;p=monky diff --git a/src/tcp-portmon.h b/src/tcp-portmon.h index 8ef40a9..26ee428 100644 --- a/src/tcp-portmon.h +++ b/src/tcp-portmon.h @@ -35,10 +35,14 @@ struct tcp_port_monitor_data { int connection_index; }; -int tcp_portmon_init(const char *, struct tcp_port_monitor_data *); -int tcp_portmon_action(char *, int, struct tcp_port_monitor_data *); +/* forward declare to make gcc happy */ +struct text_object; + +int tcp_portmon_init(struct text_object *, const char *); +int tcp_portmon_action(struct text_object *, char *, int); int tcp_portmon_update(void); int tcp_portmon_clear(void); int tcp_portmon_set_max_connections(int); +void tcp_portmon_free(struct text_object *); #endif /* _TCP_PORTMON_H */