diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/fileops.h | 1 | ||||
-rw-r--r-- | src/include/keytab.h | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/fileops.h b/src/include/fileops.h index 2354913..63294ea 100644 --- a/src/include/fileops.h +++ b/src/include/fileops.h @@ -2,5 +2,6 @@ #define FILEOPS_H unsigned char *readdb(char *filename); +// TODO: Implement writedb function #endif diff --git a/src/include/keytab.h b/src/include/keytab.h index 40db10f..7e15643 100644 --- a/src/include/keytab.h +++ b/src/include/keytab.h @@ -21,8 +21,7 @@ struct keytablist { int *getkeys(struct keytablist *list, int id); struct keytab getkey(struct keytablist *list, int id, char *key); -// TODO: rewrite setkey to take len as an argument -void setkey(struct keytablist *list, int id, char *pair); +void setkey(struct keytablist **list, int *len, int id, char *pair); void delkey(struct keytablist *list, int id, char *key); #endif |