diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 13:18:52 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 13:18:52 +0000 |
commit | d0de0b09e0bb671a4c35e76027eb65c861ed188b (patch) | |
tree | 649093949300a4ce42bf2a99ea25d865ecd97a06 | |
parent | eb0c61e4812ab19973df9b588f06c9d50a2d038c (diff) | |
download | fetchmail-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.h | 16 | ||||
-rw-r--r-- | 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 */ @@ -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++; } |