Statistics
| Branch: | Tag: | Revision:

sssimulator / Matrix / string_indexer.h @ master

History | View | Annotate | Download (563 Bytes)

1 692b6c80 luca
/*
2
 * This is SSSim: the Simple & Stupid Simulator
3
 *
4
 *  Copyright (c) 2015 Luca Baldesi
5
 *
6
 *  This is free software; see gpl-3.0.txt
7
 */
8
9
#ifndef __STRING_INDEXER_H__
10
#define __STRING_INDEXER_H__ 1
11
12
#include <stdint.h>
13
14
struct string_indexer * string_indexer_new(const uint32_t size);
15
16
void string_indexer_destroy(struct string_indexer ** si);
17
18
uint32_t string_indexer_id(struct string_indexer * si,const char* s);
19
20
uint8_t string_indexer_check(const struct string_indexer * si,const char* s);
21
22
uint32_t string_indexer_size(struct string_indexer *si);
23
24
#endif