1 /* 2 * Tlf - contest logging program for amateur radio operators 3 * Copyright (C) 2019 Thomas Beierlein <dl1jbe@darc.de> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 */ 19 /* ------------------------------------------------------------------------ 20 * util functions to work with lines from log 21 * 22 ---------------------------------------------------------------------------*/ 23 #ifndef LOG_UTILS_H 24 #define LOG_UTILS_H 25 26 #include <stdbool.h> 27 28 bool log_is_comment(char *buffer); 29 int log_get_band(char *logline); 30 int log_get_mode(char *logline); 31 int log_get_points(char *logline); 32 33 #endif 34