DSMCC
17.9.0
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Typedefs
include
fs_types.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3
* Copyright © 2013 Ocean Blue Software Ltd
4
*
5
* This file is part of a DTVKit Software Component
6
* You are permitted to copy, modify or distribute this file subject to the terms
7
* of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8
*
9
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11
* OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12
*
13
* If you or your organisation is not a member of DTVKit then you have access
14
* to this source code outside of the terms of the licence agreement
15
* and you are expected to delete this and any associated files immediately.
16
* Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17
*******************************************************************************/
25
#ifndef _FS_TYPES_H
26
#define _FS_TYPES_H
27
28
#include <
techtype.h
>
29
30
typedef
enum
31
{
32
FS_STATUS_OK,
33
FS_STATUS_PENDING,
34
FS_STATUS_NONE,
35
FS_STATUS_ABORT,
36
FS_STATUS_INVALID,
37
FS_STATUS_ERROR
38
} E_FsStatus;
39
40
typedef
void
*FS_HANDLE;
41
typedef
void (*F_DESTROY)( FS_HANDLE fs_handle );
42
43
/* STRUCTURE: S_CONTENT
44
* Used to return file data after requests to File systems
45
*/
46
typedef
struct
s_content
47
{
48
U32BIT size;
/* Size of data in bytes */
49
U8BIT *data;
/* Pointer to data.*/
50
F_DESTROY destroy;
/* Relevant destroy/destruct/clear function */
51
FS_HANDLE fs_handle;
/* File System Handle */
52
void
*user_data;
/* User Data */
53
}
S_CONTENT
;
54
61
typedef
void (*
F_FS_CALLBACK
)( E_FsStatus result,
S_CONTENT
*pContent );
62
63
#endif
/*_FS_TYPES_H*/
s_content
Definition:
fs_types.h:46
techtype.h
System Wide Global Technical Data Type Definitions.
F_FS_CALLBACK
void(* F_FS_CALLBACK)(E_FsStatus result, S_CONTENT *pContent)
Callback function to notify client of result for a file system load request. This is intented for asy...
Definition:
fs_types.h:61
Generated on Tue Sep 19 2017 17:09:55 for DSMCC by
1.8.6