diff options
| author | Amlal <amlal@nekernel.org> | 2025-05-02 15:56:47 +0200 |
|---|---|---|
| committer | Amlal <amlal@nekernel.org> | 2025-05-02 15:56:47 +0200 |
| commit | d8bbf5049a64a3b03a25ada60532f5d2ca4926b0 (patch) | |
| tree | 27351f7de3ba25293106c76f352ee6d2f9402c41 /lib | |
| parent | 684397be2e799c9169bb4afc2480d727f20f56ff (diff) | |
astdx: lib: ran format codebase script, figuring out how to layout fix header file.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/astdx/cgi.hpp | 6 | ||||
| -rw-r--r-- | lib/astdx/crc32.hpp | 6 | ||||
| -rw-r--r-- | lib/astdx/embdfs.hpp | 4 | ||||
| -rw-r--r-- | lib/astdx/fix.hpp | 21 | ||||
| -rw-r--r-- | lib/astdx/opt.hpp | 6 |
5 files changed, 28 insertions, 15 deletions
diff --git a/lib/astdx/cgi.hpp b/lib/astdx/cgi.hpp index ae2b650..70f07e1 100644 --- a/lib/astdx/cgi.hpp +++ b/lib/astdx/cgi.hpp @@ -1,7 +1,7 @@ -/* +/* * File: cgi.hpp - * Author: Amlal El Mahrouss, - * Copyright 2023-2025, Amlal El Mahrouss all rights reserved. + * Author: Amlal El Mahrouss, + * Copyright 2023-2025, Amlal El Mahrouss all rights reserved. */ #ifndef _STDX_CGI_HPP diff --git a/lib/astdx/crc32.hpp b/lib/astdx/crc32.hpp index b559aa9..371f456 100644 --- a/lib/astdx/crc32.hpp +++ b/lib/astdx/crc32.hpp @@ -1,8 +1,8 @@ -/* +/* * File: embfs.hpp * Purpose: Embedded File System. - * Author: Amlal El Mahrouss, - * Copyright 2025, Amlal El Mahrouss all rights reserved. + * Author: Amlal El Mahrouss, + * Copyright 2025, Amlal El Mahrouss all rights reserved. */ #ifndef _STDX_CRC32_HPP diff --git a/lib/astdx/embdfs.hpp b/lib/astdx/embdfs.hpp index fde1c1e..893ca13 100644 --- a/lib/astdx/embdfs.hpp +++ b/lib/astdx/embdfs.hpp @@ -1,8 +1,8 @@ -/* +/* * File: embfs.hpp * Purpose: Embedded File System. * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss all rights reserved. + * Copyright 2025, Amlal El Mahrouss all rights reserved. */ #ifndef _STDX_EMBDFS_HPP diff --git a/lib/astdx/fix.hpp b/lib/astdx/fix.hpp index 150df9e..2609785 100644 --- a/lib/astdx/fix.hpp +++ b/lib/astdx/fix.hpp @@ -10,12 +10,25 @@ #include <cstdint> #include <cstddef> +#include <string> +#include <arpa/inet.h> +#include <sys/socket.h> namespace astdx::fix { - struct fix_reader; - struct fix_writer; - struct fix_visitor; -} + struct fix_reader; + struct fix_writer; + struct fix_visitor; + struct fix_range; + + /// @brief Buffer+Length structure + typedef fix_range* fix_range_ptr_t; + + struct fix_range final + { + char* ascii_bytes_; + uint16_t length_; + }; +} // namespace astdx::fix #endif // ifndef _STDX_FIX_HPP diff --git a/lib/astdx/opt.hpp b/lib/astdx/opt.hpp index e8772c9..12883ce 100644 --- a/lib/astdx/opt.hpp +++ b/lib/astdx/opt.hpp @@ -1,7 +1,7 @@ -/* +/* * File: opt.hpp - * Author: Amlal El Mahrouss, - * Copyright 2023-2025, Amlal El Mahrouss all rights reserved. + * Author: Amlal El Mahrouss, + * Copyright 2023-2025, Amlal El Mahrouss all rights reserved. */ #ifndef _STDX_OPT_HPP |
