2015-04-05 20:27:02 +02:00
|
|
|
#ifndef __STRHEAP_H
|
|
|
|
#define __STRHEAP_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2015-04-11 19:00:51 +02:00
|
|
|
#include "strlist.h"
|
2018-03-06 18:28:31 +01:00
|
|
|
#include "mavl.h"
|
2015-04-05 20:27:02 +02:00
|
|
|
|
|
|
|
|
2018-03-06 18:28:31 +01:00
|
|
|
typedef struct mavl * cw_strheap_t;
|
2015-04-05 20:27:02 +02:00
|
|
|
|
2015-04-10 17:14:55 +02:00
|
|
|
|
2015-04-05 20:27:02 +02:00
|
|
|
extern cw_strheap_t cw_strheap_create();
|
2018-03-17 19:32:44 +01:00
|
|
|
extern int cw_strheap_register_strings(cw_strheap_t h, struct cw_StrListElem *s);
|
2015-04-05 20:27:02 +02:00
|
|
|
|
2018-03-02 13:36:03 +01:00
|
|
|
const char * cw_strheap_get(cw_strheap_t h, int id);
|
2015-04-05 20:27:02 +02:00
|
|
|
|
|
|
|
#endif
|