Skip to content

Commit

Permalink
Finalize implementation of circuit in-memory cache
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreSenellart committed Jul 26, 2024
1 parent d1d17aa commit ad6f487
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/circuit_cache.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#ifndef CIRCUIT_CACHE_H
#define CIRCUIT_CACHE_H

#include "provsql_utils.h"

bool circuit_cache_create_gate(pg_uuid_t token, gate_type type, unsigned nb_children, pg_uuid_t *children);
unsigned circuit_cache_get_children(pg_uuid_t token, pg_uuid_t **children);
gate_type circuit_cache_get_type(pg_uuid_t token);

#endif /* CIRCUIT_CACHE_H */

0 comments on commit ad6f487

Please sign in to comment.