summaryrefslogtreecommitdiff
path: root/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/open.j2
blob: 289e67259f553c0cfeef57a5fe543279ab223aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{# SPDX-License-Identifier: GPL-2.0 #}

{% if annotate %}
/* struct {{ name }} */
{% endif %}
{% if name in public_apis %}
bool
{% else %}
static bool __maybe_unused
{% endif %}
xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr)
{