aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-host-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-host-utils.h')
-rw-r--r--e-util/e-host-utils.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/e-util/e-host-utils.h b/e-util/e-host-utils.h
index 3153cc7581..543a9d3cc2 100644
--- a/e-util/e-host-utils.h
+++ b/e-util/e-host-utils.h
@@ -17,7 +17,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*
- * Author: Chris Toshok
+ * Authors: Chris Toshok, Jeffrey Stedfast
*/
#ifndef E_HOST_UTILS_H
@@ -31,6 +31,8 @@
*only* use this - it can't even coexist with naked calls to
gethostbyname (even if they exist in libraries.) yes, this loses
in many ways. blame your local OS developer. */
-int e_gethostbyname_r (const char *name, struct hostent *host, char *buf, int buflen, int *herr);
+int e_gethostbyname_r (const char *name, struct hostent *host, char *buf, size_t buflen, int *herr);
+
+int e_gethostbyaddr_r (const char *addr, int len, int type, struct hostent *host, char *buf, size_t buflen, int *herr);
#endif /* E_HOST_UTILS_H */