Browse Source

Server: Move Service_HistoryRead definition to the right place

Julius Pfrommer 6 years ago
parent
commit
02e6458629
1 changed files with 5 additions and 7 deletions
  1. 5 7
      src/server/ua_services.h

+ 5 - 7
src/server/ua_services.h

@@ -324,7 +324,11 @@ void Service_Write(UA_Server *server, UA_Session *session,
  * Used to read historical values or Events of one or more Nodes. Servers may
  * make historical values available to Clients using this Service, although the
  * historical values themselves are not visible in the AddressSpace. */
-/* Not Implemented */
+#ifdef UA_ENABLE_HISTORIZING
+void Service_HistoryRead(UA_Server *server, UA_Session *session,
+                         const UA_HistoryReadRequest *request,
+                         UA_HistoryReadResponse *response);
+#endif
 
 /**
  * HistoryUpdate Service
@@ -406,12 +410,6 @@ void Service_SetMonitoringMode(UA_Server *server, UA_Session *session,
                                const UA_SetMonitoringModeRequest *request,
                                UA_SetMonitoringModeResponse *response);
 
-#ifdef UA_ENABLE_HISTORIZING
-void Service_HistoryRead(UA_Server *server, UA_Session *session,
-                         const UA_HistoryReadRequest *request,
-                         UA_HistoryReadResponse *response);
-#endif
-
 /**
  * SetTriggering Service
  * ^^^^^^^^^^^^^^^^^^^^^