You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
435 B
16 lines
435 B
6 years ago
|
#ifndef LIGHTNING_TOOLS_TEST_ENUM_H
|
||
|
#define LIGHTNING_TOOLS_TEST_ENUM_H
|
||
|
#include <ccan/short_types/short_types.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
enum test_enum {
|
||
|
TEST_ONE,
|
||
|
TEST_TWO,
|
||
|
};
|
||
|
|
||
|
void towire_test_enum(u8 **pptr, const enum test_enum test_enum);
|
||
|
enum test_enum fromwire_test_enum(const u8 **cursor, size_t *max);
|
||
|
void printwire_test_enum(const char *fieldname, const enum test_enum *test_enum);
|
||
|
|
||
|
#endif /* LIGHTNING_TOOLS_TEST_ENUM_H */
|