#include <stdio.h>
#include <ctype.h>
#include <string.h>

#define BUFFERLEN 1024
#define VARLEN 60
#define VALLEN 160

class Parser
{
public:
    char *nntpserver;
    char *user;
    char *passwd;
    char *regex;
    char spamsenders[4096];   // Should be enough
    char spamsubjects[4096];  // for everybody...

    Parser();
    Parser( char *cfn );
private:
    void notrspaces(char *src);
    void parsefile();
    char *cfgfilename;
};


syntax highlighted by Code2HTML, v. 0.9.1