"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "qftp-0.98/conf.h" of archive qftp-0.98.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 /*
2 * qftp
3 * Copyright (C) 1997,1998 Peter Strand
4 * Distributed under the GNU Pulic Licence
5 */
6
7 #ifndef _CONF_H_
8 #define _CONF_H_
9
10 #include <vector.h>
11
12 struct config {
13 char bg; // b
14 char proc; // z
15 char force; // f
16 char cont; // c
17 char longl; // l
18 char anon; // a
19 char retry;
20 char retrsl; // y
21 char user[256]; // u
22 char noinf; // n
23 char rec; // e
24 char quiet; // q
25 char size; // s
26 char time; // t
27 char rev; // r
28 char mod; // m
29 };
30
31
32 class Conf {
33 vector<char *> arg, opt;
34 char *argptr;
35 unsigned int argi;
36 public:
37 struct config opts;
38 Conf();
39 Conf(Conf &cf);
40 Conf(Conf &cf, int argc, char *argv[], char *valid);
41 void Parse(Conf &cf, int argc, char *argv[], char *valid);
42 int Args();
43 void set(char c, char *p = NULL);
44 void print();
45 void setdef();
46 struct config *Get();
47 void Reset();
48 char *GetNext();
49
50 };
51
52 #endif