upipe/uprobe_helper_uprobe.h header reference

Upipe helper functions for public uprobe structure More

Header inclusion  

Members  

Macro  

Description  

Upipe helper functions for public uprobe structure

Members detail  

#define UPROBE_HELPER_UPROBE(STRUCTURE, UPROBE)  

This macro is declared in upipe/uprobe_helper_uprobe.h source file, line 64.

This macro declares two functions dealing with public and private parts of the allocated probe structure.

You must add the uprobe structure to your private probe structure:

struct uprobe uprobe;

Supposing the name of your structure is uprobe_foo, it declares:

  • struct uprobe *uprobe_foo_to_uprobe(struct uprobe_foo *s)

    Returns a pointer to the public uprobe structure.

  • struct uprobe_foo uprobe_foo_from_uprobe(struct uprobe *uprobe)

    Returns a pointer to the private uprobe_foo structure.

Parameter list:

  • STRUCTURE: name of your private uprobe structure
  • UPROBE: name of the struct uprobe field of your private uprobe structure

#define _UPIPE_UPROBE_HELPER_UPROBE_H_  

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

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