Commit f7cb94fa authored by Chuck Lever's avatar Chuck Lever
Browse files

xdrgen: Fix union declarations



Add a missing template file. This file is used when a union is
defined as a public API (ie, "pragma public <union name>;").

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 14282cc3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
{# SPDX-License-Identifier: GPL-2.0 #}

bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr);
bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *value);