diff options
| author | Fuwn <[email protected]> | 2022-05-09 08:53:36 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-05-09 08:53:36 +0000 |
| commit | 56fbf0ae1ef77ae69c7d2484d67bb664a4dee744 (patch) | |
| tree | 14cdccb13cd594b2f18210ce352847e7b85170ad /maple/maple.hh | |
| parent | refactor: explicit auto (diff) | |
| download | archived-maple-56fbf0ae1ef77ae69c7d2484d67bb664a4dee744.tar.xz archived-maple-56fbf0ae1ef77ae69c7d2484d67bb664a4dee744.zip | |
feat: titan support
This commit is huge...
For the most part, this commit just adds Titan support. However, this
commit also refactors the `maple/` directory so that every complex
block lives in it's own namespace.
Diffstat (limited to 'maple/maple.hh')
| -rw-r--r-- | maple/maple.hh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/maple/maple.hh b/maple/maple.hh new file mode 100644 index 0000000..bdf43c3 --- /dev/null +++ b/maple/maple.hh @@ -0,0 +1,13 @@ +#ifndef MAPLE_HH +#define MAPLE_HH + +#include <openssl/ssl.h> + +namespace maple { + static int maple_socket; + static SSL_CTX *ssl_context; + + auto exit_with[[noreturn]](const char *, bool) -> void; +} + +#endif // MAPLE_HH |