#include <dsplink.h>
Include dependency graph for kfiledefs.h:
Go to the source code of this file.
Data Structures | |||||||||||||||||||
struct | KFILE_Interface_tag | ||||||||||||||||||
struct | KFileObject_tag | ||||||||||||||||||
FileName | |||||||||||||||||||
Definition for identifying files. ============================================================================
============================================================================ | |||||||||||||||||||
typedef Pstr | FileName | ||||||||||||||||||
FnKfileOpen | |||||||||||||||||||
Signature of the function for opening a handle to a KFILE file. ============================================================================
| |||||||||||||||||||
typedef DSP_STATUS(* | FnKfileOpen )(IN CONST FileName fileName, IN CONST Char8 *mode, IN Void **fileHandlePtr) | ||||||||||||||||||
FnKfileClose | |||||||||||||||||||
Signature of the function for closing a handle to a KFILE file. ============================================================================
| |||||||||||||||||||
typedef DSP_STATUS(* | FnKfileClose )(IN Void *fileHandle) | ||||||||||||||||||
FnKfileRead | |||||||||||||||||||
Signature of the function for reading from a KFILE file. ============================================================================
| |||||||||||||||||||
typedef DSP_STATUS(* | FnKfileRead )(OUT Char8 *buffer, IN Uint32 size, IN Uint32 count, IN Void *fileHandle) | ||||||||||||||||||
FnKfileSeek | |||||||||||||||||||
Signature of the function for repositioning the file pointer within a KFILE file. ============================================================================
| |||||||||||||||||||
typedef DSP_STATUS(* | FnKfileSeek )(IN Void *fileHandle, IN Int32 offset, IN KFILE_FileSeek origin) | ||||||||||||||||||
FnKfileTell | |||||||||||||||||||
Signature of the function for returning the current file pointer position within a KFILE file. ============================================================================
| |||||||||||||||||||
typedef DSP_STATUS(* | FnKfileTell )(IN Void *fileHandle, OUT Int32 *pos) | ||||||||||||||||||
FnKfileGetSize | |||||||||||||||||||
Signature of the function for returning the file size of the KFILE file. ============================================================================
| |||||||||||||||||||
typedef Void(* | FnKfileGetSize )(IN Void *fileHandle, OUT Uint32 *size) | ||||||||||||||||||
KFILE_Interface | |||||||||||||||||||
Structure containing interface functions exported by the KFILE OSAL subcomponent. ============================================================================
| |||||||||||||||||||
typedef KFILE_Interface_tag | KFILE_Interface | ||||||||||||||||||
KFileObject | |||||||||||||||||||
Definition of the KFILE object used by all KFILE functions. ============================================================================
| |||||||||||||||||||
typedef KFileObject_tag | KFileObject | ||||||||||||||||||
KFILE_Seek | |||||||||||||||||||
Enumerates the values used for repositioning the file position indicator. ============================================================================
| |||||||||||||||||||
enum | KFILE_FileSeek { KFILE_SeekSet = 0x00, KFILE_SeekCur = 0x01, KFILE_SeekEnd = 0x02 } | ||||||||||||||||||
Defines | |||||||||||||||||||
#define | KFILEDEFS_H |
============================================================================
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ============================================================================
Definition in file kfiledefs.h.
|
Definition at line 44 of file kfiledefs.h. |
|
Definition at line 82 of file kfiledefs.h. |
|
Definition at line 146 of file kfiledefs.h. |
|
Definition at line 283 of file kfiledefs.h. |
|
Definition at line 118 of file kfiledefs.h. |
|
Definition at line 182 of file kfiledefs.h. |
|
Definition at line 224 of file kfiledefs.h. |
|
Definition at line 258 of file kfiledefs.h. |
|
|
|
|
|
Definition at line 69 of file kfiledefs.h. 00069 { 00070 KFILE_SeekSet = 0x00, 00071 KFILE_SeekCur = 0x01, 00072 KFILE_SeekEnd = 0x02 00073 } KFILE_FileSeek ;
|