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

Function db_col_blob

db/bindings.c:316–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316const void *db_col_blob(struct db_stmt *stmt, const char *colname)
317{
318 size_t col = db_query_colnum(stmt, colname);
319
320 if (db_column_null_warn(stmt, colname, col))
321 return NULL;
322
323 return stmt->db->config->column_blob_fn(stmt, col);
324}
325
326char *db_col_strdup(const tal_t *ctx,
327 struct db_stmt *stmt,

Callers 5

db_col_datastore_keyFunction · 0.85
wallet_stmt2channelFunction · 0.85
wallet_stmt2htlc_inFunction · 0.85
wallet_stmt2htlc_outFunction · 0.85

Calls 2

db_query_colnumFunction · 0.85
db_column_null_warnFunction · 0.85

Tested by

no test coverage detected