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

Function db_bind_text

db/bindings.c:95–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void db_bind_text(struct db_stmt *stmt, const char *val)
96{
97 size_t pos = check_bind_pos(stmt);
98 stmt->bindings[pos].type = DB_BINDING_TEXT;
99 stmt->bindings[pos].v.text = val;
100 stmt->bindings[pos].len = strlen(val);
101}
102
103void db_bind_preimage(struct db_stmt *stmt, const struct preimage *p)
104{

Callers 15

db_migrateFunction · 0.85
migrate_normalize_invstrFunction · 0.85
move_accounts_idFunction · 0.85
wallet_state_change_addFunction · 0.85
wallet_peer_saveFunction · 0.85
wallet_add_paymentFunction · 0.85
wallet_offer_createFunction · 0.85
db_rune_insertFunction · 0.85

Calls 1

check_bind_posFunction · 0.85

Tested by

no test coverage detected