xref: /linux/tools/net/sunrpc/xdrgen/templates/C/union/decoder/string.j2 (revision e01027cab38a1a52828eecff447ca5e015b20f92)
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