girara
Functions
config.h File Reference
#include "types.h"
Include dependency graph for config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void girara_config_parse (girara_session_t *session, const char *path)
 
bool girara_config_handle_add (girara_session_t *session, const char *identifier, girara_command_function_t handle)
 

Function Documentation

bool girara_config_handle_add ( girara_session_t *  session,
const char *  identifier,
girara_command_function_t  handle 
)

Adds an additional config handler

Parameters
sessionThe girara session
identifierIdentifier of the handle
handleHandle
Returns
true if no error occured, otherwise false
void girara_config_parse ( girara_session_t *  session,
const char *  path 
)

Parses and evaluates a configuration file

Parameters
sessionThe used girara session
pathPath to the configuration file