From d1abc22e0ea85d57000c49c88e767dd7dc8615a6 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Wed, 21 Feb 2018 15:54:00 -0800 Subject: [PATCH] Track current progress. --- misc/kf/defs.h | 10 ++++++++++ misc/kf/dictionary.h | 14 ++++++++++++++ misc/kf/linux-defs.h | 1 + misc/kf/system.h | 6 ++++++ 4 files changed, 31 insertions(+) create mode 100644 misc/kf/defs.h create mode 100644 misc/kf/dictionary.h create mode 100644 misc/kf/linux-defs.h create mode 100644 misc/kf/system.h 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