pam_pkcs11 0.6.12
internal.h
Go to the documentation of this file.
1/*
2 * $Id$
3 *
4 * Copyright (C) 2002
5 * Antti Tapaninen <aet@cc.hut.fi>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21
22#ifndef _SCCONF_INTERNAL_H
23#define _SCCONF_INTERNAL_H
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29#define TOKEN_TYPE_COMMENT 0
30#define TOKEN_TYPE_NEWLINE 1
31#define TOKEN_TYPE_STRING 2
32#define TOKEN_TYPE_PUNCT 3
33
51
52extern int scconf_lex_parse(scconf_parser * parser, const char *filename);
54 const char *config_string);
55extern void scconf_parse_token(scconf_parser * parser, int token_type, const char *token);
56
57#ifdef __cplusplus
58}
59#endif
60#endif
struct _scconf_parser scconf_parser
int scconf_lex_parse_string(scconf_parser *parser, const char *config_string)
int scconf_lex_parse(scconf_parser *parser, const char *filename)
void scconf_parse_token(scconf_parser *parser, int token_type, const char *token)
struct _scconf_list scconf_list
struct _scconf_block scconf_block
Definition scconf.h:55
struct _scconf_item scconf_item
scconf_list * name
Definition internal.h:41
unsigned int error
Definition internal.h:47
unsigned int warnings
Definition internal.h:48
char emesg[256]
Definition internal.h:49
scconf_item * current_item
Definition internal.h:38
scconf_item * last_item
Definition internal.h:38
scconf_block * block
Definition internal.h:37
scconf_context * config
Definition internal.h:35
int last_token_type
Definition internal.h:44