xref: /linux/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/basic.j2 (revision 2330437da0994321020777c605a2a8cb0ecb7001)
1{# SPDX-License-Identifier: GPL-2.0 #}
2{% if annotate %}
3	/* member {{ name }} (basic) */
4{% endif %}
5	if (!xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }}))
6		return false;
7