High Performance OPC UA Server SDK  1.2.0.193
browsepath

A structure for handling browsepaths. More...

Data Structures

struct  uaserver_event_browsepath
 Structure for the browsepath. More...
 

Functions

void uaserver_event_browsepath_init (struct uaserver_event_browsepath *p)
 Initialize browsepath with empty path.
 
int uaserver_event_browsepath_copy (struct uaserver_event_browsepath *dst, const struct uaserver_event_browsepath *src)
 Copy browsepath src to dst. More...
 
int uaserver_event_browsepath_compare (const struct uaserver_event_browsepath *a, const struct uaserver_event_browsepath *b)
 Compare two browsepaths a and b. More...
 
void uaserver_event_browsepath_clear (struct uaserver_event_browsepath *p)
 Free all memory associated with the browsepath p.
 
int uaserver_event_browsepath_attach_element (struct uaserver_event_browsepath *p, struct ua_qualifiedname *el)
 Attach the qualifedname el as new element at the end of browsepath p. More...
 
void uaserver_event_browsepath_delete_last_element (struct uaserver_event_browsepath *p)
 Delete the last element from the browsepath p.
 

Detailed Description

A structure for handling browsepaths.

This is only intended for use in the context of events, not for general use.

Function Documentation

int uaserver_event_browsepath_attach_element ( struct uaserver_event_browsepath p,
struct ua_qualifiedname el 
)

Attach the qualifedname el as new element at the end of browsepath p.

The browsepath takes responsibility of the element and frees it at uaserver_event_browsepath_clear.

Returns
Zero on success or errorcode on failure.
int uaserver_event_browsepath_compare ( const struct uaserver_event_browsepath a,
const struct uaserver_event_browsepath b 
)

Compare two browsepaths a and b.

Returns
Zero if browsepaths are equal. An integer less than zero if a is smaller b, or greater than zero if a is greater than b.
int uaserver_event_browsepath_copy ( struct uaserver_event_browsepath dst,
const struct uaserver_event_browsepath src 
)

Copy browsepath src to dst.

Returns
Zero on success or errorcode on failure.