mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
patch db-fatal-plugin_err.patch
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include <common/node_id.h>
|
||||
#include <common/status_levels.h>
|
||||
#include <common/utils.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
struct json_out;
|
||||
struct plugin;
|
||||
@@ -226,6 +227,9 @@ struct command_result *command_param_failed(void);
|
||||
/* Call this on fatal error. */
|
||||
void NORETURN plugin_err(struct plugin *p, const char *fmt, ...);
|
||||
|
||||
/* Call this on fatal error. */
|
||||
void NORETURN plugin_errv(struct plugin *p, const char *fmt, va_list ap);
|
||||
|
||||
/* Normal exit (makes sure to flush output!). */
|
||||
void NORETURN plugin_exit(struct plugin *p, int exitcode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user