#include <fcntl.h>#include <sys/types.h>#include <sys/stat.h>#include <limits.h>#include <xmlrpc-c/abyss.h>#include <unistd.h>#include <dirent.h>


Go to the source code of this file.
Data Structures | |
| struct | finddata_t |
| struct | TFileFind |
Defines | |
| #define | A_SUBDIR 1 |
| #define | NAME_MAX 1024 |
| #define | O_BINARY 0 |
| #define | O_TEXT 0 |
Typedefs | |
| typedef int | TFile |
| typedef struct finddata_t | TFileInfo |
| typedef struct stat | TFileStat |
Functions | |
| abyss_bool | FileClose (TFile *const f) |
| void | FileFindClose (TFileFind *const filefind) |
| abyss_bool | FileFindFirst (TFileFind *const filefind, const char *const path, TFileInfo *const fileinfo) |
| abyss_bool | FileFindNext (TFileFind *const filefind, TFileInfo *const fileinfo) |
| abyss_bool | FileOpen (TFile *const f, const char *const name, uint32_t const attrib) |
| abyss_bool | FileOpenCreate (TFile *const f, const char *const name, uint32_t const attrib) |
| int32_t | FileRead (TFile *const f, void *const buffer, uint32_t const len) |
| abyss_bool | FileSeek (TFile *const f, uint64_t const pos, uint32_t const attrib) |
| uint64_t | FileSize (TFile *const f) |
| abyss_bool | FileStat (const char *const filename, TFileStat *const filestat) |
| abyss_bool | FileWrite (TFile *const f, const void *const buffer, uint32_t const len) |
| #define A_SUBDIR 1 |
Definition at line 33 of file abyss_file.h.
| #define NAME_MAX 1024 |
Definition at line 12 of file abyss_file.h.
| #define O_BINARY 0 |
Definition at line 34 of file abyss_file.h.
| #define O_TEXT 0 |
Definition at line 35 of file abyss_file.h.
| typedef int TFile |
Definition at line 81 of file abyss_file.h.
| typedef struct finddata_t TFileInfo |
| typedef struct stat TFileStat |
Definition at line 65 of file abyss_file.h.
| abyss_bool FileClose | ( | TFile *const | f | ) |
Definition at line 112 of file abyss_file.c.
| void FileFindClose | ( | TFileFind *const | filefind | ) |
| abyss_bool FileFindFirst | ( | TFileFind *const | filefind, | |
| const char *const | path, | |||
| TFileInfo *const | fileinfo | |||
| ) |
Definition at line 136 of file abyss_file.c.
References finddata_t::attrib, FALSE, FileFindNext(), TFileFind::handle, finddata_t::name, NAME_MAX, NULL, TFileFind::path, finddata_t::size, and finddata_t::time_write.
Definition at line 177 of file abyss_file.c.
References A_SUBDIR, finddata_t::attrib, FALSE, TFileFind::handle, finddata_t::name, NAME_MAX, TFileFind::path, finddata_t::size, finddata_t::time_write, and TRUE.
| abyss_bool FileOpen | ( | TFile *const | f, | |
| const char *const | name, | |||
| uint32_t const | attrib | |||
| ) |
Definition at line 53 of file abyss_file.c.
| abyss_bool FileOpenCreate | ( | TFile *const | f, | |
| const char *const | name, | |||
| uint32_t const | attrib | |||
| ) |
Definition at line 62 of file abyss_file.c.
| int32_t FileRead | ( | TFile *const | f, | |
| void *const | buffer, | |||
| uint32_t const | len | |||
| ) |
Definition at line 82 of file abyss_file.c.
| abyss_bool FileSeek | ( | TFile *const | f, | |
| uint64_t const | pos, | |||
| uint32_t const | attrib | |||
| ) |
Definition at line 91 of file abyss_file.c.
| uint64_t FileSize | ( | TFile *const | f | ) |
Definition at line 100 of file abyss_file.c.
| abyss_bool FileStat | ( | const char *const | filename, | |
| TFileStat *const | filestat | |||
| ) |
Definition at line 124 of file abyss_file.c.
| abyss_bool FileWrite | ( | TFile *const | f, | |
| const void *const | buffer, | |||
| uint32_t const | len | |||
| ) |
Definition at line 72 of file abyss_file.c.
1.5.6