kb_config_test.c File Reference

dump the content of the Korebot library configuration files. (usually located in /etc/korebot to the standard output. useful for debug purpose. More...

Include dependency graph for kb_config_test.c:

Go to the source code of this file.

Functions

int print_register (const char *name, kb_register_config_t *reg, void *context)
int print_device (const char *name, kb_device_config_t *device, void *context)
int print_section (const char *name, kb_section_config_t *section, void *context)
int main (int argc, char *argv[])


Detailed Description

dump the content of the Korebot library configuration files. (usually located in /etc/korebot to the standard output. useful for debug purpose.

korebot lib config module test

Author:
CÚdric Gaudin (K-Team SA)

Pierre Bureau (K-Team SA)

Note:
Copyright (C) 2004 K-TEAM SA

Definition in file kb_config_test.c.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 55 of file kb_config_test.c.

References buf, kb_enum_section(), kb_init(), kb_set_debug_level(), koala, and print_section().

Here is the call graph for this function:

int print_device ( const char *  name,
kb_device_config_t device,
void *  context 
)

Definition at line 35 of file kb_config_test.c.

References kb_msg().

Referenced by print_section().

Here is the call graph for this function:

int print_register ( const char *  name,
kb_register_config_t reg,
void *  context 
)

Definition at line 27 of file kb_config_test.c.

References kb_msg().

Referenced by print_section().

Here is the call graph for this function:

int print_section ( const char *  name,
kb_section_config_t section,
void *  context 
)

Definition at line 44 of file kb_config_test.c.

References kb_enum_device(), kb_enum_register(), kb_msg(), print_device(), and print_register().

Referenced by main().

Here is the call graph for this function:


Generated on Wed Dec 15 11:49:27 2010 for KoreBot Library by  doxygen 1.5.5