]> granicus.if.org Git - curl/commitdiff
added getpart.h for the spitout() proto
authorDaniel Stenberg <daniel@haxx.se>
Fri, 20 Feb 2004 07:19:01 +0000 (07:19 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 20 Feb 2004 07:19:01 +0000 (07:19 +0000)
tests/server/Makefile.am
tests/server/getpart.h [new file with mode: 0644]

index 60886e210eb242343dcc4029a4b61bc7c0e21568..66b786a1bb995d127d580c30c60e578339cef53f 100644 (file)
@@ -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 (file)
index 0000000..b23001b
--- /dev/null
@@ -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);