upscaledb  2.2.1
Macros | Functions
db1.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ups/upscaledb.h>

Go to the source code of this file.

Macros

#define LOOP   10
 
#define DATABASE_NAME   1
 

Functions

void error (const char *foo, ups_status_t st)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

#define DATABASE_NAME   1

Definition at line 29 of file db1.c.

Referenced by main().

#define LOOP   10

A simple example which creates a database, inserts some values, looks them up and erases them.

Definition at line 28 of file db1.c.

Referenced by main().

Function Documentation

void error ( const char *  foo,
ups_status_t  st 
)

Definition at line 32 of file db1.c.

References ups_strerror().

Referenced by main().

int main ( int  argc,
char **  argv 
)