#include <string.h>#include <dirent.h>#include <sys/stat.h>#include <xmlrpc-c/abyss.h>#include "abyss_file.h"

Go to the source code of this file.
Functions | |
| abyss_bool | FileClose (TFile *f) |
| void | FileFindClose (TFileFind *filefind) |
| abyss_bool | FileFindFirst (TFileFind *const filefind, const char *const path, TFileInfo *const fileinfo) |
| abyss_bool | FileFindNext (TFileFind *filefind, TFileInfo *fileinfo) |
| abyss_bool | FileOpen (TFile *f, const char *name, uint32_t attrib) |
| abyss_bool | FileOpenCreate (TFile *f, const char *name, uint32_t attrib) |
| int32_t | FileRead (TFile *f, void *buffer, uint32_t len) |
| abyss_bool | FileSeek (TFile *f, uint64_t pos, uint32_t attrib) |
| uint64_t | FileSize (TFile *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) |
| abyss_bool FileClose | ( | TFile * | f | ) |
Definition at line 112 of file abyss_file.c.
Referenced by ConfReadServerFile(), fileContainsText(), logClose(), logOpen(), readMIMETypesFile(), ServerDaemonize(), and ServerFileHandler().
| void FileFindClose | ( | TFileFind * | filefind | ) |
Definition at line 231 of file abyss_file.c.
References TFileFind::handle.
Referenced by generateListing().
| 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.
Referenced by FileFindFirst(), and generateListing().
| abyss_bool FileOpen | ( | TFile * | f, | |
| const char * | name, | |||
| uint32_t | attrib | |||
| ) |
Definition at line 53 of file abyss_file.c.
| abyss_bool FileOpenCreate | ( | TFile * | f, | |
| const char * | name, | |||
| uint32_t | attrib | |||
| ) |
Definition at line 62 of file abyss_file.c.
| int32_t FileRead | ( | TFile * | f, | |
| void * | buffer, | |||
| uint32_t | len | |||
| ) |
Definition at line 82 of file abyss_file.c.
| abyss_bool FileSeek | ( | TFile * | f, | |
| uint64_t | pos, | |||
| uint32_t | attrib | |||
| ) |
Definition at line 91 of file abyss_file.c.
| uint64_t FileSize | ( | TFile * | f | ) |
| 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