X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib.h;h=457ab923dd38e10a1438f16da656b312a19e2606;hp=01ca97ba849d2263cf64a64c5c5547a22fc68c09;hb=93805d40ca6a40951a5496011ce8b1334a10df69;hpb=ea912b20ba2b3b9dfdbbae758ad56263c9aa41b3 diff --git a/lib.h b/lib.h index 01ca97b..457ab92 100644 --- a/lib.h +++ b/lib.h @@ -29,16 +29,6 @@ # include # endif -# define TRUE 1 -# define FALSE 0 - -# undef MAX -# undef MIN -# define MAX(a,b) ((a) < (b) ? (b) : (a)) -# define MIN(a,b) ((a) < (b) ? (a) : (b)) - -#define FOREVER while (1) - void mutt_exit (int); /* Exit values used in send_msg() */ @@ -47,27 +37,9 @@ void mutt_exit (int); /* The actual library functions. */ -FILE *safe_fopen (const char *, const char *); - -char *mutt_concat_path (char *, const char *, const char *, size_t); -char *mutt_read_line (char *, size_t *, FILE *, int *); - -const char *mutt_basename (const char *); - -int mutt_copy_stream (FILE *, FILE *); -int mutt_copy_bytes (FILE *, FILE *, size_t); int mutt_rx_sanitize_string (char *, size_t, const char *); -int safe_open (const char *, int); -int safe_symlink (const char *, const char *); -int safe_rename (const char *, const char *); -int safe_fclose (FILE **); - -size_t mutt_quote_filename (char *, size_t, const char *); - void mutt_nocurses_error (const char *, ...); -void mutt_sanitize_filename (char *, short); -void mutt_unlink (const char *); const char *mutt_strsysexit(int e);