X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..04024c2cafab56ea76a9a2b35097584d6db98c06:/lib/client-common.h diff --git a/lib/client-common.h b/lib/client-common.h index 0d88369..271e28f 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,7 @@ #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)); +socklen_t find_server(struct sockaddr **sap, char **namep); #endif /* CLIENT_COMMON_H */