]> git.stg.codes - stg.git/blobdiff - include/stg/rs_packets.h
Complete replacement notifiers with subscriptions.
[stg.git] / include / stg / rs_packets.h
index 0c31e22820f655eac1c1a93a59a3d9e2ccc7c7fe..6faea5259a669ec49d37531c65005b58d7ff84c8 100644 (file)
@@ -19,8 +19,7 @@
  *    Author : Maxim Mamontov <faust@stargazer.dp.ua>
  */
 
-#ifndef RS_PACKETSH
-#define RS_PACKETSH
+#pragma once
 
 #define RS_MAGIC_LEN        (6)
 #define RS_PROTO_VER_LEN    (2)
@@ -36,7 +35,7 @@
 
 #include <cstdint>
 
-namespace RS
+namespace STG::RS
 {
 
 struct PACKET_HEADER
@@ -58,5 +57,3 @@ int8_t              padding[7];
 } __attribute__((__packed__)); // 992 bytes, 124 blocks
 
 } // namespace RS
-
-#endif