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

Function json_add_str_fmt

common/json_stream.c:175–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void json_add_str_fmt(struct json_stream *js,
176 const char *fieldname,
177 const char *fmt, ...)
178{
179 va_list ap;
180
181 if (json_filter_ok(js->filter, fieldname)) {
182 va_start(ap, fmt);
183 json_out_addv(js->jout, fieldname, true, fmt, ap);
184 va_end(ap);
185 }
186}
187
188void json_add_primitive(struct json_stream *js,
189 const char *fieldname,

Callers 10

json_add_opt_log_levelsFunction · 0.85
json_add_outpointFunction · 0.85
refresh_completeFunction · 0.85
jsonfmt_amount_satFunction · 0.85
json_add_blinded_pathsFunction · 0.85
json_add_invreq_fieldsFunction · 0.85
json_add_payer_proofFunction · 0.85
json_add_runeFunction · 0.85

Calls 2

json_out_addvFunction · 0.85
json_filter_okFunction · 0.70

Tested by

no test coverage detected