summaryrefslogtreecommitdiff
path: root/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/fixed_length_opaque.j2
blob: 07bc91919898aa6e777b8c50a3b67739d8434692 (plain)
1
2
3
4
5
6
{# SPDX-License-Identifier: GPL-2.0 #}
{% if annotate %}
	/* member {{ name }} (fixed-length opaque) */
{% endif %}
	if (xdr_stream_encode_opaque_fixed(xdr, value->{{ name }}, {{ size }}) < 0)
		return false;