abyss_file.h File Reference

#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>

Include dependency graph for abyss_file.h:

This graph shows which files directly or indirectly include this file:

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 Documentation

#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 Documentation

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.


Function Documentation

abyss_bool FileClose ( TFile *const   f  ) 

Definition at line 112 of file abyss_file.c.

void FileFindClose ( TFileFind *const   filefind  ) 

Definition at line 231 of file abyss_file.c.

References TFileFind::handle.

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 
)

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.


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