X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fprototypes.h;h=fad1af4f68b6ddab38eb2a7be1b52696946f1eb3;hp=8575b226d57a2e510789e65ff5bd4470fad84832;hb=HEAD;hpb=5d690daafbcd4ed26d19610fcc017999ee5af892 diff --git a/h/prototypes.h b/h/prototypes.h index 8575b22..182cf1c 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -55,7 +55,6 @@ char **getans(char *, struct swit *); 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*); @@ -66,7 +65,7 @@ int m_atoi(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 m_putenv(char *, char *); @@ -108,12 +107,14 @@ char *snprintb(char *, size_t, unsigned, char *); 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); @@ -163,4 +164,4 @@ int is_readonly(struct msgs *); void set_readonly(struct msgs *); int other_files(struct msgs *); void set_other_files(struct msgs *); - +char *getthreadid(const char *);