Skip to content

Commit b4ead97

Browse files
cdeckerrustyrussell
authored andcommitted
tlv: Allow passing some extra types to accept when parsing the stream
1 parent b68acb8 commit b4ead97

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+91
-69
lines changed

channeld/channeld_wiregen.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

channeld/channeld_wiregen.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

closingd/closingd_wiregen.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

closingd/closingd_wiregen.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/peer_status_wiregen.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/peer_status_wiregen.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/status_wiregen.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/status_wiregen.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/test/run-gossmap_local.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ bool fromwire_tlv(const u8 **cursor UNNEEDED, size_t *max UNNEEDED,
2424
void *record UNNEEDED, struct tlv_field **fields UNNEEDED)
2525
{ fprintf(stderr, "fromwire_tlv called!\n"); abort(); }
2626
/* Generated stub for tlv_fields_valid */
27-
bool tlv_fields_valid(const struct tlv_field *fields UNNEEDED, size_t *err_index UNNEEDED)
27+
bool tlv_fields_valid(const struct tlv_field *fields UNNEEDED, u64 *allow_extra UNNEEDED,
28+
size_t *err_index UNNEEDED)
2829
{ fprintf(stderr, "tlv_fields_valid called!\n"); abort(); }
2930
/* Generated stub for towire_bigsize */
3031
void towire_bigsize(u8 **pptr UNNEEDED, const bigsize_t val UNNEEDED)

common/test/run-json.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ bool fromwire_tlv(const u8 **cursor UNNEEDED, size_t *max UNNEEDED,
1919
bool node_id_from_hexstr(const char *str UNNEEDED, size_t slen UNNEEDED, struct node_id *id UNNEEDED)
2020
{ fprintf(stderr, "node_id_from_hexstr called!\n"); abort(); }
2121
/* Generated stub for tlv_fields_valid */
22-
bool tlv_fields_valid(const struct tlv_field *fields UNNEEDED, size_t *err_index UNNEEDED)
22+
bool tlv_fields_valid(const struct tlv_field *fields UNNEEDED, u64 *allow_extra UNNEEDED,
23+
size_t *err_index UNNEEDED)
2324
{ fprintf(stderr, "tlv_fields_valid called!\n"); abort(); }
2425
/* Generated stub for towire_tlv */
2526
void towire_tlv(u8 **pptr UNNEEDED,

0 commit comments

Comments
 (0)