FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_hash.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 
6 #include <stdlib.h>
7 #include <string.h>
8 #include <stdio.h>
9 #include "hecmw_io_struct.h"
10 
11 typedef struct hecmw_hash_p hecmw_hash_p;
12 
13 hecmw_hash_p *hecmw_hash_p_new(unsigned int capacity);
14 
16 
17 void *hecmw_hash_p_get(const hecmw_hash_p *hash, const char *key);
18 
19 int hecmw_hash_p_exist(const hecmw_hash_p *hash, const char *key);
20 
21 int hecmw_hash_p_put(hecmw_hash_p *hash, const char *key, void *value);
int hecmw_hash_p_exist(const hecmw_hash_p *hash, const char *key)
Definition: hecmw_hash.c:109
void * hecmw_hash_p_get(const hecmw_hash_p *hash, const char *key)
Definition: hecmw_hash.c:94
hecmw_hash_p * hecmw_hash_p_new(unsigned int capacity)
Definition: hecmw_hash.c:46
int hecmw_hash_p_put(hecmw_hash_p *hash, const char *key, void *value)
Definition: hecmw_hash.c:123
void hecmw_hash_p_delete(hecmw_hash_p *hash)
Definition: hecmw_hash.c:73