diff options
author | bpc2003 <wpesfriendnva@gmail.com> | 2025-03-10 11:15:04 -0400 |
---|---|---|
committer | bpc2003 <wpesfriendnva@gmail.com> | 2025-03-10 11:15:04 -0400 |
commit | 7c8e83f655e41b11e970fd0abad5a96a3fb73e47 (patch) | |
tree | 057e9c4dd571a4f6f4738b51d53641fcb20ea4dc /src/include/keytab.h | |
parent | 9b568eba7d0652e9f9457958f16dc35702c4a950 (diff) |
Consolidated each header into single header
Diffstat (limited to 'src/include/keytab.h')
-rw-r--r-- | src/include/keytab.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/include/keytab.h b/src/include/keytab.h deleted file mode 100644 index 7e15643..0000000 --- a/src/include/keytab.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef KEYTAB_H -#define KEYTAB_H - -#define TABLEN 1024 - -union value { - char *str; - double num; - unsigned int b : 1; -}; - -struct keytab { - char *key; - int flag; - union value v; -}; - -struct keytablist { - struct keytab tab[TABLEN]; -}; - -int *getkeys(struct keytablist *list, int id); -struct keytab getkey(struct keytablist *list, int id, char *key); -void setkey(struct keytablist **list, int *len, int id, char *pair); -void delkey(struct keytablist *list, int id, char *key); - -#endif |