yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
agt_curl.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2017 - 2021, YumaWorks, Inc., All Rights Reserved.
3 *
4 * Unless required by applicable law or agreed to in writing,
5 * software distributed under the License is distributed on an
6 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
7 * KIND, either express or implied. See the License for the
8 * specific language governing permissions and limitations
9 * under the License.
10 */
11#ifndef _H_agt_curl
12#define _H_agt_curl
13
14/* FILE: agt_curl.h
15*********************************************************************
16* *
17* P U R P O S E *
18* *
19*********************************************************************/
20
27/*********************************************************************
28* *
29* C H A N G E H I S T O R Y *
30* *
31*********************************************************************
32
33date init comment
34----------------------------------------------------------------------
3522-dec-17 abb Begun
36
37*/
38
39#ifndef _H_status_enum
40#include "status_enum.h"
41#endif
42
43#ifdef __cplusplus
44extern "C" {
45#endif
46
47/********************************************************************
48* *
49* C O N S T A N T S *
50* *
51*********************************************************************/
52
53
54/********************************************************************
55* *
56* T Y P E S *
57* *
58*********************************************************************/
59
60
61/********************************************************************
62* *
63* F U N C T I O N S *
64* *
65*********************************************************************/
66
83extern void agt_curl_init (void);
84
85
91extern void agt_curl_cleanup (void);
92
93
102extern status_t
103 agt_curl_get (const xmlChar *urlspec,
104 const xmlChar *savespec);
105
106
115extern status_t
116 agt_curl_put (const xmlChar *urlspec,
117 const xmlChar *srcspec);
118
119
123#ifdef __cplusplus
124} /* end extern 'C' */
125#endif
126
127#endif /* _H_agt_curl */
void agt_curl_init(void)
Iniitial the libcurl API.
status_t agt_curl_get(const xmlChar *urlspec, const xmlChar *savespec)
GET some file via libcurl.
void agt_curl_cleanup(void)
Cleanup the libcurl API.
status_t agt_curl_put(const xmlChar *urlspec, const xmlChar *srcspec)
PUT some file via libcurl.
status_t
global error return code
Definition: status_enum.h:210
global error status code enumerations