File: options.f

package info (click to toggle)
filtermail 1.06.00-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,688 kB
  • sloc: cpp: 2,487; fortran: 249; makefile: 106; ansic: 51; sh: 36
file content (66 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
inline bool Options::cls() const
{
    return d_cls;
}

inline std::string const &Options::expire() const
{
    return d_expire;
}

inline std::string const &Options::ip4() const
{
    return d_ip4;
}

inline bool Options::interactive() const
{
    return d_interactive;
}

inline bool Options::logIgnored(eAction type) const
{
    return d_logIgnored[type];
}


inline std::ostream *Options::logPtr() const
{
    return d_logPtr.get();
}

inline std::ofstream *Options::mailFile(eAction type) const
{
    return d_mailFile[type].get();
}

// static
inline char const *Options::mailType(eAction type)
{
    return s_action[type][1];
}

inline bool Options::preamble() const
{
    return d_preamble;
}

inline std::string const &Options::received() const
{
    return d_received;
}

inline std::ifstream Options::rulesStream()
{
    return std::move(*d_rules.release());
}

inline bool Options::syntax() const
{
    return d_syntax;
}

inline auto Options::beginEndRE(std::string const &target)
{
    return d_arg.beginEndRE(target);
}