Diff

Differences From Artifact [46fa13e1cf]:

To Artifact [6dd0b27349]:


1
2
3
4
5
6





7
8
9
10
11
12
13
!ifndef _RSK_LIBCONFIG_H
!define _RSK_LIBCONFIG_H

!ifdef __cplusplus
extern "C" {
!endif





__BLANK_LINE__

typedef enum {
        LC_CONF_SECTION,
        LC_CONF_APACHE,
        LC_CONF_COLON,
        LC_CONF_EQUAL,


<



>
>
>
>
>







1
2

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
!ifndef _RSK_LIBCONFIG_H
!define _RSK_LIBCONFIG_H

!ifdef __cplusplus
extern "C" {
!endif

__BLANK_LINE__

!define LC_VAR_LIST 0x80

__BLANK_LINE__

typedef enum {
        LC_CONF_SECTION,
        LC_CONF_APACHE,
        LC_CONF_COLON,
        LC_CONF_EQUAL,
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
        LC_VAR_TIME,
        LC_VAR_DATE,
        LC_VAR_SECTION,
        LC_VAR_SECTIONSTART,
        LC_VAR_SECTIONEND,
        LC_VAR_BOOL_BY_EXISTANCE,
        LC_VAR_SIZE_SIZE_T,
	LC_VAR_CIDR,
	LC_VAR_IP,
	LC_VAR_IP4,
	LC_VAR_IP6,
	LC_VAR_HOSTNAME4,
	LC_VAR_HOSTNAME6,
} lc_var_type_t;

__BLANK_LINE__

typedef enum {
        LC_FLAGS_VAR,
        LC_FLAGS_CMDLINE,







|
|
|
|
|
|







39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
        LC_VAR_TIME,
        LC_VAR_DATE,
        LC_VAR_SECTION,
        LC_VAR_SECTIONSTART,
        LC_VAR_SECTIONEND,
        LC_VAR_BOOL_BY_EXISTANCE,
        LC_VAR_SIZE_SIZE_T,
        LC_VAR_CIDR,
        LC_VAR_IP,
        LC_VAR_IP4,
        LC_VAR_IP6,
        LC_VAR_HOSTNAME4,
        LC_VAR_HOSTNAME6,
} lc_var_type_t;

__BLANK_LINE__

typedef enum {
        LC_FLAGS_VAR,
        LC_FLAGS_CMDLINE,
87
88
89
90
91
92
93

94
95
96
97
98
!define LC_CBRET_ERROR (-1)

__BLANK_LINE__

extern int lc_optind;

__BLANK_LINE__

!ifdef __cplusplus
}
!endif

!endif







>



<

91
92
93
94
95
96
97
98
99
100
101

102
!define LC_CBRET_ERROR (-1)

__BLANK_LINE__

extern int lc_optind;

__BLANK_LINE__

!ifdef __cplusplus
}
!endif

!endif