rgb-cln/cli
Vincenzo Palazzo 35eaaf8e63 cli: change the redefine logic to read from the stdin
Procedure redefinition is a very cool feature but when other libraries redefine the same function can be very tricky to avoid compilation error.

This PR proposed a change of logic and use a customizzation function definition to read from the stdin, so we can avoid future error at compile time.

However, we could be check also the os or compiler that cause the error and redefine the missing function.

Changelog-None: Fixed compilation error due redefinition procedure.

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2022-01-19 10:36:43 +01:00
..
test cli: change the redefine logic to read from the stdin 2022-01-19 10:36:43 +01:00
Makefile lightning-cli: print notifications (with '# ' prefix) if received. 2020-10-23 13:53:16 +10:30
config_cli.h cli: change the redefine logic to read from the stdin 2022-01-19 10:36:43 +01:00
lightning-cli.c cli: change the redefine logic to read from the stdin 2022-01-19 10:36:43 +01:00