pam_pkcs11 0.6.12
internal.h File Reference

Go to the source code of this file.

Data Structures

struct  _scconf_parser
 

Macros

#define TOKEN_TYPE_COMMENT   0
 
#define TOKEN_TYPE_NEWLINE   1
 
#define TOKEN_TYPE_STRING   2
 
#define TOKEN_TYPE_PUNCT   3
 

Typedefs

typedef struct _scconf_parser scconf_parser
 

Functions

int scconf_lex_parse (scconf_parser *parser, const char *filename)
 
int scconf_lex_parse_string (scconf_parser *parser, const char *config_string)
 
void scconf_parse_token (scconf_parser *parser, int token_type, const char *token)
 

Macro Definition Documentation

◆ TOKEN_TYPE_COMMENT

#define TOKEN_TYPE_COMMENT   0

Definition at line 29 of file internal.h.

◆ TOKEN_TYPE_NEWLINE

#define TOKEN_TYPE_NEWLINE   1

Definition at line 30 of file internal.h.

◆ TOKEN_TYPE_PUNCT

#define TOKEN_TYPE_PUNCT   3

Definition at line 32 of file internal.h.

◆ TOKEN_TYPE_STRING

#define TOKEN_TYPE_STRING   2

Definition at line 31 of file internal.h.

Typedef Documentation

◆ scconf_parser

typedef struct _scconf_parser scconf_parser

Function Documentation

◆ scconf_lex_parse()

int scconf_lex_parse ( scconf_parser * parser,
const char * filename )
extern

◆ scconf_lex_parse_string()

int scconf_lex_parse_string ( scconf_parser * parser,
const char * config_string )
extern

◆ scconf_parse_token()

void scconf_parse_token ( scconf_parser * parser,
int token_type,
const char * token )
extern