added getpart.h for the spitout() proto

This commit is contained in:
Daniel Stenberg 2004-02-20 07:19:01 +00:00
parent ccde85d198
commit 224ccc780a
2 changed files with 27 additions and 1 deletions

View 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

26
tests/server/getpart.h Normal file
View File

@ -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);