gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r23476 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r23476 - gnunet/src/transport
Date: Tue, 28 Aug 2012 16:51:20 +0200

Author: wachs
Date: 2012-08-28 16:51:20 +0200 (Tue, 28 Aug 2012)
New Revision: 23476

Modified:
   gnunet/src/transport/plugin_transport_http_common.h
Log:
changes


Modified: gnunet/src/transport/plugin_transport_http_common.h
===================================================================
--- gnunet/src/transport/plugin_transport_http_common.h 2012-08-28 14:51:06 UTC 
(rev 23475)
+++ gnunet/src/transport/plugin_transport_http_common.h 2012-08-28 14:51:20 UTC 
(rev 23476)
@@ -122,6 +122,21 @@
                                  socklen_t addrlen);
 
 /**
+ * Create a socketaddr from a HTTP address
+ *
+ * @param protocol protocol
+ * @param addr sockaddr * address
+ * @param addrlen length of the address
+ * @param res the result:
+ * GNUNET_SYSERR, invalid input,
+ * GNUNET_YES: could convert to ip,
+ * GNUNET_NO: valid input but could not convert to ip (hostname?)
+ * @return the string
+ */
+struct sockaddr *
+http_common_socket_from_address (const void *addr, size_t addrlen, int *res);
+
+/**
  * Get the length of an address
  *
  * @param addr address




reply via email to

[Prev in Thread] Current Thread [Next in Thread]