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