DS3 C SDK  4.1.0
Provides access to the Spectra S3 API with C
ds3_string_multimap_impl.h
Go to the documentation of this file.
1 /*
2  * ******************************************************************************
3  * Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved.
4  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5  * this file except in compliance with the License. A copy of the License is located at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * or in the "license" file accompanying this file.
10  * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
11  * CONDITIONS OF ANY KIND, either express or implied. See the License for the
12  * specific language governing permissions and limitations under the License.
13  * ****************************************************************************
14  */
15 
16 
17 #ifndef __DS3_STRING_MULTIMAP_IMPL__
18 #define __DS3_STRING_MULTIMAP_IMPL__
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 #include <glib.h>
25 
27  GHashTable* hash; //key is ds3_str, values are a GPtrArray of ds3_str
28 };
29 
32  GPtrArray* values; // A ds3_str list of the header values
34 
36 
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 #endif
43 
GHashTable * ds3_string_multimap_get_hashtable(const ds3_string_multimap *mp)
ds3_str * key
GPtrArray * values
void ds3_string_multimap_set_hashtable(ds3_string_multimap *mp, GHashTable *ht)
struct _ds3_string_multimap_entry ds3_string_multimap_entry