Robust Distributed System Nucleus (rDSN)  ver 1.0.0
Typedefs | Functions
Global Checker

Overview

rDSN allows global assert across many apps in the same process. The global assertions are called checkers.

Typedefs

typedef void *(* dsn_checker_create) (const char *, dsn_app_info *, int)
 
typedef void(* dsn_checker_apply) (void *)
 

Functions

DSN_API void dsn_register_app_checker (const char *name, dsn_checker_create create, dsn_checker_apply apply)
 

Function Documentation

DSN_API void dsn_register_app_checker ( const char *  name,
dsn_checker_create  create,
dsn_checker_apply  apply 
)

register application checker (global assertion)

Parameters
namethe name.
createcallback to create the checker
applycallback to execute the checker