|
| iMatix home page | << | < | > | >> |
SFLVersion 2.11 |
#include "sflxml.h"
Bool
xml_changed (
XML_ITEM *item)
Returns TRUE if the XML file loaded into the specified list has in the meantime been changed. Returns FALSE if not.
{
char
*filename;
ASSERT (item);
/* Date, time, and name of original XML file are in the list */
filename = xml get attr (item, "filename", NULL);
if (filename
&& file has changed (filename,
atol (xml get attr (item, "filedate", "0")),
atol (xml get attr (item, "filetime", "0"))))
return (TRUE);
else
return (FALSE);
}
| | << | < | > | >> |
|