218 |
%token SSLAUTO SSLV2 SSLV3 TLSV1 |
%token SSLAUTO SSLV2 SSLV3 TLSV1 |
219 |
%token BYTE KILOBYTE MEGABYTE GIGABYTE |
%token BYTE KILOBYTE MEGABYTE GIGABYTE |
220 |
%token INODE SPACE PERM |
%token INODE SPACE PERM |
221 |
|
%token EXEC |
222 |
|
|
223 |
%left GREATER LESS EQUAL NOTEQUAL |
%left GREATER LESS EQUAL NOTEQUAL |
224 |
|
|
271 |
| depend |
| depend |
272 |
| resource resourcecycle action { |
| resource resourcecycle action { |
273 |
resourceset.action= $<number>3; |
resourceset.action= $<number>3; |
274 |
|
if((resourceset.action == ACTION_EXEC) && command) { |
275 |
|
command->events |= EVENT_RESOURCE; |
276 |
|
addcommand(EXEC); |
277 |
|
} |
278 |
addresource(&resourceset); |
addresource(&resourceset); |
279 |
} |
} |
280 |
; |
; |
752 |
timestampset.operator= $<number>3; |
timestampset.operator= $<number>3; |
753 |
timestampset.time= ($4 * $<number>5); |
timestampset.time= ($4 * $<number>5); |
754 |
timestampset.action= $<number>6; |
timestampset.action= $<number>6; |
755 |
|
if((timestampset.action == ACTION_EXEC) && command) { |
756 |
|
command->events |= EVENT_TIMESTAMP; |
757 |
|
addcommand(EXEC); |
758 |
|
} |
759 |
} |
} |
760 |
; |
; |
761 |
|
|
776 |
action : ALERT { $<number>$= ACTION_ALERT; } |
action : ALERT { $<number>$= ACTION_ALERT; } |
777 |
| RESTART { $<number>$= ACTION_RESTART; } |
| RESTART { $<number>$= ACTION_RESTART; } |
778 |
| STOP { $<number>$= ACTION_STOP; } |
| STOP { $<number>$= ACTION_STOP; } |
779 |
|
| EXEC argumentlist { $<number>$= ACTION_EXEC; } |
780 |
|
| EXEC argumentlist useroptionlist { $<number>$= ACTION_EXEC; } |
781 |
; |
; |
782 |
|
|
783 |
inode : INODE operator NUMBER action { |
inode : INODE operator NUMBER action { |
1278 |
static void addcommand(int what) { |
static void addcommand(int what) { |
1279 |
|
|
1280 |
switch(what) { |
switch(what) { |
1281 |
|
case START: current->start= command; break; |
1282 |
case START: current->start= command; break; |
case STOP: current->stop= command; break; |
1283 |
case STOP: current->stop= command; break; |
case EXEC: |
1284 |
|
if(current->execlist != NULL) { |
1285 |
|
command->next= current->execlist; |
1286 |
|
} |
1287 |
|
current->execlist= command; |
1288 |
|
break; |
1289 |
} |
} |
1290 |
|
|
1291 |
command= NULL; |
command= NULL; |
1963 |
depend_list= s; |
depend_list= s; |
1964 |
|
|
1965 |
} |
} |
1966 |
|
|