yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
top.h File Reference

NCX Common Top Element module. More...

#include <xmlstring.h>
#include "ses.h"
#include "status.h"
#include "xml_util.h"
Include dependency graph for top.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef boolean(* top_handler_t) (ses_cb_t *scb, xml_node_t *top)
 callback function template for a top handler More...
 
typedef boolean(* top_val_handler_t) (ses_cb_t *scb, val_value_t *msgval)
 callback function template for a top VAL handler More...
 

Enumerations

enum  top_mode_t {
  TOP_MODE_NONE ,
  TOP_MODE_SERVER ,
  TOP_MODE_CLIENT
}
 top used by client and server differently yp-controller uses both at the same time More...
 

Functions

void top_init (void)
 Initialize the Top Elelment Handler. More...
 
void top_cleanup (void)
 cleanup Top Element Handler More...
 
status_t top_register_node (const xmlChar *owner, const xmlChar *elname, top_handler_t handler, top_mode_t topmode)
 Register a top entry handler function. More...
 
void top_unregister_node (const xmlChar *owner, const xmlChar *elname, top_mode_t topmode)
 Remove a top entry handler function. More...
 
top_handler_t top_find_handler (const xmlChar *owner, const xmlChar *elname, top_mode_t topmode)
 Find the top_handler in the topQ. More...
 
status_t top_register_val_node (const xmlChar *owner, const xmlChar *elname, top_val_handler_t handler, top_mode_t topmode)
 Register a top entry VAL handler function. More...
 
void top_unregister_val_node (const xmlChar *owner, const xmlChar *elname, top_mode_t topmode)
 Remove a top entry VAL handler function. More...
 
top_val_handler_t top_find_val_handler (const xmlChar *owner, const xmlChar *elname, top_mode_t topmode)
 Find the top_val_handler in the topQ. More...
 

Detailed Description

NCX Common Top Element module.

Manage callback registry for received XML messages