File: headers.h

package info (click to toggle)
gpg-remailer 3.04.07-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 728 kB
  • sloc: cpp: 1,522; sh: 179; makefile: 115; ansic: 23; fortran: 20
file content (27 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (3)
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
#ifndef INCLUDED_HEADERS_
#define INCLUDED_HEADERS_

#include <string>

#include <bobcat/mailheaders>

class Headers: public FBB::MailHeaders
{
    std::string d_xHeaders;

    public:
        Headers();

        const_hdr_iterator mailHeader(char const *hdr);
        std::string getHeader(char const *hdr);
        std::string const &xHeaders() const;
        void fillXheaders();
};
        
inline std::string const &Headers::xHeaders() const
{
    return d_xHeaders;
}

#endif