]> diplodocus.org Git - nmh/blob - h/prototypes.h
3cec8aea15447f93222b64f4bd3e54bc820f395e
[nmh] / h / prototypes.h
1 /* prototypes.h -- various prototypes
2 *
3 * If you modify functions here, please document their current behavior
4 * as much as practical.
5 */
6
7 /*
8 * prototype from config.h
9 */
10 char *etcpath(char *) NONNULL(1);
11
12 /*
13 * prototypes from the nmh subroutine library
14 */
15
16 struct msgs_array;
17
18 char *m_name (int);
19
20 int pidwait (pid_t, int);
21
22 void scan_detect_mbox_style (FILE *);
23 void scan_finished(void);
24
25 /*
26 * prototypes for some routines in uip
27 */
28 int annotate (char *, char *, char *, bool, bool, int, bool);
29 void annolist(char *, char *, char *, int);
30 void annopreserve(int);
31 int mhl(int, char **);
32 int mhlsbr(int, char **, FILE *(*)(char *));
33 int distout (char *, char *, char *);
34 int sendsbr (char **, int, char *, char *, struct stat *, int, const char *);
35 int what_now (char *, int, int, char *, char *,
36 int, struct msgs *, char *, int, char *, int);
37 int WhatNow(int, char **) NORETURN;