aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-07-03 13:18:52 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-07-03 13:18:52 +0000
commitd0de0b09e0bb671a4c35e76027eb65c861ed188b (patch)
tree649093949300a4ce42bf2a99ea25d865ecd97a06
parenteb0c61e4812ab19973df9b588f06c9d50a2d038c (diff)
downloadfetchmail-d0de0b09e0bb671a4c35e76027eb65c861ed188b.tar.gz
fetchmail-d0de0b09e0bb671a4c35e76027eb65c861ed188b.tar.bz2
fetchmail-d0de0b09e0bb671a4c35e76027eb65c861ed188b.zip
Get rid of prc_pathname, hide prc_server structure.
svn path=/trunk/; revision=32
-rw-r--r--fetchmail.h16
-rw-r--r--rcfile_y.y4
2 files changed, 2 insertions, 18 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 7f70e9a4..bb71903e 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -65,22 +65,6 @@ struct optrec {
struct optrec *next;
};
-
-/* .poprc records are passed in this structure type */
-struct prc_server {
- char *server;
- int protocol;
- char *remotename;
- char *password;
- char *remotefolder;
- char *userfolder;
- char *mda;
- int keep;
- int flush;
- int fetchall;
-};
-
-
/* controls the detail level of status/progress messages written to stderr */
extern int outlevel; /* see the O_.* constants above */
extern int yydebug; /* enable parse debugging */
diff --git a/rcfile_y.y b/rcfile_y.y
index ab883419..8f93c350 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -15,7 +15,7 @@
#include <config.h>
#include <stdio.h>
-extern char *prc_pathname;
+extern char *poprcfile;
extern int prc_lineno;
extern int prc_errflag;
extern char *yytext;
@@ -83,6 +83,6 @@ proto: PROTO_POP2
yyerror (s)
char *s;
{
- fprintf(stderr,"%s line %d: %s at %s\n", prc_pathname, prc_lineno, s, yytext);
+ fprintf(stderr,"%s line %d: %s at %s\n", poprcfile, prc_lineno, s, yytext);
prc_errflag++;
}