yumapro
24.10-3
YumaPro SDK
|
User Defined Types. More...
Go to the source code of this file.
Data Structures | |
struct | typ_userdef_t |
one userdef control block The CB will exist if one or more callbacks are registered More... | |
Typedefs | |
typedef status_t(* | typ_validate_fn_t) (typ_def_t *typdef, val_value_t *val, void *cookie) |
userdef validate callback function user validation callback for a userdef type More... | |
typedef status_t(* | typ_canonical_fn_t) (typ_def_t *typdef, val_value_t *val, void *cookie) |
userdef canonical callback function convert the inval to the canonical format for the type More... | |
typedef status_t(* | typ_compare_fn_t) (const typ_def_t *typdef, const val_value_t *val1, const val_value_t *val2, void *cookie, int *retval) |
userdef compare callback function compare 2 val_value_t nodes of the same user defined type More... | |
Functions | |
status_t | typ_userdef_register (const xmlChar *modname, const xmlChar *typname, typ_validate_fn_t validate_fn, typ_canonical_fn_t canonical_fn, typ_compare_fn_t compare_fn, void *cookie) |
Register the callback functions for a user defined type. More... | |
void | typ_userdef_clean_typdef (typ_def_t *typdef) |
Clean the user typedef fields. More... | |
status_t | typ_userdef_validate (val_value_t *val) |
Invoke the validate callback function for a user defined type if it exists. More... | |
status_t | typ_userdef_canonical (val_value_t *val) |
Invoke the canonical callback function for a user defined type if it exists. More... | |
status_t | typ_userdef_compare (const val_value_t *val1, const val_value_t *val2, int32 *ret) |
Invoke the compare callback function for a user defined type if it exists. More... | |
User Defined Types.
Allows SIL code to provide type handlers