From d0de0b09e0bb671a4c35e76027eb65c861ed188b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 3 Jul 1996 13:18:52 +0000 Subject: Get rid of prc_pathname, hide prc_server structure. svn path=/trunk/; revision=32 --- fetchmail.h | 16 ---------------- rcfile_y.y | 4 ++-- 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 #include -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++; } -- cgit v1.2.3