blob: 7394c033da53d293e3112f1bc52710bbb3f9b310 [file] [log] [blame]
Zhenkai Zhu974c5a62012-12-28 14:15:30 -08001#ifndef CCNX_COMMON_H
2#define CCNX_COMMON_H
3
4#include <vector>
5#include <boost/shared_ptr.hpp>
6#include <boost/exception/all.hpp>
7#include <boost/function.hpp>
8#include <string>
9#include <sstream>
10#include <map>
11#include <utility>
12
13using namespace std;
14namespace Ccnx {
15typedef vector<unsigned char> Bytes;
16
17void
18readRaw(Bytes &bytes, const unsigned char *src, size_t len);
19
20const unsigned char *
21head(const Bytes &bytes);
22
23} // Ccnx
24#endif // CCNX_COMMON_H