1 #include <cherokee/common-internal.h>
2 #include <cherokee/cherokee.h>
3 #include "handler_osm.h"
5 typedef enum { OSM_DELETE_FIRST
= 0,
7 OSM_DELETE_NODE_COMMAND
,
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
);