imap fixes

This commit is contained in:
SJ
2014-07-22 16:00:03 +02:00
parent 850445a324
commit 537641afd9
7 changed files with 67 additions and 51 deletions

View File

@@ -21,7 +21,7 @@ long tvdiff(struct timeval a, struct timeval b);
int searchStringInBuffer(char *s, int len1, char *what, int len2);
int countCharacterInBuffer(char *p, char c);
void replaceCharacterInBuffer(char *p, char from, char to);
char *split(char *row, int ch, char *s, int size);
char *split(char *str, int ch, char *buf, int buflen, int *result);
char *split_str(char *row, char *what, char *s, int size);
int trimBuffer(char *s);
int extractEmail(char *rawmail, char *email);