X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Futils_ignorelist.h;h=a7fa86d5482caa71f4b1028430dc3c8a017bb24e;hp=b47b55adb0a10ea4840e0143806b3d5e29e7bba3;hb=4c0848b1fb7cd097eeec947892d7bad5fd178ad7;hpb=b1b0aa549005c62b0e4651053198693e33ea84f0 diff --git a/src/daemon/utils_ignorelist.h b/src/daemon/utils_ignorelist.h index b47b55ad..a7fa86d5 100644 --- a/src/daemon/utils_ignorelist.h +++ b/src/daemon/utils_ignorelist.h @@ -12,10 +12,9 @@ * ranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public Licence for more details. * - * You should have received a copy of the GNU General Public - * Licence along with this program; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, - * USA. + * 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 * * Authors: * Lubos Stanek @@ -31,7 +30,7 @@ #include "collectd.h" #if HAVE_REGEX_H -# include +#include #endif /* public prototypes */ @@ -43,28 +42,28 @@ typedef struct ignorelist_s ignorelist_t; * create the ignorelist_t with known ignore state * return pointer to ignorelist_t */ -ignorelist_t *ignorelist_create (int invert); +ignorelist_t *ignorelist_create(int invert); /* * free memory used by ignorelist_t */ -void ignorelist_free (ignorelist_t *il); +void ignorelist_free(ignorelist_t *il); /* * set ignore state of the ignorelist_t */ -void ignorelist_set_invert (ignorelist_t *il, int invert); +void ignorelist_set_invert(ignorelist_t *il, int invert); /* * append entry to ignorelist_t * returns zero on success, non-zero upon failure. */ -int ignorelist_add (ignorelist_t *il, const char *entry); +int ignorelist_add(ignorelist_t *il, const char *entry); /* * check list for entry * return 1 for ignored entry */ -int ignorelist_match (ignorelist_t *il, const char *entry); +int ignorelist_match(ignorelist_t *il, const char *entry); #endif /* UTILS_IGNORELIST_H */