Commit f2e592db f2e592dbdef6a8582e92de1220b99c0ab0b5a49a by Sergey Poznyakoff

Added new protos

1 parent cc5a012a
......@@ -137,6 +137,7 @@ struct imap4d_command
#define NS_MAX 3
extern struct imap4d_command imap4d_command_table[];
extern FILE *ifile;
extern FILE *ofile;
extern mailbox_t mbox;
extern char *homedir;
......@@ -212,6 +213,7 @@ extern int util_finish __P ((struct imap4d_command *, int, const char *, ...));
extern int util_getstate __P ((void));
extern int util_do_command __P ((char *));
extern char *imap4d_readline __P ((FILE*));
extern char *imap4d_readline_ex __P ((FILE*));
extern char *util_getword __P ((char *, char **));
extern char *util_getitem __P ((char *, const char *, char **));
extern int util_token __P ((char *, size_t, char **));
......@@ -229,6 +231,12 @@ extern int util_parse_ctime_date __P((const char *date, time_t *timep));
extern char *util_strcasestr __P((const char *haystack, const char *needle));
extern int util_parse_attributes __P((char *items, char **save, int *flags));
int util_base64_encode __P((const unsigned char *input, size_t input_len,
unsigned char **output, size_t *output_len));
int util_base64_decode __P((const unsigned char *input, size_t input_len,
unsigned char **output, size_t *output_len));
char *util_localname __P((void));
#ifdef __cplusplus
}
#endif
......