STATE_PACKAGE, /* 13 */
STATE_FILENAME, /* 14 */
STATE_REBOOT, /* 15 */
+ STATE_RESTART, /* 16 */
NUMSTATES
};
{ STATE_COLLECTION, "package", STATE_PACKAGE, 0 },
{ STATE_PACKAGE, "filename", STATE_FILENAME, 1 },
{ STATE_PACKAGE, "reboot_suggested",STATE_REBOOT, 1 },
+ { STATE_PACKAGE, "restart_suggested",STATE_RESTART, 1 },
{ NUMSTATES }
};
/* <reboot_suggested>True</reboot_suggested> */
case STATE_REBOOT:
break;
+ /* <restart_suggested>True</restart_suggested> */
+ case STATE_RESTART:
+ break;
case NUMSTATES+1:
split(NULL, NULL, 0); /* just to keep gcc happy about tools_util.h: static ... split() {...} Urgs!*/
break;
repodata_set_str(pd->data, pd->datanum, UPDATE_REBOOT, pd->content);
}
break;
+ /* <restart_suggested>True</restart_suggested> */
+ case STATE_RESTART:
+ {
+ repodata_set_str(pd->data, pd->datanum, UPDATE_RESTART, pd->content);
+ }
+ break;
default:
break;
}