Now also parse new diffs
[handlerosm.git] / handler_osm_delete.h
blobffdf41c2b81787171bf8dd713e6e9e1b2aa8da21
1 #include <cherokee/common-internal.h>
2 #include <cherokee/cherokee.h>
3 #include "handler_osm.h"
5 typedef enum { OSM_DELETE_FIRST = 0,
6 OSM_DELETE_NODE_ID,
7 OSM_DELETE_NODE_COMMAND,
8 OSM_DELETE_WAY_ID,
9 OSM_DELETE_WAY_COMMAND,
10 OSM_DELETE_RELATION_ID,
11 OSM_DELETE_RELATION_COMMAND,
12 OSM_DELETE_DONE } osm_state_delete_t;
14 ret_t cherokee_handler_osm_init_delete (cherokee_handler_osm_t *hdl);
15 ret_t delete_object_by_id(cherokee_handler_osm_t *hdl, unsigned long int id, osm_state_delete_t state);