Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MALP blackboard level

Not used, except the KS_ID macro. More...

Data Structures

struct  MALP_Blackboard_level
 The MALP_Blackboard_level structure. More...
 

Macros

#define KS_ID(bl, a)   MALP_Blackboard_level_id( (char *)bl, a , "*" )
 MALP_Blackboard_level_id redefinition with "*" for the second object name. More...
 
#define DE_ID(bl, t)   KS_ID(bl,t)
 KS_ID redefinition. More...
 
#define DE_ID_S(bl, t, s)   MALP_Blackboard_level_id( (char *)bl, t , s )
 MALP_Blackboard_level_id redefinition with casting of bl as (char*) More...
 
#define KS_LID(a)   MALP_Blackboard_level_id( (char *)MALP_Blackboard_level_name, a , "*" )
 MALP_Blackboard_level_name redefinition with "*" for the second object name and "MALP_Blackboard_level_name" as first parameter. More...
 
#define DE_LID(t)   KS_LID(t)
 The same as KS_LID. More...
 
#define DE_LID_S(t, s)   MALP_Blackboard_level_id( (char *)MALP_Blackboard_level_name , t , s )
 Redefinition of MALP_Blackboard_level_id with "*" for the second object name. More...
 

Functions

struct MALP_Blackboard_levelMALP_Blackboard_level_load (struct MALP_blackboard *bb, char *plugin_soname, void *arg)
 MALP_Blackboard_level_load [UNUSED?]. More...
 
struct MALP_Blackboard_levelMALP_Blackboard_level (struct MALP_blackboard *bb, int(*BB_level_setup)(struct MALP_blackboard *bb, void *arg), int(*BB_level_teardown)(struct MALP_blackboard *bb, void *arg), void *arg)
 Create a MALP_Blackboard_level structure using the parameters with NULL value for the handler's mapping library. More...
 
int MALP_Blackboard_level_unload (struct MALP_blackboard *bb, struct MALP_Blackboard_level *level)
 MALP_Blackboard_level_unload [UNUSED?]. More...
 
uint64_t MALP_Blackboard_level_id (char *MALP_Blackboard_level_name, char *object1_name, char *object2_name)
 Generate the hashcode for a 3 dimensions table buffer containing a blackboard level and two object names. More...
 

Detailed Description

Not used, except the KS_ID macro.

The KS_ID macro is used within the Analyzer Blackboard in order to get a uniq identifier for the unpacker KS.

This part contains basic structure and functions for managing some blackboard level informations. Some functions are redefined with default parameters.

Todo:
Not used

Macro Definition Documentation

#define DE_ID (   bl,
 
)    KS_ID(bl,t)

KS_ID redefinition.

Definition at line 91 of file MALP_Blackboard_Level.h.

#define DE_ID_S (   bl,
  t,
 
)    MALP_Blackboard_level_id( (char *)bl, t , s )

MALP_Blackboard_level_id redefinition with casting of bl as (char*)

Definition at line 96 of file MALP_Blackboard_Level.h.

#define DE_LID (   t)    KS_LID(t)

The same as KS_LID.

Definition at line 108 of file MALP_Blackboard_Level.h.

#define DE_LID_S (   t,
 
)    MALP_Blackboard_level_id( (char *)MALP_Blackboard_level_name , t , s )

Redefinition of MALP_Blackboard_level_id with "*" for the second object name.

Definition at line 113 of file MALP_Blackboard_Level.h.

#define KS_ID (   bl,
 
)    MALP_Blackboard_level_id( (char *)bl, a , "*" )

MALP_Blackboard_level_id redefinition with "*" for the second object name.

Definition at line 86 of file MALP_Blackboard_Level.h.

#define KS_LID (   a)    MALP_Blackboard_level_id( (char *)MALP_Blackboard_level_name, a , "*" )

MALP_Blackboard_level_name redefinition with "*" for the second object name and "MALP_Blackboard_level_name" as first parameter.

Definition at line 103 of file MALP_Blackboard_Level.h.

Function Documentation

struct MALP_Blackboard_level* MALP_Blackboard_level ( struct MALP_blackboard bb,
int(*)(struct MALP_blackboard *bb, void *arg)  BB_level_setup,
int(*)(struct MALP_blackboard *bb, void *arg)  BB_level_teardown,
void *  arg 
)

Create a MALP_Blackboard_level structure using the parameters with NULL value for the handler's mapping library.

Parameters
bbthe blackboard
BB_level_setupthe setup handler
BB_level_teardownthe teardown handler
argargument to give to setup and teardown handlers
Returns
a MALP_Blackboard_level structure's pointer

Definition at line 93 of file MALP_Blackboard_Level.c.

uint64_t MALP_Blackboard_level_id ( char *  MALP_Blackboard_level_name,
char *  object1_name,
char *  object2_name 
)

Generate the hashcode for a 3 dimensions table buffer containing a blackboard level and two object names.

Parameters
MALP_Blackboard_level_name
object1_name
object2_name
Returns
CRC_64 hash of a data buffer

Definition at line 23 of file MALP_Blackboard_Level.c.

Here is the call graph for this function:

struct MALP_Blackboard_level* MALP_Blackboard_level_load ( struct MALP_blackboard bb,
char *  plugin_soname,
void *  arg 
)

MALP_Blackboard_level_load [UNUSED?].

Parameters
bb
plugin_sonameHandler's mapping library
arg
Returns

Definition at line 36 of file MALP_Blackboard_Level.c.

int MALP_Blackboard_level_unload ( struct MALP_blackboard bb,
struct MALP_Blackboard_level level 
)

MALP_Blackboard_level_unload [UNUSED?].

Parameters
bb
level
Returns

Definition at line 122 of file MALP_Blackboard_Level.c.