X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Futils.h;h=6f74c325d036010b6e8a72c24e901ce22d0b20e5;hb=1794d729c1c4b0de8f2e72b5096539c52ee6b74f;hp=60e26e5d3909bacaeda0dfe807e5b0784ac20775;hpb=23f854c962a161cc8ed982b23183600df376e818;p=mmh diff --git a/h/utils.h b/h/utils.h index 60e26e5..6f74c32 100644 --- a/h/utils.h +++ b/h/utils.h @@ -1,10 +1,18 @@ - /* - * utils.h -- utility prototypes - * - * $Id$ - */ +** utils.h -- utility prototypes +*/ void *mh_xmalloc(size_t); void *mh_xrealloc(void *, size_t); +void *mh_xcalloc(size_t, size_t); char *pwd(void); +char *add(char *, char *); +void create_folder(char *, int, void (*)(int)); +int num_digits(int); + +struct msgs_array { + int max, size; + char **msgs; +}; + +void app_msgarg(struct msgs_array *, char *);