Koala Library
|
init library of the Koala extension board More...
Go to the source code of this file.
Functions | |
int | koala_init (int argc, char *argv[]) |
void | koala_exit (void) |
Variables | |
static int | koala_init_done = 0 |
struct option | opts [] |
char | short_opts [] = "d:v" |
init library of the Koala extension board
Definition in file koala_init.c.
void koala_exit | ( | void | ) |
This function is called automatically on exit and call the 'exit' of all sub layer.
Definition at line 121 of file koala_init.c.
References koala_init_done, and koala_robot_release().
Referenced by koala_init().
int koala_init | ( | int | argc, |
char * | argv[] | ||
) |
This function initializes the koala Library
argc | number of arguments |
argv | pointer table of arguments |
Definition at line 72 of file koala_init.c.
References koala_exit(), koala_init_done, KOALA_REVISION, koala_robot_init(), KOALA_VERSION, opts, and short_opts.
Referenced by main().
int koala_init_done = 0 [static] |
Definition at line 44 of file koala_init.c.
Referenced by koala_exit(), and koala_init().
struct option opts[] |
{ { "debug" , 0 , 0 , 'd' } , { "version" , 0 , 0 , 'v' } , { NULL , 0 , 0 , 0 } }
Definition at line 47 of file koala_init.c.
Referenced by koala_init().
char short_opts[] = "d:v" |
Definition at line 54 of file koala_init.c.
Referenced by koala_init().