PadicoTM

Documentation

« back to PM2 home.

XML parser and serializer for topology objects. More...

#include <Padico/Puk.h>
#include <Padico/Module.h>
#include "Topology.h"
#include "Topology-internals.h"
#include <netinet/in.h>
#include <arpa/inet.h>
Include dependency graph for topo-xml.c:

Go to the source code of this file.

Functions

static void padico_module_import_initializer__Topology (void)
 
static padico_string_t topo_hwaddr_serialize (padico_topo_hwaddr_t hwaddr)
 
static padico_string_t topo_hostname_serialize (topo_hostname_vect_t names)
 
static padico_string_t topo_binding_serialize (const struct topo_binding_s *b)
 
static padico_string_t na_bindings_serialize (padico_topo_binding_vect_t bindings)
 
padico_string_t padico_topo_node_serialize (padico_topo_node_t node)
 
padico_string_t padico_topo_host_serialize (padico_topo_host_t host)
 
padico_string_t padico_topo_network_serialize (padico_topo_network_t network)
 
padico_string_t padico_na_topology_serialize (padico_topo_binding_scope_t scope)
 
static void topo_node_start_handler (puk_parse_entity_t e)
 
static void topo_node_end_handler (puk_parse_entity_t e)
 
static void topo_host_start_handler (puk_parse_entity_t e)
 
static void topo_host_end_handler (puk_parse_entity_t e)
 
static void topo_property_end_handler (puk_parse_entity_t e)
 
static void topo_binding_end_handler (puk_parse_entity_t e)
 
static void topo_network_end_handler (puk_parse_entity_t e)
 
static void topo_hwaddr_end_handler (puk_parse_entity_t e)
 
static void topo_hostname_end_handler (puk_parse_entity_t e)
 
static void topo_performance_end_handler (puk_parse_entity_t e)
 
static void topo_lstopo_end_handler (puk_parse_entity_t e)
 
 __attribute__ ((visibility("internal")))
 Init the parser.
 

Variables

struct puk_mod_binary_s padico_mod_binary__Topology
 

Detailed Description

XML parser and serializer for topology objects.

Definition in file topo-xml.c.

Function Documentation

◆ __attribute__()

◆ na_bindings_serialize()

static padico_string_t na_bindings_serialize ( padico_topo_binding_vect_t  bindings)
static

Definition at line 153 of file topo-xml.c.

References assert(), b, done, i, NULL, s, and topo_binding_serialize().

Referenced by padico_topo_host_serialize(), and padico_topo_node_serialize().

◆ padico_module_import_initializer__Topology()

static void padico_module_import_initializer__Topology ( void  )
static

Definition at line 39 of file topo-xml.c.

◆ topo_binding_end_handler()

static void topo_binding_end_handler ( puk_parse_entity_t  e)
static

◆ topo_binding_serialize()

◆ topo_host_end_handler()

◆ topo_host_start_handler()

static void topo_host_start_handler ( puk_parse_entity_t  e)
static

Definition at line 374 of file topo-xml.c.

References done, e, host, padico_topo_host_create(), and topo_host_lookup().

Referenced by __attribute__().

◆ topo_hostname_end_handler()

static void topo_hostname_end_handler ( puk_parse_entity_t  e)
static

Definition at line 706 of file topo-xml.c.

References done, e, and topo_hostname_s::resolvable.

Referenced by __attribute__().

◆ topo_hostname_serialize()

static padico_string_t topo_hostname_serialize ( topo_hostname_vect_t  names)
static

Definition at line 58 of file topo-xml.c.

References done, p, and s.

Referenced by padico_topo_host_serialize().

◆ topo_hwaddr_end_handler()

static void topo_hwaddr_end_handler ( puk_parse_entity_t  e)
static

◆ topo_hwaddr_serialize()

static padico_string_t topo_hwaddr_serialize ( padico_topo_hwaddr_t  hwaddr)
static

Definition at line 46 of file topo-xml.c.

References done, NULL, and s.

Referenced by padico_topo_host_serialize().

◆ topo_lstopo_end_handler()

static void topo_lstopo_end_handler ( puk_parse_entity_t  e)
static

◆ topo_network_end_handler()

◆ topo_node_end_handler()

static void topo_node_end_handler ( puk_parse_entity_t  e)
static

Definition at line 351 of file topo-xml.c.

References done, e, i, node, NULL, and topo_binding_bind_node().

Referenced by __attribute__().

◆ topo_node_start_handler()

◆ topo_performance_end_handler()

static void topo_performance_end_handler ( puk_parse_entity_t  e)
static

Definition at line 716 of file topo-xml.c.

References topo_perf_s::bw, done, e, and topo_perf_s::lat.

Referenced by __attribute__().

◆ topo_property_end_handler()

Variable Documentation

◆ padico_mod_binary__Topology

struct puk_mod_binary_s padico_mod_binary__Topology
extern

Definition at line 78 of file topology.c.