123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #ifndef UA_NODESTORE_H_
- #define UA_NODESTORE_H_
- #include "ua_server.h"
- UA_Int32 UA_NodeStore_new(UA_NodeStore **result);
- UA_Int32 UA_NodeStore_delete(UA_NodeStore *ns);
- #define UA_NODESTORE_INSERT_UNIQUE 1
- #define UA_NODESTORE_INSERT_GETMANAGED 2
- UA_Int32 UA_NodeStore_insert(UA_NodeStore *ns, UA_Node **node, UA_Byte flags);
- UA_Int32 UA_NodeStore_remove(UA_NodeStore *ns, const UA_NodeId *nodeid);
- UA_Int32 UA_NodeStore_get(const UA_NodeStore *ns, const UA_NodeId *nodeid,
- const UA_Node **managedNode);
- void UA_NodeStore_releaseManagedNode(const UA_Node *managed);
- typedef void (*UA_NodeStore_nodeVisitor)(const UA_Node *node);
- UA_Int32 UA_NodeStore_iterate(const UA_NodeStore *ns, UA_NodeStore_nodeVisitor visitor);
- #endif
|