MCPcopy Create free account
hub / github.com/ElementsProject/lightning / db_bind_int

Function db_bind_int

db/bindings.c:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void db_bind_int(struct db_stmt *stmt, int val)
44{
45 size_t pos = check_bind_pos(stmt);
46 memcheck(&val, sizeof(val));
47 stmt->bindings[pos].type = DB_BINDING_INT;
48 stmt->bindings[pos].v.i = val;
49}
50
51int db_col_int(struct db_stmt *stmt, const char *colname)
52{

Callers 15

mainFunction · 0.85
migrate_from_account_dbFunction · 0.85
db_migrateFunction · 0.85
migrate_last_tx_to_psbtFunction · 0.85
wallet_add_utxoFunction · 0.85

Calls 1

check_bind_posFunction · 0.85

Tested by

no test coverage detected