diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-11-22 21:42:17 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-11-22 21:42:17 +0000 |
commit | afb3657fa2cbc6bd9e5901d6c5590b09d15c2d89 (patch) | |
tree | 62d707d0c48bf4350700aec627b4b5ac49f9731c /util.h | |
parent | de98f9c8e8468ed046dfc7208daea24e14707009 (diff) | |
download | agni-afb3657fa2cbc6bd9e5901d6c5590b09d15c2d89.tar.gz agni-afb3657fa2cbc6bd9e5901d6c5590b09d15c2d89.zip |
Added todo file size max 1MB and 64 todo's per user
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,9 +5,12 @@ #include <stdio.h> #include <string.h> #include <stdatomic.h> +#include <sys/types.h> +#include <sys/stat.h> int uniq_id(); char *alloc_new_str_s(char *str, size_t size); char *alloc_new_str(char *str); +off_t file_size(const char *fname); #endif
\ No newline at end of file |