X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvconn-stream.h;h=0adac9ada2f274ca72a750a9dc4a3bbf8b7064c5;hb=a8b5f8b423e5d54ba8bb6e68cc5b9dc22215d302;hp=efebdd848fb81b3c6f2df3aac8e9bbf17a1e7b91;hpb=193456d581423f894e57e8463ff5049c0d802f0a;p=openvswitch diff --git a/lib/vconn-stream.h b/lib/vconn-stream.h index efebdd84..0adac9ad 100644 --- a/lib/vconn-stream.h +++ b/lib/vconn-stream.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Nicira Networks. + * Copyright (c) 2008, 2009 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,12 +25,8 @@ struct vconn; struct pvconn; struct sockaddr; -typedef void connect_success_cb_func(struct vconn *, int); - int new_stream_vconn(const char *name, int fd, int connect_status, - uint32_t remote_ip, uint16_t remote_port, - bool reconnectable, connect_success_cb_func *, - struct vconn **vconnp); + bool reconnectable, struct vconn **vconnp); int new_pstream_pvconn(const char *name, int fd, int (*accept_cb)(int fd, const struct sockaddr *, size_t sa_len, struct vconn **),