OSAPI
0.29
Open System API
fs_posix_type_dir.h
1
// *****************************************************************************************
2
//
3
// File description:
4
//
5
// Author: Joao Costa
6
// Purpose: FS type declarations for a directory element
7
//
8
// *****************************************************************************************
9
10
#ifndef OSAPI_FS_POSIX_TYPE_DIR_H_
11
#define OSAPI_FS_POSIX_TYPE_DIR_H_
12
13
// *****************************************************************************************
14
//
15
// Section: Import headers
16
//
17
// *****************************************************************************************
18
19
// Import POSIX type headers
20
#include <sys/types.h>
21
#include <dirent.h>
22
23
// Import module types
24
#include "fs/type/fs_type_ostate.h"
25
26
// *****************************************************************************************
27
//
28
// Section: Define POSIX specific types
29
//
30
// *****************************************************************************************
31
33
struct
osapi_fs_directory_info_S
34
{
35
t_fs_ostate
state
;
36
DIR *
handle
;
37
};
38
39
typedef
struct
osapi_fs_directory_info_S
t_fs_directoryInfo
;
40
41
typedef
struct
dirent t_dir_entry;
42
43
44
45
#endif
/* OSAPI_FS_POSIX_TYPE_DIR_H_ */
osapi_fs_directory_info_S
Structure describing a directory descriptor type.
Definition:
fs_posix_type_dir.h:33
osapi_fs_directory_info_S::state
t_fs_ostate state
Current state.
Definition:
fs_posix_type_dir.h:35
osapi_fs_directory_info_S::handle
DIR * handle
POSIX directory descriptor.
Definition:
fs_posix_type_dir.h:36
code
fs
posix
type
fs_posix_type_dir.h
Generated by
1.8.17