BitLab 0.1.0
BitLab: A Browser for the Bitcoin P2P Network and Blockchain
|
#include "bitlab.h"
#include <stdio.h>
#include <pthread.h>
#include <string.h>
#include "state.h"
#include "cli.h"
#include "utils.h"
#include "thread.h"
#include "peer_discovery.h"
Go to the source code of this file.
Functions | |
bitlab_result | run_bitlab (int argc, char *argv[]) |
Run the BitLab program. | |
bitlab_result run_bitlab | ( | int | argc, |
char * | argv[] | ||
) |
Run the BitLab program.
argc | The number of arguments. |
argv | The arguments. |
Definition at line 13 of file bitlab.c.
References BITLAB_LOG, BITLAB_RESULT_SUCCESS, cli_exec_line(), destroy_program_operation(), destroy_program_state(), finish_logging(), get_exit_flag(), guarded_print_line(), handle_cli(), handle_peer_discovery(), init_config_dir(), init_logging(), init_program_operation(), init_program_state(), LOG_BITLAB_FINISHED, LOG_BITLAB_STARTED, LOG_ERROR, LOG_INFO, log_message(), LOG_WARN, mark_started_with_parameters(), operation, state, thread_runner(), and usleep().
Referenced by main().