Linux-6.18.2/tools/net/sunrpc/xdrgen/templates/C/union/decoder/string.j2

7 lines
222 B
Plaintext
Raw Normal View History

2025-12-23 20:05:50 +08:00
{# SPDX-License-Identifier: GPL-2.0 #}
{% if annotate %}
/* member {{ name }} (variable-length string) */
{% endif %}
if (!xdrgen_decode_string(xdr, (struct string *)ptr->u.{{ name }}, {{ maxsize }}))
return false;