summaryrefslogtreecommitdiffstats
path: root/src/bin/sockcreator/sockcreator.h
diff options
context:
space:
mode:
authorMichal Vaner <michal.vaner@nic.cz>2010-10-05 16:56:15 +0200
committerMichal Vaner <michal.vaner@nic.cz>2010-10-05 16:56:15 +0200
commit7dab055fe9854655b43338485ec8a960dea94080 (patch)
tree5b33512de483166187c7a038cbaea9b56c1ae26d /src/bin/sockcreator/sockcreator.h
parentInternal interface of socket creator (diff)
downloadkea-7dab055fe9854655b43338485ec8a960dea94080.tar.xz
kea-7dab055fe9854655b43338485ec8a960dea94080.zip
Dummy implementation of the socket creator
Only empty functions, so it compiles at last. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-sockcreator@3121 e5f2f494-b856-4b98-b285-d166d9295462
Diffstat (limited to 'src/bin/sockcreator/sockcreator.h')
-rw-r--r--src/bin/sockcreator/sockcreator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/sockcreator/sockcreator.h b/src/bin/sockcreator/sockcreator.h
index c98a858b5a..c97fe17c0a 100644
--- a/src/bin/sockcreator/sockcreator.h
+++ b/src/bin/sockcreator/sockcreator.h
@@ -41,17 +41,17 @@ namespace socket_creator {
* errno is set (or better, left intact from socket() or bind()).
* \param type The type of socket to create (SOCK_STREAM, SOCK_DGRAM, etc).
* \param bind_addr The address to bind.
- * \param addrlen The actual length of bind_addr.
+ * \param addr_len The actual length of bind_addr.
*/
int
-get_sock(const int type, struct sockaddr *bind_addr, const socklen_t addrlen);
+get_sock(const int type, struct sockaddr *bind_addr, const socklen_t addr_len);
/**
* Type of the get_sock function, to pass it as parameter.
*/
typedef
int
-(*get_sock_t)(const int, struct sockaddr, const socklen_t);
+(*get_sock_t)(const int, struct sockaddr *, const socklen_t);
/**
* Sends a payload socket file descriptor to destination file descriptor.
@@ -96,7 +96,7 @@ run(const int input_fd, const int output_fd,
const get_sock_t get_sock_fun = get_sock,
const send_fd_t send_fd_fun = send_fd);
-}
+} // End of the namespaces
}
#endif // __SOCKCREATOR_H