DS3 C SDK  4.1.0
Provides access to the Spectra S3 API with C
ds3_net.h
Go to the documentation of this file.
1 
2 /*
3  * ******************************************************************************
4  * Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved.
5  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use
6  * this file except in compliance with the License. A copy of the License is located at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * or in the "license" file accompanying this file.
11  * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
12  * CONDITIONS OF ANY KIND, either express or implied. See the License for the
13  * specific language governing permissions and limitations under the License.
14  * ****************************************************************************
15  */
16 
17 /* This Code is Auto-Generated; DO NOT MODIFY! */
18 
19 
20 #ifndef __DS3_NET_H__
21 #define __DS3_NET_H__
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 #include "ds3.h"
28 #include "ds3_string_multimap.h"
29 
30 char* escape_url(const char* url);
31 char* escape_url_extended(const char* url, const char** delimiters, uint32_t num_delimiters);
32 char* escape_url_object_name(const char* url);
33 char* escape_url_range_header(const char* url);
34 
36  const ds3_client* client,
37  const ds3_request* _request,
38  void* read_user_struct,
39  size_t (*read_handler_func)(void*, size_t, size_t, void*),
40  void* write_user_struct,
41  size_t (*write_handler_func)(void*, size_t, size_t, void*),
42  ds3_string_multimap** return_headers);
43 
44 void net_cleanup(void);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 #endif
char * escape_url_extended(const char *url, const char **delimiters, uint32_t num_delimiters)
Definition: ds3_net.c:75
void net_cleanup(void)
Definition: ds3_net.c:591
ds3_error * net_process_request(const ds3_client *client, const ds3_request *_request, void *read_user_struct, size_t(*read_handler_func)(void *, size_t, size_t, void *), void *write_user_struct, size_t(*write_handler_func)(void *, size_t, size_t, void *), ds3_string_multimap **return_headers)
Definition: ds3_net.c:375
char * escape_url_object_name(const char *url)
Definition: ds3_net.c:94
The public definitions for the Spectra S3 C SDK.
char * escape_url(const char *url)
Definition: ds3_net.c:67
char * escape_url_range_header(const char *url)
Definition: ds3_net.c:100