Commit d11a3877 authored by Michal Vaner's avatar Michal Vaner
Browse files

sockcreator uses the send_fd from isc::util::io

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 88d4219b
......@@ -23,6 +23,8 @@
#define __SOCKCREATOR_H 1
#include <util/io/fd_share.h>
#include <sys/types.h>
#include <sys/socket.h>
......@@ -53,16 +55,6 @@ typedef
(*get_sock_t)(const int, struct sockaddr *, const socklen_t);
* Sends a payload socket file descriptor to destination file descriptor.
* This is temporary and it will be stolen somewhere in the surrounding code,
* since it is there already somewhere.
* TODO Actually steal it.
send_fd(const int destination, const int payload);
* Type of the send_fd() function, so it can be passed as a parameter.
......@@ -100,7 +92,7 @@ int
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);
const send_fd_t send_fd_fun = isc::util::io::send_fd);
} // End of the namespaces
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment