You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add wolfsentry_event.decision_event and related logic;
improve wolfsentry_kv_get_1() to tolerate getting an _SINT with a non-negative value by requesting a _UINT;
improve wolfsentry_route_event_dispatch_1() to use _ACTION_RES_INSERT|_ACTION_RES_DELETE and an OK return value, to report "no entry was found or added" (and expunge WOLFSENTRY_ERROR_ID_NOT_INSERTED);
add wolfsentry_action_res_decode().
#defineWOLFSENTRY_TABLE_HEADER_RESET(table) do { \
168
168
(table).head = (table).tail = NULL; \
169
169
(table).n_ents = 0; \
170
+
(table).n_inserts = 0; \
171
+
(table).n_deletes = 0; \
170
172
} while (0)
171
173
172
174
structwolfsentry_cursor {
@@ -215,6 +217,7 @@ struct wolfsentry_event {
215
217
structwolfsentry_event*insert_event; /* child event with setup routines (if any) for routes inserted with this as parent_event. */
216
218
structwolfsentry_event*match_event; /* child event with state management for routes inserted with this as parent_event. */
217
219
structwolfsentry_event*delete_event; /* child event with cleanup routines (if any) for routes inserted with this as parent_event. */
220
+
structwolfsentry_event*decision_event; /* child event with logic for notifications and logging around decisions for routes inserted with this as parent_event. */
0 commit comments