summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-07-06 17:57:18 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-07-06 17:57:18 +0200
commit844968b28ffa805bfb5e3ade5b5537d716dca96e (patch)
tree19905d9538677a5202e45aa18933ee46acea6094
parent1d3e2b0146d01cb57bb80e55bb033f47fa63daf1 (diff)
feat: fix: add `network.hpp` unit of FIX module.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rw-r--r--lib/fix/network.hpp14
-rw-r--r--lib/fix/parser.hpp12
2 files changed, 19 insertions, 7 deletions
diff --git a/lib/fix/network.hpp b/lib/fix/network.hpp
new file mode 100644
index 0000000..0c167e5
--- /dev/null
+++ b/lib/fix/network.hpp
@@ -0,0 +1,14 @@
+/*
+* File: fix/netowrk.hpp
+ * Purpose: Financial Information Protocol parser implementation in C++.
+ * Author: Amlal El Mahrouss (founder@snu.systems)
+ * Copyright 2025, Amlal El Mahrouss and SNU Systems Corp all rights reserved.
+ */
+
+#ifndef _SNU_FIX_NETWORK_HPP
+#define _SNU_FIX_NETWORK_HPP
+
+#include <arpa/inet.h>
+#include <sys/socket.h>
+
+#endif // ifndef _SNU_FIX_NETWORK_HPP \ No newline at end of file
diff --git a/lib/fix/parser.hpp b/lib/fix/parser.hpp
index 83bbd1a..c20fe2f 100644
--- a/lib/fix/parser.hpp
+++ b/lib/fix/parser.hpp
@@ -1,12 +1,12 @@
/*
- * File: fix.hpp
- * Purpose: Financial Information Protocol implementation in C++.
+ * File: fix/parser.hpp
+ * Purpose: Financial Information Protocol parser implementation in C++.
* Author: Amlal El Mahrouss (founder@snu.systems)
* Copyright 2025, Amlal El Mahrouss and SNU Systems Corp all rights reserved.
*/
-#ifndef _SNU_FIX_HPP
-#define _SNU_FIX_HPP
+#ifndef _SNU_FIX_PARSER_HPP
+#define _SNU_FIX_PARSER_HPP
#include <cstdint>
#include <cstddef>
@@ -14,8 +14,6 @@
#include <utility>
#include <vector>
#include <string>
-#include <arpa/inet.h>
-#include <sys/socket.h>
namespace snu::fix
{
@@ -103,4 +101,4 @@ namespace snu::fix
};
} // namespace snu::fix
-#endif // ifndef _SNU_FIX_HPP
+#endif // ifndef _SNU_FIX_PARSER_HPP