common: move json_stream from lightningd/ to common/

It's not lightningd-specific and we are going to need it for libplugin. The only
drawback is the log_io removal in json_stream_output_write()..
This commit is contained in:
darosior
2020-01-20 10:23:55 +01:00
committed by Rusty Russell
parent 9030e5d779
commit d35387f489
9 changed files with 11 additions and 14 deletions

View File

@@ -6,6 +6,7 @@
#include <common/features.h>
#include <common/json_command.h>
#include <common/json_helpers.h>
#include <common/json_stream.h>
#include <common/jsonrpc_errors.h>
#include <common/memleak.h>
#include <common/node_id.h>
@@ -21,7 +22,6 @@
#include <lightningd/connect_control.h>
#include <lightningd/hsm_control.h>
#include <lightningd/json.h>
#include <lightningd/json_stream.h>
#include <lightningd/jsonrpc.h>
#include <lightningd/lightningd.h>
#include <lightningd/log.h>