15 #ifndef _clish_ptype_h
16 #define _clish_ptype_h
18 typedef struct clish_ptype_s clish_ptype_t;
20 #include "lub/types.h"
21 #include "lub/bintree.h"
45 CLISH_PTYPE_UNSIGNEDINTEGER,
81 clish_ptype_bt_compare(
const void *clientnode,
82 const void *clientkey);
84 clish_ptype_bt_getkey(
const void *clientnode,
87 clish_ptype_bt_offset(
void);
91 clish_ptype_method_resolve(
const char *method_name);
95 clish_ptype_preprocess_resolve(
const char *preprocess_name);
97 clish_ptype_new(
const char *name,
106 clish_ptype_delete(clish_ptype_t *instance);
139 clish_ptype_dump(clish_ptype_t *instance);
144 clish_ptype__get_name(
const clish_ptype_t *instance);
146 clish_ptype__get_text(
const clish_ptype_t *instance);
148 clish_ptype__get_range(
const clish_ptype_t *instance);
150 clish_ptype__set_preprocess(clish_ptype_t *instance,
153 clish_ptype__set_pattern(clish_ptype_t *instance,
157 clish_ptype__set_text(clish_ptype_t *instance,
char * clish_ptype_validate(const clish_ptype_t *instance, const char *text)
char * clish_ptype_translate(const clish_ptype_t *instance, const char *text)
Definition: bintree.h:158
clish_ptype_method_e
Definition: ptype.h:35
char * clish_ptype_word_generator(clish_ptype_t *instance, const char *text, unsigned state)
clish_ptype_preprocess_e
Definition: ptype.h:61