upipe/uprobe_uclock.h header reference

probe catching provide_request events asking for a uclock More

Header inclusion  

Members  

Type  

Functions  

Description  

probe catching provide_request events asking for a uclock

Members detail  

#define _UPIPE_UPROBE_UCLOCK_H_  

This macro is declared in upipe/uprobe_uclock.h source file, line 31.

struct uprobe_uclock  

This struct is declared in upipe/uprobe_uclock.h source file, line 46.

This struct is a super-set of the uprobe structure with additional local members.

FieldDescription
struct uclock * uclock;pointer to uclock to provide
struct uprobe uprobe;structure exported to modules

struct uprobe * uprobe_uclock_alloc(struct uprobe *next, struct uclock *uclock)  

This function is declared in upipe/uprobe_uclock.h source file, line 79.

This function allocates a new uprobe_uclock structure.

Parameter list:

  • next: next probe to test if this one doesn't catch the event
  • uclock: uref manager to provide to pipes

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

void uprobe_uclock_clean(struct uprobe_uclock *uprobe_uclock)  

This function is declared in upipe/uprobe_uclock.h source file, line 71.

This function cleans a uprobe_uclock structure.

Parameter list:

  • uprobe_uclock: structure to clean

struct uprobe * uprobe_uclock_init(struct uprobe_uclock *uprobe_uclock, struct uprobe *next, struct uclock *uclock)  

This function is declared in upipe/uprobe_uclock.h source file, line 65.

This function initializes an already allocated uprobe_uclock structure.

Parameter list:

  • uprobe_uclock: pointer to the already allocated structure
  • next: next probe to test if this one doesn't catch the event
  • uclock: uref manager to provide to pipes

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

void uprobe_uclock_set(struct uprobe *uprobe, struct uclock *uclock)  

This function is declared in upipe/uprobe_uclock.h source file, line 86.

This function changes the uclock set by this probe.

Parameter list:

  • uprobe: pointer to probe
  • uclock: new uref manager to provide to pipes

struct uprobe_uclock * uprobe_uclock_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_uclock.h source file, line 54.

This function returns the private uprobe_uclock structure.

Parameter list:

  • uprobe: public description structure of the probe

The return value is pointer to the private uprobe_uclock structure

struct uprobe * uprobe_uclock_to_uprobe(struct uprobe_uclock *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_uclock.h source file, line 54.

This function returns the public uprobe structure.

Parameter list:

  • uprobe_uclock: pointer to the private uprobe_uclock 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