From 1d41574c6e8e7bbf3705645feb429df6281ccb83 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 12 Feb 2013 20:36:08 +0200 Subject: working on service support --- proto_lib/packet.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'proto_lib/packet.h') 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 -- cgit v1.2.3