|
1 | 1 | 9d8
|
2 | 2 | < typedef struct clish_ptype_s clish_ptype_t;
|
3 |
| -15c14 |
| 3 | +11a11 |
| 4 | +> #include "lub/bintree.h" |
| 5 | +15c15 |
4 | 6 | <
|
5 | 7 | ---
|
6 | 8 | > #include "types.h"
|
7 |
| -16a16,18 |
| 9 | +16a17,19 |
8 | 10 | > #include <stdbool.h>
|
9 | 11 | >
|
10 | 12 | > typedef struct clish_ptype_s clish_ptype_t;
|
11 |
| -33a36,37 |
| 13 | +33a37,38 |
12 | 14 | > CLISH_PTYPE_METHOD_REGEXP_SELECT, /* dell-emc */
|
13 | 15 | > CLISH_PTYPE_METHOD_TMZ_SELECT, /* dell-emc */
|
14 |
| -45a50,51 |
| 16 | +45a51,52 |
15 | 17 | > /* for checking the mode attribute */
|
16 | 18 | > CLISH_PTYPE_PRE_MODE,
|
17 |
| -49a56,62 |
| 19 | +49a57,63 |
18 | 20 | > enum help_type_s {
|
19 | 21 | > USE_NAME,
|
20 | 22 | > USE_VALUE,
|
21 | 23 | > USE_RANGE
|
22 | 24 | > };
|
23 | 25 | > typedef enum help_type_s help_type_t;
|
24 | 26 | >
|
25 |
| -57c70,71 |
| 27 | +57c71,72 |
26 | 28 | < clish_ptype_preprocess_e preprocess);
|
27 | 29 | ---
|
28 | 30 | > clish_ptype_preprocess_e preprocess, const char *ext_pattern, const char *ext_help,
|
29 | 31 | > const char *alt_ext_pattern, const char *alt_pattern);
|
30 |
| -68c82 |
| 32 | +68c83 |
31 | 33 | < char *clish_ptype_validate(clish_ptype_t * instance, const char *text);
|
32 | 34 | ---
|
33 | 35 | > char *clish_ptype_validate(clish_ptype_t * instance, const char *text, bool_t isHelp);
|
34 |
| -84c98 |
| 36 | +84c99 |
35 | 37 | < lub_argv_t *matches, const char *text);
|
36 | 38 | ---
|
37 | 39 | > lub_argv_t *matches, const char *text, const char *penultimate_text, bool_t order);
|
38 |
| -95c109,128 |
| 40 | +95c110,133 |
39 | 41 | < const char *pattern, clish_ptype_method_e method);
|
40 | 42 | ---
|
41 | 43 | > const char *pattern, clish_ptype_method_e method, const char *alt_pattern);
|
|
58 | 60 | > extern bool nos_use_alt_name(void);
|
59 | 61 | > char *clish_ptype_method_select__get_name(const clish_ptype_t *instance,unsigned int index);
|
60 | 62 | > int clish_ptype_tmz_select__get_help(clish_help_t *help, const char *pval, bool_t order);
|
| 63 | +> |
| 64 | +> int clish_ptype_bt_compare(const void *clientnode, const void *clientkey); |
| 65 | +> void clish_ptype_bt_getkey(const void *clientnode, lub_bintree_key_t * key); |
| 66 | +> size_t clish_ptype_bt_offset(void); |
0 commit comments