* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
#ifndef __DRM_FILE_API_H__
#define __DRM_FILE_API_H__
-
#include "DrmFileMgr.h"
#include "TADC_ErrorCode.h"
/*
enum
{
- DRM_SEEK_SET = 0,
- DRM_SEET_CUR,
- DRM_SEEK_END
+ DRM_SEEK_SET = 0,
+ DRM_SEET_CUR,
+ DRM_SEEK_END
} DRM_SEEK_TYPE
*/
//typedef int DrmHandler;
-int DrmTdcFileOpen(const char* filePath, int* handle);
+int DrmTdcFileOpen(const char *filePath, int *handle);
-int DrmTdcFileClose(int* handle);
+int DrmTdcFileClose(int *handle);
-int DrmTdcFileRead(int* handle, void* pBuf, long long bufLen, long long* pReadLen);
+int DrmTdcFileRead(int *handle, void *pBuf, long long bufLen,
+ long long *pReadLen);
//int DrmTdcFileSeek(int* handle, DRM_SEEK_TYPE type, long long offset);
-int DrmTdcFileSeek(int* handle, long long offset, int origin);
+int DrmTdcFileSeek(int *handle, long long offset, int origin);
-int DrmTdcFileTell(int* handle, long long *position);
+int DrmTdcFileTell(int *handle, long long *position);
-#endif
+#endif //__DRM_FILE_API_H_