mirror of
https://github.com/hufrea/byedpi.git
synced 2025-03-17 06:18:20 +03:00
14 lines
No EOL
292 B
C
14 lines
No EOL
292 B
C
struct elem {
|
|
int m;
|
|
int len;
|
|
char data[];
|
|
};
|
|
struct mphdr {
|
|
int max;
|
|
int inc;
|
|
int count;
|
|
struct elem **values;
|
|
};
|
|
struct mphdr *mem_pool(int count);
|
|
int mem_index(struct mphdr *hdr, char *str, int len);
|
|
struct elem *mem_add(struct mphdr *hdr, char *str, int len); |