X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/460b9539a7c15580e41a71bbc0f47ae776238915..49e57291d78de2b583d6f2197ae6f9d9ff05e456:/lib/client-common.h?ds=sidebyside diff --git a/lib/client-common.h b/lib/client-common.h index 0387eb8..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 */ @@ -37,4 +36,3 @@ fill-column:79 indent-tabs-mode:nil End: */ -/* arch-tag:S5yQBwyuy9z8e9CFf74pgA */