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);
hecmw_hash_p_put
int hecmw_hash_p_put(hecmw_hash_p *hash, const char *key, void *value)
Definition: hecmw_hash.c:123
hecmw_hash_p_delete
void hecmw_hash_p_delete(hecmw_hash_p *hash)
Definition: hecmw_hash.c:73
hecmw_hash_p_exist
int hecmw_hash_p_exist(const hecmw_hash_p *hash, const char *key)
Definition: hecmw_hash.c:109
hecmw_hash_p
Definition: hecmw_hash.c:28
hecmw_io_struct.h
hecmw_hash_p_new
hecmw_hash_p * hecmw_hash_p_new(unsigned int capacity)
Definition: hecmw_hash.c:46
hecmw_hash_p_get
void * hecmw_hash_p_get(const hecmw_hash_p *hash, const char *key)
Definition: hecmw_hash.c:94