aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/Makefile.am2
-rw-r--r--tests/server/getpart.h26
2 files changed, 27 insertions, 1 deletions
diff --git a/tests/server/Makefile.am b/tests/server/Makefile.am
index 60886e210..66b786a1b 100644
--- a/tests/server/Makefile.am
+++ b/tests/server/Makefile.am
@@ -9,6 +9,6 @@ INCLUDES = -I$(top_srcdir)/lib
noinst_PROGRAMS = sws
-sws_SOURCES= sws.c getpart.c
+sws_SOURCES= sws.c getpart.c getpart.h
extra_DIST = config.h.in
diff --git a/tests/server/getpart.h b/tests/server/getpart.h
new file mode 100644
index 000000000..b23001b89
--- /dev/null
+++ b/tests/server/getpart.h
@@ -0,0 +1,26 @@
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ * $Id$
+ ***************************************************************************/
+const char *
+spitout(FILE *stream,
+ const char *main,
+ const char *sub, int *size);