Changeset 2438

Show
Ignore:
Timestamp:
08/11/07 09:05:27 (1 year ago)
Author:
paule
Message:

Fix code for converting todos, events & notes for xmlformat changes. Largely untested and alarm conversion code not complete due to vformat plugin not yet being finished.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/opie-sync/src/opie_format.h

    r2436 r2438  
    2626#define _OPIE_FORMAT_H 
    2727 
    28 void xml_node_to_attr(xmlNode *node_from, const char *nodename, xmlNode *node_to, const char *attrname); 
    2928void xmlfield_key_to_attr(OSyncXMLField *xmlfield, const char *key, xmlNode *node_to, const char *attrname); 
    30 time_t xml_node_vtime_to_attr_time_t(xmlNode *node_from, xmlNode *node_to, const char *attrname); 
    31 void xml_categories_to_attr(xmlNode *item_node, xmlNode *node_to, const char *category_attr); 
     29time_t xmlfield_vtime_to_attr_time_t(OSyncXMLField *xmlfield, xmlNode *node_to, const char *attrname); 
    3230void xmlfield_categories_to_attr(OSyncXMLField *in_xmlfield, xmlNode *node_to, const char *category_attr); 
    33 void xml_recur_attr_to_node(xmlNode *item_node, xmlNode *node_to, GDate *startdate); 
    34 void xml_recur_node_to_attr(xmlNode *item_node, xmlNode *node_to); 
    35 void xml_todo_alarm_attr_to_node(const char *alarmstr, xmlNode *node_to, time_t *starttime); 
    36 void xml_todo_alarm_node_to_attr(xmlNode *item_node, xmlNode *node_to); 
    37 void xml_cal_alarm_node_to_attr(xmlNode *item_node, xmlNode *node_to, time_t *starttime); 
     31void xml_recur_attr_to_xmlfield(xmlNode *item_node, OSyncXMLFormat *out_xmlformat, GDate *startdate, OSyncError **error); 
     32void xmlfield_recur_to_attr(OSyncXMLField *in_xmlfield, xmlNode *node_to); 
     33void xml_todo_alarm_attr_to_xmlfield(const char *alarmstr, OSyncXMLFormat *out_xmlformat, time_t *starttime, OSyncError **error); 
     34void xmlformat_todo_alarms_to_attr(OSyncXMLFormat *in_xmlformat, xmlNode *node_to); 
     35void xmlformat_cal_alarms_to_attr(OSyncXMLFormat *in_xmlformat, xmlNode *node_to, time_t *starttime); 
    3836 
    3937#endif /* _OPIE_FORMAT_H */