yumapro  20.10-12
YumaPro SDK
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...
 

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...
 

Detailed Description

NCX Common Top Element module.

Manage callback registry for received XML messages