|
@@ -26,6 +26,7 @@
|
|
#define SREV_NET_DATA_IN 1
|
|
#define SREV_NET_DATA_IN 1
|
|
#define SREV_NET_DATA_OUT 2
|
|
#define SREV_NET_DATA_OUT 2
|
|
#define SREV_CORE_STATS 3
|
|
#define SREV_CORE_STATS 3
|
|
|
|
+#define SREV_CFG_RUN_ACTION 4
|
|
|
|
|
|
typedef int (*sr_event_cb_f)(void *data);
|
|
typedef int (*sr_event_cb_f)(void *data);
|
|
|
|
|
|
@@ -33,6 +34,7 @@ typedef struct sr_event_cb {
|
|
sr_event_cb_f net_data_in;
|
|
sr_event_cb_f net_data_in;
|
|
sr_event_cb_f net_data_out;
|
|
sr_event_cb_f net_data_out;
|
|
sr_event_cb_f core_stats;
|
|
sr_event_cb_f core_stats;
|
|
|
|
+ sr_event_cb_f run_action;
|
|
} sr_event_cb_t;
|
|
} sr_event_cb_t;
|
|
|
|
|
|
void sr_event_cb_init(void);
|
|
void sr_event_cb_init(void);
|