diff options
Diffstat (limited to 'src/network.h')
-rw-r--r-- | src/network.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/network.h b/src/network.h index 7cb93aa..68b5381 100644 --- a/src/network.h +++ b/src/network.h @@ -1,8 +1,8 @@ -/* $Id: network.h,v 1.1 2002-05-23 04:41:48 rjkaes Exp $ +/* $Id: network.h,v 1.2 2004-02-18 20:17:18 rjkaes Exp $ * * See 'network.c' for a detailed description. * - * Copyright (C) 2002 Robert James Kaes (rjkaes@flarenet.com) + * Copyright (C) 2002,2004 Robert James Kaes (rjkaes@users.sourceforge.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 the @@ -24,4 +24,7 @@ extern ssize_t safe_read(int fd, char *buffer, size_t count); extern int write_message(int fd, const char *fmt, ...); extern ssize_t readline(int fd, char **whole_buffer); +extern char* get_ip_string(struct sockaddr* sa, char* buf, size_t len); +extern int full_inet_pton(const char* ip, void* dst); + #endif |