diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-26 18:48:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-26 18:48:59 +0000 |
commit | fa7d6b32530d3d8c2d7e542a15319c74c22061b6 (patch) | |
tree | 8f4c7615c89f646a66fc709b698ef81becdf1ad1 /src/include/gnunet_network_lib.h | |
parent | d79a03493ba5d0581e828724a402a2054429e7be (diff) | |
download | gnunet-fa7d6b32530d3d8c2d7e542a15319c74c22061b6.tar.gz gnunet-fa7d6b32530d3d8c2d7e542a15319c74c22061b6.zip |
moving from abstract unix domain socket paths to normal unix domain socket paths (#2887), removing now unnecessary/dead flags argument to GNUNET_NETWORK_socket_bind
Diffstat (limited to 'src/include/gnunet_network_lib.h')
-rw-r--r-- | src/include/gnunet_network_lib.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h index e2ebd450e..55d0a3d7b 100644 --- a/src/include/gnunet_network_lib.h +++ b/src/include/gnunet_network_lib.h | |||
@@ -132,25 +132,17 @@ GNUNET_NETWORK_socket_set_blocking (struct GNUNET_NETWORK_Handle *fd, | |||
132 | 132 | ||
133 | 133 | ||
134 | /** | 134 | /** |
135 | * Fail to bind if an address is already in use. | ||
136 | */ | ||
137 | #define GNUNET_BIND_EXCLUSIVE 0x01 | ||
138 | |||
139 | |||
140 | /** | ||
141 | * Bind a socket to a particular address. | 135 | * Bind a socket to a particular address. |
142 | * | 136 | * |
143 | * @param desc socket to bind | 137 | * @param desc socket to bind |
144 | * @param address address to be bound | 138 | * @param address address to be bound |
145 | * @param address_len length of address | 139 | * @param address_len length of address |
146 | * @param flags flags affecting bind behaviour | ||
147 | * @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise | 140 | * @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise |
148 | */ | 141 | */ |
149 | int | 142 | int |
150 | GNUNET_NETWORK_socket_bind (struct GNUNET_NETWORK_Handle *desc, | 143 | GNUNET_NETWORK_socket_bind (struct GNUNET_NETWORK_Handle *desc, |
151 | const struct sockaddr *address, | 144 | const struct sockaddr *address, |
152 | socklen_t address_len, | 145 | socklen_t address_len); |
153 | int flags); | ||
154 | 146 | ||
155 | /** | 147 | /** |
156 | * Close a socket. | 148 | * Close a socket. |