Break passive vconns out into separate pvconn routines and data structures.
[sliver-openvswitch.git] / include / vconn-stream.h
index d7eb59f..a9b1e7b 100644 (file)
 #include <stdint.h>
 
 struct vconn;
+struct pvconn;
 struct sockaddr;
 
 int new_stream_vconn(const char *name, int fd, int connect_status,
                      uint32_t ip, struct vconn **vconnp);
-int new_pstream_vconn(const char *name, int fd,
+int new_pstream_pvconn(const char *name, int fd,
                       int (*accept_cb)(int fd, const struct sockaddr *,
                                        size_t sa_len, struct vconn **),
-                      struct vconn **vconnp);
+                      struct pvconn **pvconnp);
 
 #endif /* vconn-stream.h */