Track current progress.

This commit is contained in:
Kyle Isom 2018-02-21 15:54:00 -08:00
parent 0d2758a994
commit d1abc22e0e
4 changed files with 31 additions and 0 deletions

10
misc/kf/defs.h Normal file
View File

@ -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__

14
misc/kf/dictionary.h Normal file
View File

@ -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__

1
misc/kf/linux-defs.h Normal file
View File

@ -0,0 +1 @@
#include <stddef.h>

6
misc/kf/system.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef __KF_SYSTEM_H__
#define __KF_SYSTEM_H__
#endif // __KF_SYSTEM_H__