mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-19 05:22:58 +03:00
17 lines
367 B
C
17 lines
367 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <ctype.h>
|
|
|
|
typedef struct cptr
|
|
{
|
|
char chr;
|
|
struct cptr *leaf,*next;
|
|
} cptr;
|
|
|
|
void CharTreeDestroy(cptr *p);
|
|
bool CharTreeAddStr(cptr **pp,const char *s);
|
|
bool CharTreeAddStrLower(cptr **pp,const char *s);
|
|
bool CharTreeCheckStr(cptr *p,const char *s);
|
|
bool CharTreeCheckStrLower(cptr *pp,const char *s);
|