mirror of
https://gitee.com/open-loongarch/linux-6.12.git
synced 2026-10-26 13:07:11 +08:00
27 lines
500 B
C
27 lines
500 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2024 Oracle and/or its affiliates.
|
|
*
|
|
* This header defines XDR data type primitives specified in
|
|
* Section 4 of RFC 4506, used by RPC programs implemented
|
|
* in the Linux kernel.
|
|
*/
|
|
|
|
#ifndef _SUNRPC_XDRGEN__DEFS_H_
|
|
#define _SUNRPC_XDRGEN__DEFS_H_
|
|
|
|
#define TRUE (true)
|
|
#define FALSE (false)
|
|
|
|
typedef struct {
|
|
u32 len;
|
|
unsigned char *data;
|
|
} string;
|
|
|
|
typedef struct {
|
|
u32 len;
|
|
u8 *data;
|
|
} opaque;
|
|
|
|
#endif /* _SUNRPC_XDRGEN__DEFS_H_ */
|