Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Macros | Functions | Variables
c_test.c File Reference
#include "leveldb/c.h"
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
Include dependency graph for c_test.c:

Go to the source code of this file.

Macros

#define CheckNoError(err)
 
#define CheckCondition(cond)
 

Functions

unsigned char FilterKeyMatch (void *arg, const char *key, size_t length, const char *filter, size_t filter_length)
 
int main (int argc, char **argv)
 

Variables

const char * phase = ""
 

Macro Definition Documentation

#define CheckCondition (   cond)
Value:
if (!(cond)) { \
fprintf(stderr, "%s:%d: %s: %s\n", __FILE__, __LINE__, phase, #cond); \
abort(); \
}
const char * phase
Definition: c_test.c:14

Definition at line 35 of file c_test.c.

#define CheckNoError (   err)
Value:
if ((err) != NULL) { \
fprintf(stderr, "%s:%d: %s: %s\n", __FILE__, __LINE__, phase, (err)); \
abort(); \
}
const char * phase
Definition: c_test.c:14

Definition at line 29 of file c_test.c.

Function Documentation

unsigned char FilterKeyMatch ( void *  arg,
const char *  key,
size_t  length,
const char *  filter,
size_t  filter_length 
)

Definition at line 148 of file c_test.c.

int main ( int  argc,
char **  argv 
)

Definition at line 157 of file c_test.c.

Variable Documentation

const char* phase = ""

Definition at line 14 of file c_test.c.