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

Function json_stream_dup

common/json_stream.c:52–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52struct json_stream *json_stream_dup(const tal_t *ctx,
53 struct json_stream *original,
54 struct log *log)
55{
56 struct json_stream *js = tal_dup(ctx, struct json_stream, original);
57
58 js->jout = json_out_dup(js, original->jout);
59 js->log = log;
60 return js;
61}
62
63/**
64 * json_stream_still_writing - is someone currently writing to this stream?

Callers 1

plugin_single_notifyFunction · 0.85

Calls 1

json_out_dupFunction · 0.85

Tested by

no test coverage detected