1 /* ------------------------------------------------------------------ 2 * Copyright (C) 1998-2009 PacketVideo 3 * 4 * Licensed under the Apache License, Version 2.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 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 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 13 * express or implied. 14 * See the License for the specific language governing permissions 15 * and limitations under the License. 16 * ------------------------------------------------------------------- 17 */ 18 19 #ifndef PVMI_FILEIO_KVP_H_INCLUDED 20 #define PVMI_FILEIO_KVP_H_INCLUDED 21 22 /* 23 * File type modifiers. These may be used with any of the KVPs 24 */ 25 #define PVMI_FILEIO_FILE_TYPE_SOURCE "filetype=source" 26 #define PVMI_FILEIO_FILE_TYPE_LICENSE_STORE "filetype=license-store" 27 28 /* 29 * Define the PV read/write cache size. Zero disables the PV cache 30 */ 31 #define PVMI_FILEIO_PV_CACHE_SIZE "fileio/pv-cache-size" 32 #define PVMI_FILEIO_PV_CACHE_SIZE_VALUE "fileio/pv-cache-sizeval;type=uint32" 33 34 /* 35 * Define the PV Async Read buffer size. Zero disables the async read. 36 */ 37 #define PVMI_FILEIO_ASYNC_READ_BUFFER_SIZE "fileio/async-read-buffer-size" 38 #define PVMI_FILEIO_ASYNC_READ_BUFFER_SIZE_VALUE "fileio/async-read-buffer-size;valtype=uint32" 39 40 /* 41 * Set PV Logger enable option for this file. This enables complete logging. 42 */ 43 #define PVMI_FILEIO_PVLOGGER_ENABLE "fileio/logger-enable" 44 #define PVMI_FILEIO_PVLOGGER_ENABLE_VALUE "fileio/logger-enable;valtype=bool" 45 46 /* 47 * Set PV Logger statistics enable option for this file. This enables summary stats logging only. 48 */ 49 #define PVMI_FILEIO_PVLOGGER_STATS_ENABLE "fileio/logger-stats-enable" 50 #define PVMI_FILEIO_PVLOGGER_STATS_ENABLE_VALUE "fileio/logger-stats-enable;valtype=bool" 51 52 /* 53 * Select native file access mode, for systems that have more than one type of file 54 * access. Values for Symbian, RFile=0, RFileBuf=1. 55 */ 56 #define PVMI_FILEIO_NATIVE_ACCESS_MODE "fileio/native-access-mode" 57 #define PVMI_FILEIO_NATIVE_ACCESS_MODE_VALUE "fileio/native-access-mode;valtype=uint32" 58 59 /* 60 * Select file handle access mode. The key-specific value is an OsclFileHandle* 61 */ 62 #define PVMI_FILEIO_FILE_HANDLE "fileio/file-handle" 63 #define PVMI_FILEIO_FILE_HANDLE_VALUE "fileio/file-handle;valtype=ksv" 64 65 66 67 #endif // OSCL_FILEIO_CONFIG_H_INCLUDED 68 69 70 71 72