diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-20 07:19:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-20 07:19:01 +0000 |
commit | 224ccc780a5c0a0a98291acc836b7578b17ca9a7 (patch) | |
tree | 4530b799115894e4ddb10df17a9437b9074b70e4 /tests/server | |
parent | ccde85d1980b3b9162c3b1a6f092d8bfefd03c0e (diff) |
added getpart.h for the spitout() proto
Diffstat (limited to 'tests/server')
-rw-r--r-- | tests/server/Makefile.am | 2 | ||||
-rw-r--r-- | tests/server/getpart.h | 26 |
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); |