COOPY » Guide
version 0.6.5
|
#include "ssfossil.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string>
Go to the source code of this file.
Functions | |
int | fossil_main (int argc, char **argv) |
int | _ssfossil_exit (int result) |
int | _ssfossil_printf (const char *format,...) |
int | _ssfossil_fprintf (FILE *target, const char *format,...) |
int | db_close () |
int | ssfossil_debug () |
int | ssfossil_call (int argc, char *argv[]) |
void | ssfossil_set_handler (FossilHandler *handler) |
Variables | |
static int | __ssfossil_debug = 0 |
static FossilHandler * | _ssfossil_handler = NULL |
int _ssfossil_exit | ( | int | result | ) |
Definition at line 40 of file ssfossil.cpp.
References _ssfossil_handler, db_close(), and FossilHandler::exit().
int _ssfossil_fprintf | ( | FILE * | target, |
const char * | format, | ||
... | |||
) |
Definition at line 87 of file ssfossil.cpp.
References _ssfossil_handler, and FossilHandler::printf().
int _ssfossil_printf | ( | const char * | format, |
... | |||
) |
Definition at line 51 of file ssfossil.cpp.
References _ssfossil_handler, and FossilHandler::printf().
int db_close | ( | ) |
Referenced by _ssfossil_exit(), and ssfossil_call().
int fossil_main | ( | int | argc, |
char ** | argv | ||
) |
Referenced by ssfossil_call().
int ssfossil_call | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 24 of file ssfossil.cpp.
References __ssfossil_debug, db_close(), fossil_main(), and NULL.
Referenced by main().
int ssfossil_debug | ( | ) |
void ssfossil_set_handler | ( | FossilHandler * | handler | ) |
Definition at line 36 of file ssfossil.cpp.
References _ssfossil_handler.
int __ssfossil_debug = 0 [static] |
Definition at line 11 of file ssfossil.cpp.
Referenced by ssfossil_call(), and ssfossil_debug().
FossilHandler* _ssfossil_handler = NULL [static] |
Definition at line 12 of file ssfossil.cpp.
Referenced by _ssfossil_exit(), _ssfossil_fprintf(), _ssfossil_printf(), and ssfossil_set_handler().