upipe-modules/upipe_match_attr.h header reference

Upipe module dropping urefs not matching certain values for More

Header inclusion  

Members  

Type  

Functions  

Description  

int attributes

Members detail  

#define UPIPE_MATCH_ATTR_SIGNATURE  

This macro is declared in upipe-modules/upipe_match_attr.h source file, line 40.

#define _UPIPE_MODULES_UPIPE_MATCH_ATTR_H_  

This macro is declared in upipe-modules/upipe_match_attr.h source file, line 32.

enum upipe_match_attr_command  

This enum is declared in upipe-modules/upipe_match_attr.h source file, line 44.

This enum extends upipe_command with specific commands for match_attr pipes.

IdentifierValueDescription
UPIPE_MATCH_ATTR_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_MATCH_ATTR_SET_UINT8_Tunknownmatch uint8_t attr (int (*)(uref*, uint8_t, uint8_t))
UPIPE_MATCH_ATTR_SET_UINT64_Tunknownmatch uint64_t attr
UPIPE_MATCH_ATTR_SET_BOUNDARIESunknownset boundaries (uint64_t, uint64_t)

struct upipe_mgr * upipe_match_attr_mgr_alloc(void )  

This function is declared in upipe-modules/upipe_match_attr.h source file, line 100.

This function returns the management structure for all match_attr pipes.

The return value is pointer to manager

int upipe_match_attr_set_boundaries(struct upipe *upipe, uint64_t min, uint64_t max)  

This function is declared in upipe-modules/upipe_match_attr.h source file, line 91.

This function sets the match boundaries.

Parameter list:

  • upipe: description structure of the pipe
  • min: min
  • min: max

The return value is an error code

int upipe_match_attr_set_uint64_t(struct upipe *upipe, int (*match)(struct ::uref *,uint64_t,uint64_t) )  

This function is declared in upipe-modules/upipe_match_attr.h source file, line 76.

This function sets the match callback to check uint64_t attribute with.

Parameter list:

  • upipe: description structure of the pipe
  • match: callback

The return value is an error code

int upipe_match_attr_set_uint8_t(struct upipe *upipe, int (*match)(struct ::uref *,uint8_t,uint8_t) )  

This function is declared in upipe-modules/upipe_match_attr.h source file, line 63.

This function sets the match callback to check uint8_t attribute with.

Parameter list:

  • upipe: description structure of the pipe
  • match: callback

The return value is an error code

Valid XHTML 1.0 StrictGenerated by cmassiot on Fri Feb 2 23:57:18 2018 using MkDoc