Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
os_common.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SEEK(X)
#define TRACE1(X)
#define TRACE2(X, Y)
#define TRACE3(X, Y, Z)
#define TRACE4(X, Y, Z, A)
#define TRACE5(X, Y, Z, A, B)
#define TRACE6(X, Y, Z, A, B, C)
#define TRACE7(X, Y, Z, A, B, C, D)
#define TIMER_START
#define TIMER_END
#define TIMER_ELAPSED   0
#define SimulateIOError(A)
#define SimulateDiskfullError
#define OpenCounter(X)

Functions

voidsqlite3GenericMalloc (int n)
voidsqlite3GenericRealloc (void *p, int n)
void sqlite3GenericFree (void *p)
int sqlite3GenericAllocationSize (void *p)

Variables

int sqlite3_os_trace = 0

Define Documentation

Definition at line 123 of file os_common.h.

#define SEEK (   X)

Definition at line 52 of file os_common.h.

Definition at line 113 of file os_common.h.

Definition at line 112 of file os_common.h.

Definition at line 82 of file os_common.h.

Definition at line 81 of file os_common.h.

Definition at line 80 of file os_common.h.

#define TRACE1 (   X)

Definition at line 53 of file os_common.h.

#define TRACE2 (   X,
 
)

Definition at line 54 of file os_common.h.

#define TRACE3 (   X,
  Y,
 
)

Definition at line 55 of file os_common.h.

#define TRACE4 (   X,
  Y,
  Z,
  A 
)

Definition at line 56 of file os_common.h.

#define TRACE5 (   X,
  Y,
  Z,
  A,
  B 
)

Definition at line 57 of file os_common.h.

#define TRACE6 (   X,
  Y,
  Z,
  A,
  B,
  C 
)

Definition at line 58 of file os_common.h.

#define TRACE7 (   X,
  Y,
  Z,
  A,
  B,
  C,
  D 
)

Definition at line 59 of file os_common.h.


Function Documentation

Definition at line 187 of file os_common.h.

{ return 0; }

Definition at line 182 of file os_common.h.

                                {
  assert(p);
  free(p);
}

Definition at line 173 of file os_common.h.

                                 {
  char *p = (char *)malloc(n);
  return (void *)p;
}
void* sqlite3GenericRealloc ( void p,
int  n 
)

Definition at line 177 of file os_common.h.

                                           {
  assert(n>0);
  p = realloc(p, n);
  return p;
}

Here is the call graph for this function:


Variable Documentation

Definition at line 39 of file os_common.h.