Skip to content

Commit

Permalink
Not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Feb 1, 2020
1 parent 6dc209b commit a827903
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
12 changes: 0 additions & 12 deletions src/lib/server/connection.c
Expand Up @@ -1230,18 +1230,6 @@ int fr_connection_signal_on_fd(fr_connection_t *conn, int fd)
return 0;
}

/** Set the handle associated with a connection
*
* Will not free the previous handle. This must be done manually.
*
* @param[in] conn to set fd for.
* @param[in] handle to set.
*/
void fr_connection_set_handle(fr_connection_t *conn, void *handle)
{
conn->pub.h = handle;
}

/** Close a connection if it's freed
*
* @param[in] conn to free.
Expand Down
6 changes: 0 additions & 6 deletions src/lib/server/connection.h
Expand Up @@ -230,12 +230,6 @@ void fr_connection_signal_halt(fr_connection_t *conn);
int fr_connection_signal_on_fd(fr_connection_t *conn, int fd);
/** @} */

/** @name Modify the connection handle
* @{
*/
void fr_connection_set_handle(fr_connection_t *conn, void *handle);
/** @} */

/** @name Allocate a new connection
* @{
*/
Expand Down

0 comments on commit a827903

Please sign in to comment.