-#ifndef __DALI_TIZEN_PLATFORM_NETWORK_FILE_DOWNLOAD_H__
-#define __DALI_TIZEN_PLATFORM_NETWORK_FILE_DOWNLOAD_H__
+#ifndef DALI_TIZEN_PLATFORM_NETWORK_FILE_DOWNLOAD_H
+#define DALI_TIZEN_PLATFORM_NETWORK_FILE_DOWNLOAD_H
/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include <string>
#include <mutex> //c++11
#include <stdint.h> // uint8
-#include <openssl/crypto.h>
namespace Dali
{
CurlEnvironment& operator=( const CurlEnvironment& ) = delete;
CurlEnvironment( CurlEnvironment&& ) = default;
CurlEnvironment& operator=( CurlEnvironment&& ) = default;
-
- /**
- * Locking function for libcurl with openssl
- */
- static void OnOpenSSLLocking( int mode, int n, const char* file, int line );
-
- /**
- * Gets thread id for libcurl with openssl
- */
- static void GetThreadId( CRYPTO_THREADID* tid );
-
-private:
-
- void SetLockingFunction();
-
- void UnsetLockingFunction();
-
- static std::mutex* mMutexs;
};
} // namespace Dali
-#endif // __DALI_TIZEN_PLATFORM_RESOURCE_THREAD_IMAGE_H__
+#endif // DALI_TIZEN_PLATFORM_RESOURCE_THREAD_IMAGE_H