X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_match.h;h=24517b3ad42ef4d558acda75d76bc971933162e0;hb=8b4fed9940e02138b7e273e56863df03d1a39ef7;hp=36abe30ca427ee48861a792e0563cd327fa953b1;hpb=6624c959628fa1188f8cfa4789da1eccccc5f5e4;p=collectd.git diff --git a/src/utils_match.h b/src/utils_match.h index 36abe30c..24517b3a 100644 --- a/src/utils_match.h +++ b/src/utils_match.h @@ -1,6 +1,6 @@ /** * collectd - src/utils_match.h - * Copyright (C) 2008 Florian octo Forster + * Copyright (C) 2008-2014 Florian octo Forster * * 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 @@ -119,6 +119,17 @@ cu_match_t *match_create_simple (const char *regex, /* * NAME + * match_value_reset + * + * DESCRIPTION + * Resets the internal state, if applicable. This function must be called + * after each iteration for "simple" matches, usually after dispatching the + * metrics. + */ +void match_value_reset (cu_match_value_t *mv); + +/* + * NAME * match_destroy * * DESCRIPTION