xref: /linux/tools/net/sunrpc/xdrgen/templates/C/union/decoder/string.j2 (revision 577f88cf24e4532c0f802596c7452da583d79ea6)
1{# SPDX-License-Identifier: GPL-2.0 #}
2{% if annotate %}
3		/* member {{ name }} (variable-length string) */
4{% endif %}
5		if (!xdrgen_decode_string(xdr, (struct string *)ptr->u.{{ name }}, {{ maxsize }}))
6			return false;
7