Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(942)

Unified Diff: net/base/nss_memio.h

Issue 598071: Really connect to the same server in FTP network transaction. (Closed)
Patch Set: updates Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/address_list_unittest.cc ('k') | net/base/nss_memio.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/nss_memio.h
diff --git a/net/base/nss_memio.h b/net/base/nss_memio.h
index 0bee53e59fda92bc427e61b9f754fdc762de741e..a9e6e22cb622c8ea8f470da35139c67a30f2a531 100644
--- a/net/base/nss_memio.h
+++ b/net/base/nss_memio.h
@@ -6,12 +6,16 @@
#ifndef __MEMIO_H
#define __MEMIO_H
+#include <stddef.h>
+
#ifdef __cplusplus
extern "C" {
#endif
#include "prio.h"
+struct sockaddr;
+
/* Opaque structure. Really just a more typesafe alias for PRFilePrivate. */
struct memio_Private;
typedef struct memio_Private memio_Private;
@@ -38,7 +42,8 @@ typedef struct memio_Private memio_Private;
PRFileDesc *memio_CreateIOLayer(int bufsize);
/* Must call before trying to make an ssl connection */
-void memio_SetPeerName(PRFileDesc *fd, const PRNetAddr *peername);
+void memio_SetPeerName(PRFileDesc *fd, const struct sockaddr *peername,
+ size_t peername_len);
/* Return a private pointer needed by the following
* four functions. (We could have passed a PRFileDesc to
« no previous file with comments | « net/base/address_list_unittest.cc ('k') | net/base/nss_memio.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698