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

Function db_bind_int

db/bindings.c:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void db_bind_int(struct db_stmt *stmt, int pos, int val)
40{
41 assert(pos < tal_count(stmt->bindings));
42 memcheck(&val, sizeof(val));
43 stmt->bindings[pos].type = DB_BINDING_INT;
44 stmt->bindings[pos].v.i = val;
45}
46
47int db_col_int(struct db_stmt *stmt, const char *colname)
48{

Callers 15

db_migrateFunction · 0.85
migrate_last_tx_to_psbtFunction · 0.85
wallet_add_utxoFunction · 0.85
wallet_get_utxosFunction · 0.85
wallet_utxo_getFunction · 0.85
db_set_utxoFunction · 0.85
wallet_find_utxoFunction · 0.85
wallet_add_onchaind_utxoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected