abyss_file.c File Reference

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

Include dependency graph for abyss_file.c:

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)


Function Documentation

abyss_bool FileClose ( TFile f  ) 

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 
)

abyss_bool FileFindNext ( TFileFind filefind,
TFileInfo fileinfo 
)

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  ) 

Definition at line 100 of file abyss_file.c.

Referenced by ServerFileHandler().

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.


Generated on Thu May 17 10:00:33 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6