diff options
Diffstat (limited to 'dev/libMsg/MsgKit')
| -rw-r--r-- | dev/libMsg/MsgKit/Network.h | 9 | ||||
| -rw-r--r-- | dev/libMsg/MsgKit/Server.h | 41 |
2 files changed, 0 insertions, 50 deletions
diff --git a/dev/libMsg/MsgKit/Network.h b/dev/libMsg/MsgKit/Network.h deleted file mode 100644 index ca7cf2d3..00000000 --- a/dev/libMsg/MsgKit/Network.h +++ /dev/null @@ -1,9 +0,0 @@ -/* ======================================== - - Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ - -#pragma once - -#include <libMsg/MsgKit/Server.h>
\ No newline at end of file diff --git a/dev/libMsg/MsgKit/Server.h b/dev/libMsg/MsgKit/Server.h deleted file mode 100644 index b75fb96a..00000000 --- a/dev/libMsg/MsgKit/Server.h +++ /dev/null @@ -1,41 +0,0 @@ -/* ======================================== - - Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ - -#pragma once - -#ifdef __cplusplus -#include <public/frameworks/CoreFoundation.fwrk/headers/String.h> -#else -#include <libSystem/SystemKit/System.h> -#endif - -/// @author Amlal El Mahrouss -/// @file Server.h -/// @brief libMsg LISP system. - -struct LIBMSG_EXPR; - -/// @brief an expression chain of LibMSG. -struct LIBMSG_EXPR final { -#ifdef __cplusplus - CF::CFString* l_key{nullptr}; - CF::CFString* l_value{nullptr}; -#else - // if we use C, we won't know about CF, so let's make those private. - VoidPtr l_private_data[2]{nullptr}; -#endif - - LIBMSG_EXPR* l_head{nullptr}; - LIBMSG_EXPR* l_tail{nullptr}; - LIBMSG_EXPR* l_child{nullptr}; -}; - -/// @brief Function type for LibMSG lisp. -typedef Void (*libmsg_func_type)(struct LIBMSG_EXPR* self, VoidPtr arg, SizeT arg_size); - -IMPORT_C Void libmsg_init_library(libmsg_func_type* funcs, SizeT cnt); -IMPORT_C UInt32 libmsg_close_library(Void); -IMPORT_C UInt32 libmsg_eval_expr(struct LIBMSG_EXPR* head); |
