#include <string.h>#include "pam_kmux_options.h"
Go to the source code of this file.
Functions | |
| void | parse_options (int argc, const char **argv) |
| Read pam-stack-configuration. | |
| int | check_config_file (const char *path) |
| Check configuration file. | |
| int | read_config_file (modopts_t *options_container) |
| Read configuration file. | |
Configuration file processing. In this file all API-functions, that are used to process the configuration file and the pam-stack-options are defined.
| int check_config_file | ( | const char * | path | ) |
Check configuration file.
This function checks if the specified configuration file is valid. It only checks the file itself - not the content.
| path | Path to configuration file. |
| void parse_options | ( | int | argc, | |
| const char ** | argv | |||
| ) |
Read pam-stack-configuration.
This function read the pam_kmux-module options specified in the pam-stack.
| argc | Number of arguments. | |
| argv | Argument list. |
| int read_config_file | ( | modopts_t * | options_container | ) |
Read configuration file.
This function takes the valid configuration file and store the configured options into a list contained by the options_container.
| options_container | Container which will be filled whith information specified in the configuration file. |
1.6.3