Events helper functions.
More...
#include "compile_time.h"
#include "src/lib/mem.h"
#include "src/lib/sds_extras.h"
#include "src/scripts/events.h"
#include <string.h>
◆ script_execute_data_free()
Frees the script_execute_data struct
- Parameters
-
| data | script_execute_data struct |
◆ script_execute_data_free_void()
| void script_execute_data_free_void |
( |
void * |
data | ) |
|
Frees the script_execute_data struct
- Parameters
-
| data | script_execute_data struct |
◆ script_execute_data_new()
Creates the script_execute_data struct
- Parameters
-
| scriptname | script name |
| script_event | script start event |
- Returns
- newly allocated struct
◆ script_start_event_name()
Returns the name for the script start event
- Parameters
-
| start_event | start event enum |
- Returns
- start event name or empty if unknown
◆ script_start_event_parse()
Parses the name for the script start event
- Parameters
-
- Returns
- script_start_event enum