Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
os.c File Reference
#include "sqliteInt.h"
#include "os.h"

Go to the source code of this file.

Defines

#define _SQLITE_OS_C_   1

Functions

int sqlite3OsClose (OsFile **pId)
int sqlite3OsOpenDirectory (OsFile *id, const char *zName)
int sqlite3OsRead (OsFile *id, void *pBuf, int amt)
int sqlite3OsWrite (OsFile *id, const void *pBuf, int amt)
int sqlite3OsSeek (OsFile *id, i64 offset)
int sqlite3OsTruncate (OsFile *id, i64 size)
int sqlite3OsSync (OsFile *id, int fullsync)
void sqlite3OsSetFullSync (OsFile *id, int value)
int sqlite3OsFileSize (OsFile *id, i64 *pSize)
int sqlite3OsLock (OsFile *id, int lockType)
int sqlite3OsUnlock (OsFile *id, int lockType)
int sqlite3OsLockState (OsFile *id)
int sqlite3OsCheckReservedLock (OsFile *id)

Define Documentation

Definition at line 16 of file os.c.


Function Documentation

Definition at line 75 of file os.c.

                                          {
  return id->pMethod->xCheckReservedLock(id);
}

Here is the caller graph for this function:

int sqlite3OsClose ( OsFile **  pId)

Definition at line 26 of file os.c.

                                {
  OsFile *id;
  if( pId!=0 && (id = *pId)!=0 ){
    return id->pMethod->xClose(pId);
  }else{
    return SQLITE_OK;
  }
}

Here is the caller graph for this function:

int sqlite3OsFileSize ( OsFile id,
i64 pSize 
)

Definition at line 63 of file os.c.

                                             {
  return id->pMethod->xFileSize(id, pSize);
}

Here is the caller graph for this function:

int sqlite3OsLock ( OsFile id,
int  lockType 
)

Definition at line 66 of file os.c.

                                           {
  return id->pMethod->xLock(id, lockType);
}

Here is the caller graph for this function:

Definition at line 72 of file os.c.

                                  {
  return id->pMethod->xLockState(id);
}
int sqlite3OsOpenDirectory ( OsFile id,
const char *  zName 
)

Definition at line 34 of file os.c.

                                                         {
  return id->pMethod->xOpenDirectory(id, zName);
}

Here is the caller graph for this function:

int sqlite3OsRead ( OsFile id,
void pBuf,
int  amt 
)

Definition at line 37 of file os.c.

                                                  {
  return id->pMethod->xRead(id, pBuf, amt);
}

Here is the caller graph for this function:

int sqlite3OsSeek ( OsFile id,
i64  offset 
)

Definition at line 43 of file os.c.

                                         {
  return id->pMethod->xSeek(id, offset);
}

Here is the caller graph for this function:

void sqlite3OsSetFullSync ( OsFile id,
int  value 
)

Definition at line 52 of file os.c.

                                                {
  id->pMethod->xSetFullSync(id, value);
}

Here is the caller graph for this function:

int sqlite3OsSync ( OsFile id,
int  fullsync 
)

Definition at line 49 of file os.c.

                                           {
  return id->pMethod->xSync(id, fullsync);
}

Here is the caller graph for this function:

int sqlite3OsTruncate ( OsFile id,
i64  size 
)

Definition at line 46 of file os.c.

                                           {
  return id->pMethod->xTruncate(id, size);
}

Here is the caller graph for this function:

int sqlite3OsUnlock ( OsFile id,
int  lockType 
)

Definition at line 69 of file os.c.

                                             {
  return id->pMethod->xUnlock(id, lockType);
}

Here is the caller graph for this function:

int sqlite3OsWrite ( OsFile id,
const void pBuf,
int  amt 
)

Definition at line 40 of file os.c.

                                                         {
  return id->pMethod->xWrite(id, pBuf, amt);
}

Here is the caller graph for this function: