X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol.h;h=6e71f810e5b82f5573d2b7f79b3178acee435332;hp=db1c96c19a8c28e5c5671688c4f4dd6399295352;hb=1401faf608e1c8af0d0754e545b0ec79d2bd5d93;hpb=6f9f6779e6bd1dd7bb795b42dad550863a386ca8 diff --git a/src/protocol.h b/src/protocol.h index db1c96c1..6e71f810 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -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: protocol.h,v 1.5.4.36 2002/09/09 22:32:55 guus Exp $ + $Id: protocol.h,v 1.5.4.38 2003/07/06 23:16:28 guus Exp $ */ #ifndef __TINC_PROTOCOL_H__ @@ -60,7 +60,7 @@ typedef struct past_request_t { /* Basic functions */ -extern int send_request(connection_t *, const char *, ...); +extern int send_request(connection_t *, const char *, ...) __attribute__ ((format(printf, 2, 3))); extern int forward_request(connection_t *); extern int receive_request(connection_t *); extern int check_id(char *); @@ -93,8 +93,6 @@ extern int send_tcppacket(connection_t *, vpn_packet_t *); /* Request handlers */ -extern int (*request_handlers[])(connection_t *); - extern int id_h(connection_t *); extern int metakey_h(connection_t *); extern int challenge_h(connection_t *);