/*--- trigger.c -------------------------------------------------------------*/
-SR_API struct sr_trigger *sr_trigger_new(char *name);
+SR_API struct sr_trigger *sr_trigger_new(const char *name);
SR_API void sr_trigger_free(struct sr_trigger *trig);
SR_API struct sr_trigger_stage *sr_trigger_stage_add(struct sr_trigger *trig);
SR_API int sr_trigger_match_add(struct sr_trigger_stage *stage,
#define LOG_PREFIX "trigger"
/* * @endcond */
-SR_API struct sr_trigger *sr_trigger_new(char *name)
+SR_API struct sr_trigger *sr_trigger_new(const char *name)
{
struct sr_trigger *trig;