X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..2eee4b0cd743865445a5023e8c10467cdc9b350e:/lib/client-common.h diff --git a/lib/client-common.h b/lib/client-common.h index 0d88369..dc50ee9 100644 --- a/lib/client-common.h +++ b/lib/client-common.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder - * Copyright (C) 2004, 2005, 2006 Richard Kettlewell + * Copyright (C) 2004-2007 Richard Kettlewell * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,11 +21,10 @@ #ifndef CLIENT_COMMON_H #define CLIENT_COMMON_H -int with_sockaddr(void *c, - int (*function)(void *c, - const struct sockaddr *sa, - socklen_t len, - const char *ident)); +#include +#include + +socklen_t find_server(struct sockaddr **sap, char **namep); #endif /* CLIENT_COMMON_H */