projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added device.c for NetBSD, actually a copy of the OpenBSD one.
[tinc]
/
src
/
netutl.h
diff --git
a/src/netutl.h
b/src/netutl.h
index
e542792
..
3d1584f
100644
(file)
--- a/
src/netutl.h
+++ b/
src/netutl.h
@@
-1,6
+1,7
@@
/*
netutl.h -- header file for netutl.c
/*
netutl.h -- header file for netutl.c
- Copyright (C) 1998,1999,2000 Ivo Timmermans <zarq@iname.com>
+ Copyright (C) 1998-2002 Ivo Timmermans <zarq@iname.com>
+ 2000-2002 Guus Sliepen <guus@sliepen.warande.net>
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
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,18
+17,16
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
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.
5 2000/11/09 21:33:18 zarq
Exp $
+ $Id: netutl.h,v 1.2.4.
9 2002/02/11 10:16:18 guus
Exp $
*/
#ifndef __TINC_NETUTL_H__
#define __TINC_NETUTL_H__
#include "net.h"
*/
#ifndef __TINC_NETUTL_H__
#define __TINC_NETUTL_H__
#include "net.h"
-#include "conf.h"
-extern void destroy_queue(packet_queue_t *);
extern char *hostlookup(unsigned long);
extern char *hostlookup(unsigned long);
-extern ip
_mask_t *strtoip
(char*);
-extern
void destroy_queue(packet_queue_t *
);
+extern ip
v4_t str2address
(char*);
+extern
char *address2str(ipv4_t
);
#endif /* __TINC_NETUTL_H__ */
#endif /* __TINC_NETUTL_H__ */