int getanswer(char *);
char **getarguments(char *, int, char **, int);
char *get_charset();
-char *getcpy(char *);
char *getcurfol(void);
char *getdeffol(void);
int lkclose(int, char*);
char *m_backup(char *);
int m_convert(struct msgs *, char *);
char *m_draft(char *);
-int m_getfld(int, unsigned char *, unsigned char *, int, FILE *);
enum state m_getfld2(enum state, struct field *, FILE *);
int m_gmprot(void);
char *m_name(int);
int stringdex(char *, char *);
char *toabsdir(char *);
char *trim(unsigned char *);
+char *rtrim(char *);
char *trimcpy(unsigned char *);
int unputenv(char *);
void unquote_string(const char *input, char *output);
int uprf(char *, char *);
int vfgets(FILE *, char **);
char *write_charset_8bit(void);
+void fold(charstring_t, size_t, const char *restrict);
void set_readonly(struct msgs *);
int other_files(struct msgs *);
void set_other_files(struct msgs *);
-
+char *getthreadid(const char *);