Debian Codegraph @

tools/net/sunrpc/xdrgen/templates/C/union/decoder/switch_spec.j2

raw
1 {# SPDX-License-Identifier: GPL-2.0 #}
2 {% if annotate %}
3 /* discriminant {{ name }} */
4 {% endif %}
5 if (!xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }}))
6 return false;
7 switch (ptr->{{ name }}) {