source: trunk/third/nmh/h/prototypes.h @ 12455

Revision 12455, 4.5 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1
2/*
3 * prototypes.h -- various prototypes
4 *
5 * $Id: prototypes.h,v 1.1.1.1 1999-02-07 18:14:06 danw Exp $
6 */
7
8/*
9 * missing system prototypes
10 */
11#ifndef HAVE_TERMCAP_H
12extern int tgetent (char *bp, char *name);
13extern int tgetnum (char *id);
14extern int tgetflag (char *id);
15extern char *tgetstr (char *id, char **area);
16extern char *tgoto (char *cm, int destcol, int destline);
17extern int tputs (char *cp, int affcnt, int (*outc) (int));
18#endif
19
20/*
21 * prototype from config.h
22 */
23char *etcpath(char *);
24
25/*
26 * prototypes from the nmh subroutine library
27 */
28char *add (char *, char *);
29void adios (char *, char *, ...);
30void admonish (char *, char *, ...);
31void advertise (char *, char *, char *, va_list);
32void advise (char *, char *, ...);
33void ambigsw (char *, struct swit *);
34int atooi(char *);
35char **brkstring (char *, char *, char *);
36int check_charset (char *, int);
37void closefds(int);
38char *concat (char *, ...);
39int context_del (char *);
40char *context_find (char *);
41int context_foil (char *);
42void context_read (void);
43void context_replace (char *, char *);
44void context_save (void);
45char *copy (char *, char *);
46char **copyip (char **, char **, int);
47void cpydata (int, int, char *, char *);
48void cpydgst (int, int, char *, char *);
49int decode_rfc2047 (char *, char *);
50void discard (FILE *);
51void done (int);
52int fdcompare (int, int);
53int folder_addmsg (struct msgs **, char *, int, int, int);
54int folder_delmsgs (struct msgs *, int);
55void folder_free (struct msgs *);
56int folder_pack (struct msgs **, int);
57struct msgs *folder_read (char *);
58struct msgs *folder_realloc (struct msgs *, int, int);
59int gans (char *, struct swit *);
60char **getans (char *, struct swit *);
61int getanswer (char *);
62char **getarguments (char *, int, char **, int);
63char *getcpy (char *);
64char *getfolder(int);
65int lkclose(int, char*);
66int lkfclose(FILE *, char *);
67FILE *lkfopen(char *, char *);
68int lkopen(char *, int, mode_t);
69int m_atoi (char *);
70char *m_backup (char *);
71int m_convert (struct msgs *, char *);
72char *m_draft (char *, char *, int, int *);
73void m_eomsbr (int (*)());
74int m_getfld (int, unsigned char *, unsigned char *, int, FILE *);
75int m_gmprot (void);
76char *m_maildir (char *);
77char *m_mailpath (char *);
78char *m_name (int);
79int m_putenv (char *, char *);
80char *m_scratch (char *, char *);
81char *m_tmpfil (char *);
82void m_unknown(FILE *);
83int makedir (char *);
84char *new_fs (char *, char *, char *);
85char *path(char *, int);
86int peekc(FILE *ib);
87int pidwait (pid_t, int);
88int pidstatus (int, FILE *, char *);
89void print_help (char *, struct swit *, int);
90void print_sw (char *, struct swit *, char *);
91void print_version (char *);
92void push (void);
93char *pwd (void);
94char *r1bindex(char *, int);
95void readconfig (struct node **, FILE *, char *, int);
96int refile (char **, char *);
97int remdir (char *);
98int seq_addmsg (struct msgs *, char *, int, int, int);
99int seq_addsel (struct msgs *, char *, int, int);
100char *seq_bits (struct msgs *);
101int seq_delmsg (struct msgs *, char *, int);
102int seq_delsel (struct msgs *, char *, int, int);
103int seq_getnum (struct msgs *, char *);
104char *seq_list (struct msgs *, char *);
105int seq_nameok (char *);
106void seq_print (struct msgs *, char *);
107void seq_printall (struct msgs *);
108void seq_read (struct msgs *);
109void seq_save (struct msgs *);
110void seq_setcur (struct msgs *, int);
111void seq_setprev (struct msgs *);
112void seq_setunseen (struct msgs *, int);
113int showfile (char **, char *);
114int smatch(char *, struct swit *);
115char *snprintb (char *, size_t, unsigned, char *);
116int ssequal (char *, char *);
117int stringdex (char *, char *);
118char *trimcpy (char *);
119int unputenv (char *);
120int uprf (char *, char *);
121int vfgets (FILE *, char **);
122char *write_charset_8bit (void);
123
124#ifdef RPATHS
125int get_returnpath (char *, int, char *, int);
126#endif
127
128/*
129 * prototypes for compatibility functions in library
130 */
131#ifndef HAVE_SNPRINTF
132int snprintf (char *, size_t, const char *, ...);
133int vsnprintf (char *, size_t, const char *, va_list);
134#endif
135
136#ifndef HAVE_STRERROR
137char *strerror (int);
138#endif
139
140
141/*
142 * some prototypes for address parsing system
143 * (others are in addrsbr.h)
144 */
145char *LocalName(void);
146char *SystemName(void);
147char *OfficialName(char *);
148
149/*
150 * prototypes for some routines in uip
151 */
152int annotate (char *, char *, char *, int, int);
153int distout (char *, char *, char *);
154void replout (FILE *, char *, char *, struct msgs *, int,
155        int, char *, char *, char *);
156int sendsbr (char **, int, char *, struct stat *, int);
157int what_now (char *, int, int, char *, char *,
158        int, struct msgs *, char *, int, char *);
159
Note: See TracBrowser for help on using the repository browser.