diff --git a/misc/kf/defs.h b/misc/kf/defs.h new file mode 100644 index 0000000..1c2c04e --- /dev/null +++ b/misc/kf/defs.h @@ -0,0 +1,10 @@ +#ifndef __KF_DEFS_H__ +#define __KF_DEFS_H__ + +#ifdef __linux__ +#include "linux-defs.h" +#endif + +constexpr uint8 MAX_WORD_LEN = 12; + +#endif // __KF_DEFS_H__ \ No newline at end of file diff --git a/misc/kf/dictionary.h b/misc/kf/dictionary.h new file mode 100644 index 0000000..8f9ea69 --- /dev/null +++ b/misc/kf/dictionary.h @@ -0,0 +1,14 @@ +#ifndef __KF_DICTIONARY_H__ +#define __KF_DICTIONARY_H__ + + +#include "defs.h" + +struct entry { + char word[MAX_WORD_LEN]; + void (*fun)(void); + struct entry *next; +}; + + +#endif // __KF_DICTIONARY_H__ \ No newline at end of file diff --git a/misc/kf/linux-defs.h b/misc/kf/linux-defs.h new file mode 100644 index 0000000..d8dcc0f --- /dev/null +++ b/misc/kf/linux-defs.h @@ -0,0 +1 @@ +#include \ No newline at end of file diff --git a/misc/kf/system.h b/misc/kf/system.h new file mode 100644 index 0000000..5e65500 --- /dev/null +++ b/misc/kf/system.h @@ -0,0 +1,6 @@ +#ifndef __KF_SYSTEM_H__ +#define __KF_SYSTEM_H__ + + + +#endif // __KF_SYSTEM_H__ \ No newline at end of file