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

Function db_bind_text

db/bindings.c:84–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void db_bind_text(struct db_stmt *stmt, int pos, const char *val)
85{
86 assert(pos < tal_count(stmt->bindings));
87 stmt->bindings[pos].type = DB_BINDING_TEXT;
88 stmt->bindings[pos].v.text = val;
89 stmt->bindings[pos].len = strlen(val);
90}
91
92void db_bind_preimage(struct db_stmt *stmt, int pos, const struct preimage *p)
93{

Callers 15

db_migrateFunction · 0.85
wallet_state_change_addFunction · 0.85
wallet_peer_saveFunction · 0.85
wallet_payment_storeFunction · 0.85
wallet_offer_createFunction · 0.85
invoices_createFunction · 0.85
find_close_accountFunction · 0.85
add_payment_hash_descFunction · 0.85
find_chain_eventFunction · 0.85
account_get_balanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected