Author: kkaempf
Date: Mon Apr 7 15:39:44 2008
New Revision: 9423
URL: http://svn.opensuse.org/viewcvs/zypp?rev=9423&view=rev
Log:
support
Modified:
trunk/sat-solver/tools/repo_updateinfoxml.c
Modified: trunk/sat-solver/tools/repo_updateinfoxml.c
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/repo_updateinfoxml.c?rev=9423&r1=9422&r2=9423&view=diff
==============================================================================
--- trunk/sat-solver/tools/repo_updateinfoxml.c (original)
+++ trunk/sat-solver/tools/repo_updateinfoxml.c Mon Apr 7 15:39:44 2008
@@ -63,6 +63,7 @@
STATE_PACKAGE, /* 13 */
STATE_FILENAME, /* 14 */
STATE_REBOOT, /* 15 */
+ STATE_RESTART, /* 16 */
NUMSTATES
};
@@ -92,6 +93,7 @@
{ 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 }
};
@@ -354,6 +356,9 @@
/* True */
case STATE_REBOOT:
break;
+ /* True */
+ case STATE_RESTART:
+ break;
case NUMSTATES+1:
split(NULL, NULL, 0); /* just to keep gcc happy about tools_util.h: static ... split() {...} Urgs!*/
break;
@@ -448,6 +453,12 @@
repodata_set_str(pd->data, pd->datanum, UPDATE_REBOOT, pd->content);
}
break;
+ /* True */
+ case STATE_RESTART:
+ {
+ repodata_set_str(pd->data, pd->datanum, UPDATE_RESTART, pd->content);
+ }
+ break;
default:
break;
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org