diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-02-12 14:23:46 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-02-12 14:23:46 +0200 |
commit | 1e4aaa2f93cc0a5c394a03d53c6707fe98c0c1c2 (patch) | |
tree | e727e815d5d74cc5387d7c0d567cf31849172ee2 /proto_lib/packet.h | |
parent | b568c0cab255aefd400d48c05e2cabc6ca96c270 (diff) |
working with proto lib
Diffstat (limited to 'proto_lib/packet.h')
-rw-r--r-- | proto_lib/packet.h | 5 |
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 |