From 327cb15c453c6397e779407e575248a858444b13 Mon Sep 17 00:00:00 2001 From: David Date: Sat, 27 Sep 2014 11:22:39 +1200 Subject: New function for opening files or throwing debug output --- common.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'common.h') diff --git a/common.h b/common.h index 04b443a..350f724 100644 --- a/common.h +++ b/common.h @@ -1,18 +1,18 @@ /************************************************************************ - * This file is part of paramano. * + * This file is part of Paramano. * * * - * paramano is free software; you can redistribute it and/or * + * Paramano is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License as * * published by the Free Software Foundation; either version 3 of the * * License, or (at your option) any later version. * * * - * paramano is distributed in the hope that it will be useful, * + * Paramano is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with paramano. If not, see * + * along with Paramano. If not, see * * . * ************************************************************************/ @@ -20,12 +20,13 @@ #define COMMON_H #include +#include 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); +FILE* check_for_file(char* path); -#include // Stringification of line number #define STRING2(x) #x #define STRING(x) STRING2(x) -- cgit v1.1