File Index
Files and directories
Sign in
FILE

switch_spec.j2

File preview with syntax highlighting.

linux-6.19.14/tools/net/sunrpc/xdrgen/templates/C/union/encoder/switch_spec.j2 PLAIN TEXT
1{# SPDX-License-Identifier: GPL-2.0 #}
2{% if annotate %}
3	/* discriminant {{ name }} */
4{% endif %}
5	if (!xdrgen_encode_{{ type }}(xdr, ptr->{{ name }}))
6		return false;
7	switch (ptr->{{ name }}) {
~/ Read-only file preview.