ua_services_internal.h 946 B

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