chiark / gitweb /
Fiddle with CSS+HTML in effort to get more consistent buttons
[disorder] / lib / client-common.h
index 0387eb8f8e3008faafa0a7f4daf7cd651eb13337..dc50ee99c97ec52e8bfd10a6a2e55e1fedc46352 100644 (file)
@@ -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
 #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 <sys/types.h>
+#include <sys/socket.h>
+
+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 */