upscaledb  2.2.1
Macros | Functions
client1.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   1000
 

Functions

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

Macro Definition Documentation

#define LOOP   1000

A simple example which connects to a upscaledb server (see server1.c), creates a database, inserts some values, looks them up and erases them.

Definition at line 28 of file client1.c.

Referenced by main().

Function Documentation

void error ( const char *  foo,
ups_status_t  st 
)

Definition at line 31 of file client1.c.

References ups_strerror().

Referenced by main().

int main ( int  argc,
char **  argv 
)