2 * Copyright 2012-2013 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.tizenopensource.org/license
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef __MSG_DRM_WRAPPER_H_
18 #define __MSG_DRM_WRAPPER_H_
32 MSG_DRM_COMBINED_DELIVERY,
33 MSG_DRM_SEPARATE_DELIVERY
37 bool MsgDrmRegisterFile(MSG_DRM_OPENMODE eMode, char *pBuffer, int nSize);
38 bool MsgDrmUnregisterFile(char *szFilename);
39 bool MsgDrmIsDrmFile(const char *szFilePath);
40 bool MsgDrmGetMimeTypeEx(const char *szFileName, char *szMimeType, int nMimeTypeLen);
41 bool MsgDrmGetContentID(const char *szFileName, char *szContentID, int nContentIDLen);
42 bool MsgDrmGetDrmType(const char *szFileName, MSG_DRM_TYPE *eDRMType);
43 bool MsgDrmConvertDmtoDcfType(char *inputFile, char *outputFile);