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

Function db_col_bytes

db/bindings.c:277–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277size_t db_col_bytes(struct db_stmt *stmt, const char *colname)
278{
279 size_t col = db_query_colnum(stmt, colname);
280
281 if (db_column_null_warn(stmt, colname, col))
282 return 0;
283
284 return stmt->db->config->column_bytes_fn(stmt, col);
285}
286
287const void *db_col_blob(struct db_stmt *stmt, const char *colname)
288{

Callers 4

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

Calls 2

db_query_colnumFunction · 0.85
db_column_null_warnFunction · 0.85

Tested by

no test coverage detected