summaryrefslogtreecommitdiff
path: root/agent/include/download-agent-mime-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'agent/include/download-agent-mime-util.h')
-rwxr-xr-xagent/include/download-agent-mime-util.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/agent/include/download-agent-mime-util.h b/agent/include/download-agent-mime-util.h
index 5f143e9..7f57899 100755
--- a/agent/include/download-agent-mime-util.h
+++ b/agent/include/download-agent-mime-util.h
@@ -34,7 +34,15 @@ typedef struct {
da_bool_t is_ambiguous_MIME_Type(const char *in_mime_type);
da_bool_t da_get_extension_name_from_url(char *url, char **ext);
-da_result_t da_mime_get_ext_name(char *mime, char **ext);
+da_ret_t da_mime_get_ext_name(char *mime, char **ext);
da_bool_t da_get_file_name_from_url(char *url, char **name) ;
void delete_prohibited_char(char *szTarget, int str_len);
+da_ret_t get_extension_from_mime_type(char *mime_type, char **extension);
+#ifdef _ENABLE_OMA_DRM
+da_bool_t is_content_drm_dcf(char *content_type);
+da_bool_t is_content_drm_dm(char *content_type);
+#endif
+
+
+
#endif