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