source: subversion/applications/utils/export/osm2pgsql/text-tree.h @ 27278

Last change on this file since 27278 was 4424, checked in by jonb, 12 years ago

osm2pgsql: Allow multiple .osm files to be imported simultaneoulsy, e.g. for lots of Tiger county.osm.gz files

File size: 406 bytes
Line 
1#ifndef TEXT_TREE_H
2#define TEXT_TREE_H
3
4#include "rb.h"
5
6struct tree_context {
7    struct rb_table *table;
8};
9
10extern struct tree_context *tree_ctx;
11
12struct text_node {
13    char *str;
14    int ref;
15};
16
17struct tree_context *text_init(void);
18void text_exit(void);
19const char *text_get(struct tree_context *context, const char *text);
20void text_release(struct tree_context *context, const char *text);
21#endif
Note: See TracBrowser for help on using the repository browser.