summaryrefslogtreecommitdiff
path: root/proto_lib/packet.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-12 20:36:08 +0200
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-12 20:36:08 +0200
commit1d41574c6e8e7bbf3705645feb429df6281ccb83 (patch)
treed0bf256321aef49dd386a9c459104c2fb019ca64 /proto_lib/packet.h
parentc98a83a1591b1bcb58b3ed29bdbfb1446948f466 (diff)
working on service support
Diffstat (limited to 'proto_lib/packet.h')
-rw-r--r--proto_lib/packet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto_lib/packet.h b/proto_lib/packet.h
index 58422cc..b431840 100644
--- a/proto_lib/packet.h
+++ b/proto_lib/packet.h
@@ -17,6 +17,8 @@
#ifndef PACKET_H
#define PACKET_H
+namespace proto
+{
const unsigned char proto_header [] = { 0x06, 0x06, 0x06, 0x13};
const unsigned char proto_footer [] = { 0x13, 0x06, 0x06, 0x06};
@@ -38,4 +40,6 @@ const unsigned char type_auth [] = {0x01, 0x01};
const unsigned char type_services [] = {0xA, 0x01};
const unsigned char type_command [] = {0xA, 0x02};
+};
+
#endif