123456789101112131415161718192021222324 |
- /**
- * @brief This files contains helper functions for the UA-Services that are used
- * internally as well (with a simplified API as no access rights are checked).
- */
- #ifndef UA_SERVICES_INTERNAL_H_
- #define UA_SERVICES_INTERNAL_H_
- #include "ua_session.h"
- #include "ua_nodestore.h"
- #include "ua_types_generated.h"
- #include "ua_namespace_0.h"
- /* @brief Add a reference (and the inverse reference to the target node).
- *
- * @param The node to which the reference shall be added
- * @param The reference itself
- * @param The namespace where the target node is looked up for the reverse reference (this is omitted if targetns is UA_NULL)
- */
- UA_AddNodesResult AddNode(UA_Server *server, UA_Session *session, const UA_Node **node,
- const UA_ExpandedNodeId *parentNodeId, const UA_NodeId *referenceTypeId);
- UA_StatusCode AddReference(UA_Server *server, const UA_AddReferencesItem *item);
- #endif /* UA_SERVICES_INTERNAL_H_ */
|