X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_match.h;h=a1d10020e0472ffba04a66944eb038b4eb1417e6;hb=be0a3a6eeb3655d5559abe768c4027889d1ae979;hp=705a609e88ca1ecae06bcb687966a923dc3b6360;hpb=2761756b5ad2c9a973b30540633218202860a4d7;p=collectd.git diff --git a/src/utils_match.h b/src/utils_match.h index 705a609e..a1d10020 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 * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -128,6 +128,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