]>
diplodocus.org Git - nmh/blob - h/prototypes.h
0c52e910e049e02818839ea3d736d758bbe2f424
1 /* prototypes.h -- various prototypes
3 * If you modify functions here, please document their current behavior
4 * as much as practical.
8 * prototype from config.h
10 char *etcpath(char *) NONNULL(1);
13 * prototypes from the nmh subroutine library
18 char **getarguments (char *, int, char **, int);
20 m_getfld_state_t
m_getfld_state_init(FILE *iob
);
21 void m_getfld_state_reset (m_getfld_state_t
*);
22 void m_getfld_state_destroy (m_getfld_state_t
*);
23 void m_getfld_track_filepos (m_getfld_state_t
*, FILE *);
24 void m_getfld_track_filepos2(m_getfld_state_t
*);
25 int m_getfld (m_getfld_state_t
*, char[NAMESZ
], char *, int *, FILE *);
26 int m_getfld2(m_getfld_state_t
*, char[NAMESZ
], char *, int *);
27 int m_gmprot (void) PURE
;
30 void m_unknown(m_getfld_state_t
*, FILE *);
31 void m_unknown2(m_getfld_state_t
*);
33 int pidwait (pid_t
, int);
35 void scan_detect_mbox_style (FILE *);
36 void scan_finished(void);
39 * prototypes for some routines in uip
41 int annotate (char *, char *, char *, bool, bool, int, bool);
42 void annolist(char *, char *, char *, int);
43 void annopreserve(int);
44 int mhl(int, char **);
45 int mhlsbr(int, char **, FILE *(*)(char *));
46 int distout (char *, char *, char *);
47 int sendsbr (char **, int, char *, char *, struct stat
*, int, const char *);
48 int what_now (char *, int, int, char *, char *,
49 int, struct msgs
*, char *, int, char *, int);
50 int WhatNow(int, char **) NORETURN
;