summaryrefslogtreecommitdiffabout
path: root/src/eyetil.h
Unidiff
Diffstat (limited to 'src/eyetil.h') (more/less context) (show whitespace changes)
-rw-r--r--src/eyetil.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eyetil.h b/src/eyetil.h
index eff2c43..03b9ba8 100644
--- a/src/eyetil.h
+++ b/src/eyetil.h
@@ -6,8 +6,13 @@
6#include <archive.h> 6#include <archive.h>
7#include <archive_entry.h> 7#include <archive_entry.h>
8#include "openssl/md5.h" 8#include "openssl/md5.h"
9 9
10struct throwable_exit {
11 int rc;
12 throwable_exit(int rc_) : rc(rc_) { }
13};
14
10class binary_t : public std::vector<unsigned char> { 15class binary_t : public std::vector<unsigned char> {
11 public: 16 public:
12 binary_t() { } 17 binary_t() { }
13 binary_t(size_type n) : std::vector<unsigned char>(n) { } 18 binary_t(size_type n) : std::vector<unsigned char>(n) { }