Diff of /branches/ports/maemo/src/osm.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 57 by achadwick, Sun Feb 8 19:38:50 2009 UTC revision 81 by achadwick, Sun Feb 15 23:43:10 2009 UTC
# Line 172  typedef struct member_s { Line 172  typedef struct member_s {
172      node_t *node;      node_t *node;
173      way_t *way;      way_t *way;
174      relation_t *relation;      relation_t *relation;
175        void *ptr;
176      item_id_t id;      item_id_t id;
177    };    };
178    
# Line 248  way_chain_t *osm_node_to_way(osm_t *osm, Line 249  way_chain_t *osm_node_to_way(osm_t *osm,
249  /* ----------- edit functions ----------- */  /* ----------- edit functions ----------- */
250  node_t *osm_node_new(osm_t *osm, gint x, gint y);  node_t *osm_node_new(osm_t *osm, gint x, gint y);
251  void osm_node_attach(osm_t *osm, node_t *node);  void osm_node_attach(osm_t *osm, node_t *node);
252    void osm_node_restore(osm_t *osm, node_t *node);
253  way_chain_t *osm_node_delete(osm_t *osm, struct icon_s **icon, node_t *node,  way_chain_t *osm_node_delete(osm_t *osm, struct icon_s **icon, node_t *node,
254                               gboolean permanently, gboolean affect_ways);                               gboolean permanently, gboolean affect_ways);
255  void osm_way_delete(osm_t *osm, struct icon_s **icon, way_t *way,  void osm_way_delete(osm_t *osm, struct icon_s **icon, way_t *way,
# Line 272  void osm_way_rotate(way_t *way, gint off Line 274  void osm_way_rotate(way_t *way, gint off
274  tag_t *osm_tags_copy(tag_t *tag, gboolean update_creator);  tag_t *osm_tags_copy(tag_t *tag, gboolean update_creator);
275    
276  char *osm_type_string(type_t type);  char *osm_type_string(type_t type);
277    char *osm_id_string(type_t type, void *object);
278    char *osm_object_string(type_t type, void *object);
279    tag_t *osm_object_get_tags(type_t type, void *object);
280    
281    relation_t *osm_relation_new(void);
282    void osm_relation_free(relation_t *relation);
283    void osm_relation_attach(osm_t *osm, relation_t *relation);
284    void osm_relation_delete(osm_t *osm, relation_t *relation,
285                             gboolean permanently);
286    gint osm_relation_members_num(relation_t *relation);
287    
288  #endif /* OSM_H */  #endif /* OSM_H */
289    

Legend:
Removed from v.57  
changed lines
  Added in v.81