[ADD/WIP] Start making a simple SAX parser, ASwerk

This commit is contained in:
LDA 2024-06-15 12:29:34 +02:00
commit 79217d3608
14 changed files with 1066 additions and 26 deletions

View file

@ -38,11 +38,11 @@ RouteHead(RouteTxns, arr, argp)
for (i = 0; i < ArraySize(events); i++)
{
HashMap *event = JsonValueAsObject(ArrayGet(events, i));
Log(LOG_INFO, "Event by '%s', with type '%s'",
JsonValueAsString(HashMapGet(event, "sender")),
JsonValueAsString(HashMapGet(event, "type"))
);
ParseeEventHandler(args->data->config, event);
}
/* TODO: Store TXN ID somewhere so that we can commit
* "Epic Matrix Idempotency" */
Log(LOG_INFO, "OK!");
response = HashMapCreate();