summaryrefslogtreecommitdiff
path: root/src/net_query.h
diff options
context:
space:
mode:
authorSimon Howard2006-04-06 20:48:35 +0000
committerSimon Howard2006-04-06 20:48:35 +0000
commitd5f0ddc20b192cf1f17b27347dd467cddf493a6d (patch)
treee4551401130657d9df1b714b28dc6b67a1e2c475 /src/net_query.h
parent7355700d83fbab08c96fa8181b5aa3938464197e (diff)
downloadchocolate-doom-d5f0ddc20b192cf1f17b27347dd467cddf493a6d.tar.gz
chocolate-doom-d5f0ddc20b192cf1f17b27347dd467cddf493a6d.tar.bz2
chocolate-doom-d5f0ddc20b192cf1f17b27347dd467cddf493a6d.zip
Add the ability to query the current state of servers, and '-query'
command line option to do so. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 464
Diffstat (limited to 'src/net_query.h')
-rw-r--r--src/net_query.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/net_query.h b/src/net_query.h
new file mode 100644
index 00000000..f2b6cbc0
--- /dev/null
+++ b/src/net_query.h
@@ -0,0 +1,33 @@
+// Emacs style mode select -*- C++ -*-
+//-----------------------------------------------------------------------------
+//
+// $Id: net_client.c 462 2006-04-06 19:31:45Z fraggle $
+//
+// Copyright(C) 2005 Simon Howard
+//
+// 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 the Free Software Foundation; either version 2
+// of the License, or (at your option) any later version.
+//
+// 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., 59 Temple Place - Suite 330, Boston, MA
+// 02111-1307, USA.
+//
+// DESCRIPTION:
+// Querying servers to find their current status.
+//
+
+#ifndef NET_QUERY_H
+#define NET_QUERY_H
+
+extern void NET_QueryAddress(char *addr);
+
+#endif /* #ifndef NET_QUERY_H */
+