summaryrefslogtreecommitdiff
path: root/proto_lib/packet.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-12 14:23:46 +0200
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-12 14:23:46 +0200
commit1e4aaa2f93cc0a5c394a03d53c6707fe98c0c1c2 (patch)
treee727e815d5d74cc5387d7c0d567cf31849172ee2 /proto_lib/packet.h
parentb568c0cab255aefd400d48c05e2cabc6ca96c270 (diff)
working with proto lib
Diffstat (limited to 'proto_lib/packet.h')
-rw-r--r--proto_lib/packet.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/proto_lib/packet.h b/proto_lib/packet.h
index aedb63f..58422cc 100644
--- a/proto_lib/packet.h
+++ b/proto_lib/packet.h
@@ -14,7 +14,8 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
+#ifndef PACKET_H
+#define PACKET_H
const unsigned char proto_header [] = { 0x06, 0x06, 0x06, 0x13};
@@ -36,3 +37,5 @@ const unsigned char block_end = 0x02;
const unsigned char type_auth [] = {0x01, 0x01};
const unsigned char type_services [] = {0xA, 0x01};
const unsigned char type_command [] = {0xA, 0x02};
+
+#endif