X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnetutl.h;h=3d1584f6537de5b365f47af95193c12f8b3d25e2;hp=932814faf922657e321f98b9803abaec45acc21b;hb=2fb8a62edef7cb0988e44f92c3948cde6f34875e;hpb=7648bc606596851942dd6437ddaa93f53ab20f09 diff --git a/src/netutl.h b/src/netutl.h index 932814fa..3d1584f6 100644 --- a/src/netutl.h +++ b/src/netutl.h @@ -1,6 +1,7 @@ /* netutl.h -- header file for netutl.c - Copyright (C) 1998,1999,2000 Ivo Timmermans + Copyright (C) 1998-2002 Ivo Timmermans + 2000-2002 Guus Sliepen 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 @@ -16,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: netutl.h,v 1.2.4.1 2000/06/25 15:22:16 guus Exp $ + $Id: netutl.h,v 1.2.4.9 2002/02/11 10:16:18 guus Exp $ */ #ifndef __TINC_NETUTL_H__ @@ -24,14 +25,8 @@ #include "net.h" -extern conn_list_t *lookup_conn(ip_t); -extern void free_conn_element(conn_list_t *); -extern void free_conn_list(conn_list_t*); -extern void prune_conn_list(void); -extern conn_list_t *new_conn_list(void); -extern void destroy_conn_list(void); extern char *hostlookup(unsigned long); -extern ip_mask_t *strtoip(char*); -extern void dump_conn_list(void); +extern ipv4_t str2address(char*); +extern char *address2str(ipv4_t); #endif /* __TINC_NETUTL_H__ */