[ekg2-commit] r4207 - trunk/ekg: +trunk/ekg/net.h
SVN commit
svn w toxygen.net
Czw, 7 Sie 2008, 11:53:39 CEST
Author: peres
Date: 2008-08-07 11:53:38 +0200 (Thu, 07 Aug 2008)
New Revision: 4207
Added:
trunk/ekg/net.h
Log:
FAIL.
Added: trunk/ekg/net.h
===================================================================
--- trunk/ekg/net.h (rev 0)
+++ trunk/ekg/net.h 2008-08-07 09:53:38 UTC (rev 4207)
@@ -0,0 +1,46 @@
+/* $Id: $ */
+
+/*
+ * (C) Copyright XXX
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License Version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef __EKG_NET_H
+#define __EKG_NET_H
+#ifndef EKG2_WIN32_NOFUNCTION
+
+#include "plugins.h"
+
+#ifndef INADDR_NONE
+# define INADDR_NONE (unsigned long) 0xffffffff
+#endif
+
+watch_t *ekg_resolver2(plugin_t *plugin, const char *server, watcher_handler_func_t async, void *data);
+watch_t *ekg_resolver3(plugin_t *plugin, const char *server, watcher_handler_func_t async, void *data);
+
+watch_t *ekg_connect(session_t *session, const char *server, int (*prefer_comparison)(void *, void *),
+ watcher_handler_func_t async, void *data);
+
+#endif /* EKG2_WIN32_NOFUNCTION */
+#endif /* __EKG_NET_H */
+
+/*
+ * Local Variables:
+ * mode: c
+ * c-file-style: "k&r"
+ * c-basic-offset: 8
+ * indent-tabs-mode: t
+ * End:
+ */
Więcej informacji o liście dyskusyjnej ekg2-commit