Skip to content
Snippets Groups Projects
Commit ea244082 authored by deuce's avatar deuce
Browse files

Match up the function callback so startup->seteuid() can be used without

a wrapper.
parent e7d57549
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ void xpms_destroy(struct xpms_set *xpms_set)
BOOL xpms_add(struct xpms_set *xpms_set, int domain, int type,
int protocol, const char *addr, uint16_t port, const char *prot,
void (*sock_init)(SOCKET, void *), void(*bind_init)(BOOL), void *cbdata)
void (*sock_init)(SOCKET, void *), int(*bind_init)(BOOL), void *cbdata)
{
struct xpms_sockdef *new_socks;
struct addrinfo hints;
......
......@@ -30,7 +30,7 @@ struct xpms_set *xpms_create(unsigned int retries, unsigned int wait_secs,
void xpms_destroy(struct xpms_set *xpms_set);
BOOL xpms_add(struct xpms_set *xpms_set, int domain, int type,
int protocol, const char *addr, uint16_t port, const char *prot,
void (*sock_init)(SOCKET, void *), void(*bind_init)(BOOL), void *cbdata);
void (*sock_init)(SOCKET, void *), int(*bind_init)(BOOL), void *cbdata);
SOCKET xpms_accept(struct xpms_set *, struct sockaddr * addr,
socklen_t * addrlen, unsigned int timeout, void **cb_data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment