From 4297c45174964231ccd4177362864545adfdda1c Mon Sep 17 00:00:00 2001 From: David Phillips Date: Fri, 28 Aug 2015 23:10:16 +1200 Subject: Created wrapper to get integer from formatted filename --- common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common.h') diff --git a/common.h b/common.h index 6d55d46..056eddd 100644 --- a/common.h +++ b/common.h @@ -19,6 +19,10 @@ #ifndef COMMON_H #define COMMON_H +#include + +int get_int_value_from_filef(const char* format, ...); +int vget_int_value_from_filef(const char* format, va_list args); int get_int_value_from_file(const char* filename); int get_int(const char* string); bool file_has_line(const char *filename, const char *line); -- cgit v1.1