3 * @brief external API functions for DLP
6 #include <privacy_guard/privacy_guard_dlp.h>
9 * @fn void tizen_dlp_init(void)
10 * @brief Initialize the DLP creating the Load Rules and Logging threads
13 void tizen_dlp_init(void)
15 privacy_guard_dlp_init();
19 * @fn void tizen_dlp_check_leak(const char *hostname, char * const mem, size_t len)
20 * @brief Checks for information leak on a given request string
22 * @param[in] hostname The hostname of the server to which the request will be sent
23 * @param[in] mem Text that we are going to validate for info leak
24 * @param[in] len Size of len in bytes
26 * @return either PRIV_GUARD_DLP_RESULT_ALLOW or PRIV_GUARD_DLP_RESULT_DENY
29 void tizen_dlp_check_leak(const char *hostname, char * const mem, size_t len)
32 * Send data to Tizen DLP verification
34 privacy_guard_dlp_check_leak(hostname, mem, len);