xref: /linux/tools/net/sunrpc/xdrgen/templates/C/union/decoder/open.j2 (revision 06a130e42a5bfc84795464bff023bff4c16f58c5)
1{# SPDX-License-Identifier: GPL-2.0 #}
2
3{% if annotate %}
4/* union {{ name }} */
5{% endif %}
6{% if name in public_apis %}
7bool
8{% else %}
9static bool __maybe_unused
10{% endif %}
11xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr)
12{
13