X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.h;h=0cb2767c72181e4d98222fbf6c8d6f54f312071e;hp=d73ffccb5e8e38cf3d2d4f06db455764e180a0ea;hb=d04dd06c4553ae3e1a6ead0e427f0f03836d0cd0;hpb=35bbbf736c75f13c2bf9f6d6bdc2feecd42072cb diff --git a/net.h b/net.h index d73ffccb..0cb2767c 100644 --- a/net.h +++ b/net.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2007 Andre Noll + * Copyright (C) 2006-2008 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -29,6 +29,7 @@ */ extern int makesock(unsigned l3type, unsigned l4type, int passive, const char *host, unsigned short port_number); +extern struct in_addr extract_v4_addr(const struct sockaddr_storage *ss); /** * Functions to support listening sockets.