Mercurial > hg > xemacs-beta
comparison lib-src/movemail.c @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 697ef44129c6 |
children |
comparison
equal
deleted
inserted
replaced
423:28d9c139be4c | 424:11054d720c21 |
---|---|
148 static void pfatal_and_delete (char *); | 148 static void pfatal_and_delete (char *); |
149 static char *concat (char *, char *, char *); | 149 static char *concat (char *, char *, char *); |
150 static long *xmalloc (unsigned int); | 150 static long *xmalloc (unsigned int); |
151 #ifdef MAIL_USE_POP | 151 #ifdef MAIL_USE_POP |
152 static int popmail (char *, char *, char *); | 152 static int popmail (char *, char *, char *); |
153 static int pop_retr (popserver server, int msgno, int (*action)(), void *arg); | 153 static int pop_retr (popserver server, int msgno, |
154 int (*action)(char *, FILE *), void *arg); | |
154 static int mbx_write (char *, FILE *); | 155 static int mbx_write (char *, FILE *); |
155 static int mbx_delimit_begin (FILE *); | 156 static int mbx_delimit_begin (FILE *); |
156 static int mbx_delimit_end (FILE *); | 157 static int mbx_delimit_end (FILE *); |
157 static struct re_pattern_buffer* compile_regex (char* regexp_pattern); | 158 static struct re_pattern_buffer* compile_regex (char* regexp_pattern); |
158 static int pop_search_top (popserver server, int msgno, int lines, | 159 static int pop_search_top (popserver server, int msgno, int lines, |
728 | 729 |
729 return (0); | 730 return (0); |
730 } | 731 } |
731 | 732 |
732 static int | 733 static int |
733 pop_retr (popserver server, int msgno, int (*action)(), void *arg) | 734 pop_retr (popserver server, int msgno, int (*action)(char *, FILE *), void *arg) |
734 { | 735 { |
735 char *line; | 736 char *line; |
736 int ret; | 737 int ret; |
737 | 738 |
738 if (pop_retrieve_first (server, msgno, &line)) | 739 if (pop_retrieve_first (server, msgno, &line)) |