replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / service / notification / src / provider / NSProviderSystem.h
index a6c7edb..aa14921 100644 (file)
@@ -1,50 +1,55 @@
-//******************************************************************\r
-//\r
-// Copyright 2016 Samsung Electronics All Rights Reserved.\r
-//\r
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-//      http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r
-\r
-#ifndef _NS_PROVIDER_SYSTEM__H_\r
-#define _NS_PROVIDER_SYSTEM__H_\r
-\r
-#include <string.h>\r
-#include "logger.h"\r
-#include "NSCommon.h"\r
-#include "NSConstants.h"\r
-#include "oic_malloc.h"\r
-#include "NSStructs.h"\r
-#include "NSUtil.h"\r
-\r
-void NSSetProviderConnectionState(NSConnectionState state);\r
-NSConnectionState NSGetProviderConnectionState();\r
-\r
-void NSInitProviderInfo(const char * userInfo);\r
-void NSDeinitProviderInfo();\r
-NSProviderInfo * NSGetProviderInfo();\r
-const char * NSGetUserInfo();\r
-bool NSGetPolicy();\r
-void NSSetPolicy(bool policy);\r
-bool NSGetResourceSecurity();\r
-void NSSetResourceSecurity(bool secured);\r
-\r
-#if (defined WITH_CLOUD && defined RD_CLIENT)\r
-void NSSetRemoteServerAddress(char *serverAddress);\r
-void NSDeleteRemoteServerAddress(char *serverAddress);\r
-bool NSIsRemoteServerAddress(char *serverAddress);\r
-#endif\r
-\r
-#endif /* _NS_PROVIDER_SYSTEM__H_ */\r
+//******************************************************************
+//
+// Copyright 2016 Samsung Electronics All Rights Reserved.
+//
+//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+
+#ifndef _NS_PROVIDER_SYSTEM__H_
+#define _NS_PROVIDER_SYSTEM__H_
+
+#include <string.h>
+#include "logger.h"
+#include "NSCommon.h"
+#include "NSConstants.h"
+#include "oic_malloc.h"
+#include "NSStructs.h"
+#include "NSUtil.h"
+
+void NSSetProviderConnectionState(NSConnectionState state);
+NSConnectionState NSGetProviderConnectionState();
+
+void NSInitProviderInfo(const char * userInfo);
+void NSDeinitProviderInfo();
+NSProviderInfo * NSGetProviderInfo();
+const char * NSGetUserInfo();
+bool NSGetPolicy();
+void NSSetPolicy(bool policy);
+bool NSGetResourceSecurity();
+void NSSetResourceSecurity(bool secured);
+
+#ifdef WITH_MQ
+void NSSetMQServerInfo(const char * serverUri, OCDevAddr * devAddr);
+NSMQServerInfo * NSGetMQServerInfo();
+#endif
+
+#if (defined WITH_CLOUD)
+void NSSetRemoteServerAddress(char *serverAddress);
+void NSDeleteRemoteServerAddress(char *serverAddress);
+bool NSIsRemoteServerAddress(char *serverAddress);
+#endif
+
+#endif /* _NS_PROVIDER_SYSTEM__H_ */