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

Function db_col_blob

db/bindings.c:287–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287const void *db_col_blob(struct db_stmt *stmt, const char *colname)
288{
289 size_t col = db_query_colnum(stmt, colname);
290
291 if (db_column_null_warn(stmt, colname, col))
292 return NULL;
293
294 return stmt->db->config->column_blob_fn(stmt, col);
295}
296
297char *db_col_strdup(const tal_t *ctx,
298 struct db_stmt *stmt,

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