24 #include "osm_inplace.h"
28 #if __STDC_VERSION__ < 199901L
30 #define __func__ __FUNCTION__
32 #define __func__ "<unknown>"
36 #define LOG_WARN LOG_WARNING
37 #define log_debug(fmt, x...) log_msg(LOG_DEBUG, "%s() " fmt, __func__, ## x)
38 #define log_warn(x...) log_msg(LOG_WARN, ## x)
40 #define DEG2RAD(x) ((x) * M_PI / 180.0)
41 #define RAD2DEG(x) ((x) * 180.0 / M_PI)
49 #elif defined(__GNUC__)
50 # define UNUSED(x) UNUSED_ ## x __attribute__((unused))
51 #elif defined(__LCLINT__)
58 typedef struct smrule smrule_t;
74 void *get_object(
int, int64_t);
75 int64_t unique_node_id(
void);
76 int64_t unique_way_id(
void);
77 void set_const_tag(
struct otag*,
char*,
char*);
80 int match_attr(
const osm_obj_t*,
const char *,
const char *);
81 char *get_param_err(
const char *,
double *,
const action_t *,
int *);
82 char *get_param(
const char*,
double*,
const action_t*);
83 char *get_parami(
const char*,
int*,
const action_t*);
84 int get_param_bool(
const char*,
const action_t*);
88 int coord_str(
double ,
int ,
char *,
int );
89 int func_name(
char *,
int ,
void *);
90 int put_object0(
bx_node_t**, int64_t,
void*,
int);
91 void *get_object0(
bx_node_t*, int64_t,
int);
92 int coord_str(
double,
int,
char*,
int);
93 int strcnt(
const char*,
int);
95 const char *safe_null_str(
const char *);
98 int log_msg(
int,
const char*, ...) __attribute__((format (printf, 2, 3)));
99 int log_errno(
int , const
char *);
102 void sm_threaded(smrule_t*);
103 int sm_thread_id(
void);
Definition: smaction.h:58
Definition: osm_inplace.h:48
Definition: smaction.h:68
Definition: smrender.h:65
Definition: osm_inplace.h:43
Definition: smrender.h:60