summary refs log tree commit diff stats
path: root/src/common/ignore.c
AgeCommit message (Collapse)Author
2016-06-29Introduce and use fe_timeout_add_secondsBen Gamari
This should allow the operating system to be a bit more lax about timeouts, allowing more efficient power management.
2014-12-28Fix building as c89TingPing
2014-12-28Use glib for all allocationsTingPing
- Removes need to check for malloc failure - Removes need for NULL checks on free - Adds checks for integer overflows - Removes some extra memset calls - Removes chance of mixing libc and glib malloc/free
2013-10-14Don't overwrite existing ignores when floodedTingPing
Closes #792
2013-10-10Fix a few cppcheck warnings.XhmikosR
Use the proper data type in format functions and fix a resource leak.
2013-01-31fix variable name in flood msg.TingPing
2012-12-23fix incorrect FSF addressDan Mashal
2012-10-30Eliminate even more warnings and bump warning level to 3Berke Viktor
Shouldn't need to go any higher, level 4+ gives insane warnings
2012-10-30Nah, even more rebrandingBerke Viktor
2012-10-24A lot more rebrandingBerke Viktor
2012-10-22More fixes, sorting and cleanupBerke Viktor
/*
 * match.h - matching header for X-Sys
 * Copyright (C) 2005 Tony Vroon
 *
 * This program 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 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

#ifndef _MATCH_H_
#define _MATCH_H_

void find_match_char(char *buffer, char *match, char *result);
void find_match_double(char *buffer, char *match, double *result);
void find_match_double_hex(char *buffer, char *match, double *result);
void find_match_ll(char *buffer, char *match, unsigned long long *result);
void remove_leading_whitespace(char *buffer);

#endif