summaryrefslogtreecommitdiff
path: root/src/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared.h')
-rw-r--r--src/shared.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shared.h b/src/shared.h
index 430af4b..56f0a70 100644
--- a/src/shared.h
+++ b/src/shared.h
@@ -2,14 +2,16 @@
#include <stdio.h>
#include <stdbool.h>
+#include <time.h>
__attribute__ ((__format__(printf, 1, 2)))
void error(const char* format, ...);
FILE* get_file(const char* path, const char* type);
-
long int get_number(const char* text);
bool streql(const char* a, const char* b);
-
bool prefix(const char* pre, const char* str);
+
+void print_file_size(size_t bytes);
+void print_date_time(time_t mills);