Changeset 2565

Show
Ignore:
Timestamp:
10/14/07 20:43:27 (1 year ago)
Author:
dgollub
Message:

Store <getchanges> in member configuration.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/opensync/group/opensync_member.c

    r2564 r2565  
    7878                        } else if (!xmlStrcmp(cur->name, (const xmlChar *)"read")) { 
    7979                                osync_objtype_sink_set_read(sink, atoi(str)); 
     80                        } else if (!xmlStrcmp(cur->name, (const xmlChar *)"getchanges")) { 
     81                                osync_objtype_sink_set_getchanges(sink, atoi(str)); 
    8082                        } else if (!xmlStrcmp(cur->name, (const xmlChar *)"write")) { 
    8183                                osync_objtype_sink_set_write(sink, atoi(str)); 
     
    505507                xmlNewChild(node, NULL, (xmlChar*)"enabled", osync_objtype_sink_is_enabled(sink) ? (xmlChar*)"1" : (xmlChar*)"0"); 
    506508                xmlNewChild(node, NULL, (xmlChar*)"read", osync_objtype_sink_get_read(sink) ? (xmlChar*)"1" : (xmlChar*)"0"); 
     509                xmlNewChild(node, NULL, (xmlChar*)"getchanges", osync_objtype_sink_get_getchanges(sink) ? (xmlChar*)"1" : (xmlChar*)"0"); 
    507510                xmlNewChild(node, NULL, (xmlChar*)"write", osync_objtype_sink_get_write(sink) ? (xmlChar*)"1" : (xmlChar*)"0"); 
    508511