upipe/uprobe_loglevel.h header reference

Header inclusion  

Members  

Type  

Functions  

Members detail  

#define _UPIPE_UPROBE_LOGLEVEL_H_  

This macro is declared in upipe/uprobe_loglevel.h source file, line 27.

struct uprobe_loglevel  

This struct is declared in upipe/uprobe_loglevel.h source file, line 37.

FieldDescription
enum uprobe_log_level min_level;minimum level of printed messages
struct uprobe uprobe;uprobe structure
struct uchain patterns;list of pattern

struct uprobe * uprobe_loglevel_alloc(struct uprobe *next, enum uprobe_log_level level)  

This function is declared in upipe/uprobe_loglevel.h source file, line 73.

This function allocates a new uprobe_loglevel structure.

Parameter list:

  • next: next probe to test if this one doesn't catch the event
  • level: level at which to log the messages

The return value is pointer to uprobe, or NULL in case of error

void uprobe_loglevel_clean(struct uprobe_loglevel *uprobe_loglevel)  

This function is declared in upipe/uprobe_loglevel.h source file, line 64.

This function cleans a uprobe_loglevel structure.

Parameter list:

  • uprobe_loglevel: structure to clean

struct uprobe * uprobe_loglevel_init(struct uprobe_loglevel *uprobe_loglevel, struct uprobe *next, enum uprobe_log_level min_level)  

This function is declared in upipe/uprobe_loglevel.h source file, line 58.

This function initializes an already allocated uprobe_loglevel structure.

Parameter list:

  • uprobe_loglevel: pointer to the already allocated structure
  • next: next probe to test if this one doesn't catch the event
  • level: level at which to log the messages

The return value is pointer to uprobe, or NULL in case of error

int uprobe_loglevel_set(struct uprobe *uprobe, const char *regex, enum uprobe_log_level log_level)  

This function is declared in upipe/uprobe_loglevel.h source file, line 77.

struct uprobe_loglevel * uprobe_loglevel_from_uprobe(struct uprobe *uprobe)  

This function is for internal use only.

This function is declared in UPROBE_HELPER_UPROBE function like macro expansion, line 19 in upipe/uprobe_loglevel.h source file, line 46.

This function returns the private uprobe_loglevel structure.

Parameter list:

  • uprobe: public description structure of the probe

The return value is pointer to the private uprobe_loglevel structure

struct uprobe * uprobe_loglevel_to_uprobe(struct uprobe_loglevel *s)  

This function is for internal use only.

This function is declared in UPROBE_HELPER_UPROBE function like macro expansion, line 9 in upipe/uprobe_loglevel.h source file, line 46.

This function returns the public uprobe structure.

Parameter list:

  • uprobe_loglevel: pointer to the private uprobe_loglevel structure

The return value is pointer to the public uprobe structure

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