| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 2.11

 

xml_changed

#include "sflxml.h"
Bool
xml_changed (
    XML_ITEM *item)

Synopsis

Returns TRUE if the XML file loaded into the specified list has in the meantime been changed. Returns FALSE if not.

Source Code - (sflxml.c)

{
    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);
}

| << | < | > | >> iMatix Copyright © 1996-2000 iMatix Corporation