char **getans (char *, struct swit *);
int getanswer (char *);
char **getarguments (char *, int, char **, int);
-char *get_charset();
+char *get_charset(void);
char *getcpy (char *);
char *getfolder(int);
int lkclose(int, char*);
int annotate (char *, char *, char *, int, int, int, int);
void annolist(char *, char *, char *, int);
void annopreserve(int);
+void clear_screen(void);
+void m_pclose(void);
+int make_intermediates(char *);
+int mhl(int, char **);
+int mhlsbr(int, char **, FILE *(*)(char *));
int distout (char *, char *, char *);
void replout (FILE *, char *, char *, struct msgs *, int,
int, char *, char *, char *);
+void set_endian(void);
+int sc_hardcopy(void);
+int sc_length(void);
+int sc_width(void);
int build_form (char *, char *, int *, char *, char *, char *, char *,
char *, char *);
int sendsbr (char **, int, char *, struct stat *, int, char *, int);
+int SOprintf (char *, ...);
int what_now (char *, int, int, char *, char *,
int, struct msgs *, char *, int, char *);
-
+int WhatNow(int, char **);
+int writeBase64aux(FILE *, FILE *);
static int dat[5];
/*
- * prototypes
- */
-int sc_width (void); /* from termsbr.c */
-
-/*
* static prototypes
*/
static int process (char *, int, int);
static int dat[5];
/*
- * prototypes
- */
-int sc_width (void); /* from termsbr.c */
-
-/*
* static prototypes
*/
static int process (char *, int);
/* mhlistsbr.c */
int list_all_messages (CT *, int, int, int, int);
-/* mhmisc.c */
-void set_endian (void);
-
/* mhfree.c */
void free_content (CT);
/* mhmisc.c */
-int make_intermediates (char *);
void content_error (char *, CT, char *, ...);
/* mhcachesbr.c */
char *cache_private;
-/* mhparse.c (OR) mhbuildsbr.c */
-int pidcheck (int);
-
/* mhmisc.c */
int part_ok (CT, int);
int type_ok (CT, int);
-int make_intermediates (char *);
void content_error (char *, CT, char *, ...);
void flush_errors (void);
#include <h/mh.h>
-/* prototype from mhlsbr.c */
-int mhl (int, char **);
-
int
main (int argc, char **argv)
/* mhmisc.c */
int part_ok (CT, int);
int type_ok (CT, int);
-void set_endian (void);
void flush_errors (void);
/* mhlistsbr.c */
static void m_popen (char *);
static void filterbody (struct mcomp *, char *, int, int, FILE *);
-int mhl (int, char **);
-int mhlsbr (int, char **, FILE *(*)());
-void m_pclose (void);
-
-void clear_screen (void); /* from termsbr.c */
-int SOprintf (char *, ...); /* from termsbr.c */
-int sc_width (void); /* from termsbr.c */
-int sc_length (void); /* from termsbr.c */
-int sc_hardcopy (void); /* from termsbr.c */
-
int
mhl (int argc, char **argv)
*/
int part_ok (CT, int);
int type_ok (CT, int);
-void set_endian (void);
-int make_intermediates (char *);
void content_error (char *, CT, char *, ...);
void flush_errors (void);
/* mhmisc.c */
int part_ok (CT, int);
int type_ok (CT, int);
-void set_endian (void);
void flush_errors (void);
/* mhshowsbr.c */
*/
int output_message (CT, char *);
int output_message_fp (CT, FILE *, char *);
-int writeBase64aux (FILE *, FILE *);
/*
* static prototypes
};
-/* ftpsbr.c */
-int ftp_get (char *, char *, char *, char *, char *, char *, int, int);
-
/* mhcachesbr.c */
int find_cache (CT, int, int *, char *, char *, int);
/* mhmisc.c */
int part_ok (CT, int);
int type_ok (CT, int);
-int make_intermediates (char *);
void content_error (char *, CT, char *, ...);
/* mhfree.c */
/* mhmisc.c */
int part_ok (CT, int);
int type_ok (CT, int);
-void set_endian (void);
void flush_errors (void);
/* mhshowsbr.c */
static sigjmp_buf intrenv;
-/* termsbr.c */
-int SOprintf (char *, ...);
-
-/* mhparse.c */
-int pidcheck (int);
-
/* mhmisc.c */
int part_ok (CT, int);
int type_ok (CT, int);
/* mhmisc.c */
int part_ok (CT, int);
int type_ok (CT, int);
-void set_endian (void);
void flush_errors (void);
/* mhstoresbr.c */
/* mhmisc.c */
int part_ok (CT, int);
int type_ok (CT, int);
-int make_intermediates (char *);
void flush_errors (void);
/* mhshowsbr.c */
/* mhmisc.c */
int part_ok (CT, int);
int type_ok (CT, int);
-void set_endian (void);
void flush_errors (void);
/* mhfree.c */
/*
* prototypes
*/
-int SOprintf (char *, ...); /* from termsbr.c */
-int sc_width (void); /* from termsbr.c */
void fsetup (char *);
void setup (char *);
FILE *msh_ready (int, int);
typedef int (*qsort_comp) (const void *, const void *);
/*
- * prototypes
- */
-void clear_screen (void); /* from termsbr.c */
-int SOprintf (char *, ...); /* from termsbr.c */
-int sc_width (void); /* from termsbr.c */
-
-/*
* static prototypes
*/
static int burst (struct Msg *, int, int, int, int);
static void copy_message (int, FILE *);
static void copy_digest (int, FILE *);
-/* from mhlsbr.c */
-int mhlsbr (int, char **, FILE *(*)());
-
void
forkcmd (char **args, char *pgm)
{
/*
* prototypes
*/
-int sc_width (void); /* from termsbr.c */
static int mh_fputs(char *, FILE *);
#ifdef MULTIBYTE_SUPPORT
*/
static int is_nontext(char *);
-/* prototype from mhlsbr.c */
-int mhl (int, char **);
-
#define SHOW 0
#define NEXT 1
#define PREV 2
int ebcdicsw = 0; /* hack for linking purposes */
-/* mhmisc.c */
-void set_endian (void);
-
-/* mhoutsbr.c */
-int writeBase64aux (FILE *, FILE *);
-
/*
* static prototypes
*/
#include <h/mh.h>
-/* from whatnowsbr.c */
-int WhatNow (int, char **);
-
int
main (int argc, char **argv)
* it will call this routine directly without exec'ing it.
*/
-/* from whatnowsbr.c */
-int WhatNow (int, char **);
-
int
what_now (char *ed, int nedit, int use, char *file, char *altmsg, int dist,