hamsterdb Embedded Database 1.1.15
Defines | Functions
client1.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ham/hamsterdb.h>

Go to the source code of this file.

Defines

#define LOOP   10

Functions

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

Define Documentation

#define LOOP   10

Copyright (C) 2005-2008 Christoph Rupp (chris@crupp.de).

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See files COPYING.* for License information.

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

Definition at line 21 of file client1.c.

Referenced by main().


Function Documentation

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