repo.or.cz
/
ghsmtp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
allow
[ghsmtp.git]
/
SRS.hpp
blob
a02587c4c17cdcc67c139fc9da69b4c947e16fb7
1
#ifndef SRS_DOT_HPP
2
#define SRS_DOT_HPP
3
4
#include <string>
5
6
typedef
struct
_srs_t srs_t
;
7
8
class
SRS
{
9
public
:
10
SRS
();
11
~
SRS
();
12
13
std
::
string
forward
(
char const
*
sender
,
char const
*
alias
)
const
;
14
std
::
string
reverse
(
char const
*
sender
)
const
;
15
16
void
add_secret
(
char const
*
secret
);
17
18
private
:
19
srs_t
*
srs_
;
20
};
21
22
#endif
// SRS_DOT_HPP