DS3 C SDK  4.1.0
Provides access to the Spectra S3 API with C
ds3_string_multimap_impl.c
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 #include <glib.h>
17 #include "ds3_string_multimap.h"
19 
21  const struct _ds3_string_multimap* _mp = mp;
22  return _mp->hash;
23 }
24 
26  if (mp != NULL) {
28  }
29 
30  struct _ds3_string_multimap* _mp = mp;
31  _mp->hash = ht;
32 }
33 
GHashTable * ds3_string_multimap_get_hashtable(const ds3_string_multimap *mp)
void ds3_string_multimap_set_hashtable(ds3_string_multimap *mp, GHashTable *ht)
void ds3_string_multimap_free(ds3_string_multimap *map)