mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
71b8a07c56
These tables could use a rework, as they largely reflect our internal state. But it's a start. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
12 lines
324 B
C
12 lines
324 B
C
#ifndef LIGHTNING_NAMES_H
|
|
#define LIGHTNING_NAMES_H
|
|
#include "config.h"
|
|
#include "lightning.pb-c.h"
|
|
#include "state_types.h"
|
|
|
|
const char *state_name(enum state s);
|
|
enum state name_to_state(const char *name);
|
|
const char *input_name(enum state_input in);
|
|
const char *pkt_name(Pkt__PktCase pkt);
|
|
#endif /* LIGHTNING_NAMES_H */
|