diff options
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/interface.h | 5 | ||||
| -rw-r--r-- | includes/misc.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/includes/interface.h b/includes/interface.h index 870e917..2cb64dd 100644 --- a/includes/interface.h +++ b/includes/interface.h @@ -227,8 +227,9 @@ void open_link(char *uri); int report_ui(pixel *vid_buf, char *save_id); char *console_ui(pixel *vid_buf, char error[255]); - -int console_get_type(char *element); +int console_parse_coords(char *txt, int *x, int *y, char *err); +int console_parse_type(char *txt, int *element, char *err); +int console_parse_partref(char *txt, int *which, char *err); #endif diff --git a/includes/misc.h b/includes/misc.h index 7efb3f1..4094b39 100644 --- a/includes/misc.h +++ b/includes/misc.h @@ -59,6 +59,8 @@ void load_presets(void); void save_string(FILE *f, char *str); +int sregexp(const char *str, char *pattern); + int load_string(FILE *f, char *str, int max); void strcaturl(char *dst, char *src); |
