parse_pam_kmux_options.h File Reference

#include <string.h>
#include "pam_kmux_options.h"
Include dependency graph for parse_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.

Detailed Description

Configuration file processing. In this file all API-functions, that are used to process the configuration file and the pam-stack-options are defined.

Author:
Julian Thome
Date:
2009-11-12

Function Documentation

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.

Parameters:
path Path to configuration file.
Returns:
This function returns zero if everything is ok. Else a value less than zero will be returned.
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.

Parameters:
argc Number of arguments.
argv Argument list.
Returns:
Nothing to return.
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.

Parameters:
options_container Container which will be filled whith information specified in the configuration file.
Returns:
This function returns zero if everything is ok. Else a value less than zero will be returned.
Generated on Mon Apr 5 22:28:55 2010 for pam_kmux by  doxygen 1.6.3