X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.h;h=2fdefa70c1830ac28f5787361ad2d1f965327926;hp=f54aa87ccbc3c2ad0a3ab44b054f22a6560aaa85;hb=85094cd802bdb606d4e2bf7ed66dec51db2a0953;hpb=a24d175e6d093d6d9f6e583c3026e45924bad621 diff --git a/afs.h b/afs.h index f54aa87c..2fdefa70 100644 --- a/afs.h +++ b/afs.h @@ -181,6 +181,8 @@ struct pattern_match_data { struct osl_object patterns; /** Data pointer passed to the action function. */ void *data; + /** Gets increased by one for each match. */ + unsigned num_matches; /** For each matching row, this function will be called. */ int (*action)(struct osl_table *table, struct osl_row *row, const char *name, void *data); };