2012-04-10 11:32:06 -04:00
|
|
|
#ifndef HEADER_CURL_SERVER_GETPART_H
|
|
|
|
#define HEADER_CURL_SERVER_GETPART_H
|
2004-02-20 02:19:01 -05:00
|
|
|
/***************************************************************************
|
2004-11-29 07:10:09 -05:00
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
2004-02-20 02:19:01 -05:00
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2020-03-23 09:44:29 -04:00
|
|
|
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2004-02-20 02:19:01 -05:00
|
|
|
*
|
|
|
|
* This software is licensed as described in the file COPYING, which
|
|
|
|
* you should have received as part of this distribution. The terms
|
2020-11-04 08:02:01 -05:00
|
|
|
* are also available at https://curl.se/docs/copyright.html.
|
2004-11-29 07:10:09 -05:00
|
|
|
*
|
2004-02-20 02:19:01 -05:00
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
***************************************************************************/
|
2012-04-10 11:32:06 -04:00
|
|
|
#include "server_setup.h"
|
2010-02-14 08:14:17 -05:00
|
|
|
|
|
|
|
#define GPE_NO_BUFFER_SPACE -2
|
|
|
|
#define GPE_OUT_OF_MEMORY -1
|
|
|
|
#define GPE_OK 0
|
|
|
|
#define GPE_END_OF_FILE 1
|
|
|
|
|
|
|
|
int getpart(char **outbuf, size_t *outlen,
|
|
|
|
const char *main, const char *sub, FILE *stream);
|
|
|
|
|
2012-04-10 11:32:06 -04:00
|
|
|
#endif /* HEADER_CURL_SERVER_GETPART_H */
|