some changes

This commit is contained in:
/jdi/ 2015-09-30 00:01:23 +02:00
parent 5544792bfb
commit aca82979c3
13 changed files with 102 additions and 79 deletions

View file

@ -10,6 +10,7 @@
#include <functional>
#include <vector>
#include <array>
#include <map>
template<typename T>
@ -28,6 +29,8 @@ std::vector<T> &operator+=(std::vector<T> &A, const std::vector<T> &B) {
return A;
}
template<size_t N>
using byteArray = std::array<unsigned char, N>;
typedef std::vector<unsigned char> bytes;
typedef unsigned char byte;
@ -47,6 +50,8 @@ struct Options {
std::string user;
std::string password;
std::string interface;
std::string file;
long timeout;
};
#endif /* TYPES_H_ */