X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fmeta.h;h=f67caf4001b248827a79b50067cbfce00b34e362;hb=075e6828a7533e7daa790225f17aa6bb39703278;hp=ff4d7044a4c9a29828ecd6f239e3e05dfbfdfa43;hpb=462ab530e546f5732dfd51134751da6f6910d679;p=meshlink diff --git a/src/meta.h b/src/meta.h index ff4d7044..f67caf40 100644 --- a/src/meta.h +++ b/src/meta.h @@ -1,7 +1,7 @@ /* meta.h -- header for meta.c - Copyright (C) 2000-2002 Guus Sliepen , - 2000-2002 Ivo Timmermans + Copyright (C) 2000-2006 Guus Sliepen , + 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: meta.h,v 1.2 2002/04/09 15:26:00 zarq Exp $ + $Id$ */ #ifndef __TINC_META_H__ @@ -25,8 +25,9 @@ #include "connection.h" -extern int send_meta(connection_t *, const char *, int); -extern int broadcast_meta(connection_t *, const char *, int); -extern int receive_meta(connection_t *); +extern bool send_meta(struct connection_t *, const char *, int); +extern void broadcast_meta(struct connection_t *, const char *, int); +extern void flush_meta(int fd, short events, void *data); +extern bool receive_meta(struct connection_t *); -#endif /* __TINC_META_H__ */ +#endif /* __TINC_META_H__ */