diff options
Diffstat (limited to 'src/agent/include')
-rw-r--r-- | src/agent/include/download-agent-debug.h | 1 | ||||
-rw-r--r-- | src/agent/include/download-agent-defs.h | 11 | ||||
-rw-r--r-- | src/agent/include/download-agent-dl-mgr.h | 2 | ||||
-rw-r--r-- | src/agent/include/download-agent-http-queue.h | 1 | ||||
-rw-r--r-- | src/agent/include/download-agent-plugin-drm.h | 39 | ||||
-rw-r--r-- | src/agent/include/download-agent-utils.h | 11 |
6 files changed, 0 insertions, 65 deletions
diff --git a/src/agent/include/download-agent-debug.h b/src/agent/include/download-agent-debug.h index aa569ad..5f89fa4 100644 --- a/src/agent/include/download-agent-debug.h +++ b/src/agent/include/download-agent-debug.h @@ -37,7 +37,6 @@ typedef enum { HTTPManager, InstallManager, FileManager, - DRMManager, DownloadManager, ClientNoti, HTTPMessageHandler, diff --git a/src/agent/include/download-agent-defs.h b/src/agent/include/download-agent-defs.h index 0d4c9af..7c605e8 100644 --- a/src/agent/include/download-agent-defs.h +++ b/src/agent/include/download-agent-defs.h @@ -301,17 +301,6 @@ typedef enum { * @} */ - -/** - * @{ - */ -// DRM error - not conforming with DRM spec (-700 ~ -799) -#define DA_ERR_DRM_FAIL -700 -#define DA_ERR_DRM_FILE_FAIL -710 -/** - * @} - */ - /** * @{ */ diff --git a/src/agent/include/download-agent-dl-mgr.h b/src/agent/include/download-agent-dl-mgr.h index 8ef36ef..2a2bc0d 100644 --- a/src/agent/include/download-agent-dl-mgr.h +++ b/src/agent/include/download-agent-dl-mgr.h @@ -42,6 +42,4 @@ da_result_t handle_after_download(stage_info *stage); da_result_t process_install(stage_info *stage); da_result_t send_user_noti_and_finish_download_flow(int download_id); -da_result_t process_play_ready_initiator(stage_info *stage); - #endif diff --git a/src/agent/include/download-agent-http-queue.h b/src/agent/include/download-agent-http-queue.h index cf3a0e5..1a7f4e1 100644 --- a/src/agent/include/download-agent-http-queue.h +++ b/src/agent/include/download-agent-http-queue.h @@ -38,7 +38,6 @@ typedef enum { Q_EVENT_TYPE_DATA_HTTP, - Q_EVENT_TYPE_DATA_DRM, Q_EVENT_TYPE_CONTROL, }q_event_type; diff --git a/src/agent/include/download-agent-plugin-drm.h b/src/agent/include/download-agent-plugin-drm.h deleted file mode 100644 index ff5df1b..0000000 --- a/src/agent/include/download-agent-plugin-drm.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Download Agent - * - * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: Jungki Kwak <jungki.kwak@samsung.com>, Keunsoon Lee <keunsoon.lee@samsung.com> - * - * 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. - * - * @file download-agent-plugin-drm.h - * @brief Including plugin functions for emerald DRM from SISO - * @author Keunsoon Lee(keunsoon.lee@samsung.com) - ***/ - - -#ifndef _Download_Agent_Plugin_Drm_H -#define _Download_Agent_Plugin_Drm_H - -#include "download-agent-type.h" - -da_bool_t EDRM_check_dcf_file(const char *file_path); -da_bool_t EDRM_has_vaild_ro(const char *file_path); -da_bool_t EDRM_open_convert (const char *file_path, void **fd); -da_bool_t EDRM_write_convert (void *fd, unsigned char *buffer, int buffer_size); -da_bool_t EDRM_close_convert (void **fd); -da_result_t EDRM_wm_get_license (char *rights_url, char **out_content_url); - - -#endif diff --git a/src/agent/include/download-agent-utils.h b/src/agent/include/download-agent-utils.h index ccf053d..fddd56c 100644 --- a/src/agent/include/download-agent-utils.h +++ b/src/agent/include/download-agent-utils.h @@ -32,13 +32,11 @@ #include "download-agent-dl-mgr.h" /* Todo : move these to mime-util.c */ -#define MIME_DRM_MESSAGE "application/vnd.oma.drm.message" #define MIME_ODF "application/vnd.oasis.opendocument.formula" #define MIME_OMA_DD "application/vnd.oma.dd+xml" #define MIME_MIDP_JAR "application/vnd.sun.j2me.java-archive" #define MIME_MULTIPART_MESSAGE "multipart/related" #define MIME_TEXT_PLAIN "text/plain" -#define MIME_PLAYREADY_INIT "application/vnd.ms-playready.initiator+xml" #define SAVE_FILE_BUFFERING_SIZE_50KB (50*1024) #define SAVE_FILE_BUFFERING_SIZE_5MB (5*1024*1024) @@ -63,24 +61,15 @@ typedef struct _da_storage_size_t { unsigned long b_size; } da_storage_size_t; -typedef enum { - DA_MIME_TYPE_NONE, - DA_MIME_TYPE_DRM1_MESSATE, - DA_MIME_PLAYREADY_INIT, - DA_MIME_TYPE_END -} da_mime_type_id_t; - void get_random_number(int *out_num); da_result_t get_available_dd_id(da_handle_t *available_id); da_result_t get_extension_from_mime_type(char *mime_type, char **extension); -da_mime_type_id_t get_mime_type_id(char* content_type); da_result_t get_available_memory(da_storage_type_t storage_type, da_storage_size_t *avail_memory); da_result_t check_enough_storage(stage_info *stage); da_bool_t is_valid_url(const char* url, da_result_t *err_code); -da_bool_t is_content_drm_dm(char *content_type); int read_data_from_file(char *file, char**out_buffer); |