paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
pattern_match_data Struct Reference

Structure passed to for_each_matching_row(). More...

#include <afs.h>

Data Fields

struct osl_table * table
 Loop over all rows in this table. More...
 
unsigned loop_col_num
 Determines the loop order. More...
 
unsigned match_col_num
 Data from this column is matched against the given patterns. More...
 
unsigned pm_flags
 
int fnmatch_flags
 This value is passed verbatim to fnmatch(). More...
 
struct lls_parse_result * lpr
 Obtained by deserializing the query buffer in the callback. More...
 
unsigned input_skip
 Do not try to match the first inputs of lpr. More...
 
void * data
 Data pointer passed to the action function. More...
 
unsigned num_matches
 Gets increased by one for each match. More...
 
int(* action )(struct osl_table *table, struct osl_row *row, const char *name, void *data)
 For each matching row, this function will be called. More...
 

Detailed Description

Structure passed to for_each_matching_row().

Field Documentation

◆ table

struct osl_table* table

Loop over all rows in this table.

Referenced by for_each_matching_row().

◆ loop_col_num

unsigned loop_col_num

Determines the loop order.

Must be an rbtree column.

Referenced by for_each_matching_row().

◆ match_col_num

unsigned match_col_num

Data from this column is matched against the given patterns.

◆ pm_flags

unsigned pm_flags

◆ fnmatch_flags

int fnmatch_flags

This value is passed verbatim to fnmatch().

◆ lpr

struct lls_parse_result* lpr

Obtained by deserializing the query buffer in the callback.

◆ input_skip

unsigned input_skip

Do not try to match the first inputs of lpr.

◆ data

void* data

Data pointer passed to the action function.

◆ num_matches

unsigned num_matches

Gets increased by one for each match.

◆ action

int(* action) (struct osl_table *table, struct osl_row *row, const char *name, void *data)

For each matching row, this function will be called.


The documentation for this struct was generated from the following file: