tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/basic.j2

Source file repositories/reference/linux-study-clean/tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/basic.j2

File Facts

System
Linux kernel
Corpus path
tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/basic.j2
Extension
.j2
Size
331 bytes
Lines
9
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: tools
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

{# SPDX-License-Identifier: GPL-2.0 #}

bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ name }} *ptr);
{% if name in pass_by_reference %}
bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ name }} *value);
{%- else -%}
bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ name }} value);
{% endif %}

Annotation

Implementation Notes