]> diplodocus.org Git - nmh/blob - h/utils.h
Sigh. I put the documentation about the -tls switch in the long description,
[nmh] / h / utils.h
1
2 /*
3 * utils.h -- utility prototypes
4 */
5
6 void *mh_xmalloc(size_t);
7 void *mh_xrealloc(void *, size_t);
8 char *pwd(void);
9 char *add(char *, char *);
10 int folder_exists(char *);
11 void create_folder(char *, int, void (*)(int));
12 int num_digits(int);
13
14 struct msgs_array {
15 int max, size;
16 char **msgs;
17 };
18
19 void app_msgarg(struct msgs_array *, char *);
20 int open_form(char **, char *);