linux/fs/smb/server/ndr.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *   Copyright (C) 2021 Samsung Electronics Co., Ltd.
 *   Author(s): Namjae Jeon <[email protected]>
 */

#include <linux/fs.h>

#include "glob.h"
#include "ndr.h"

static inline char *ndr_get_field(struct ndr *n)
{}

static int try_to_realloc_ndr_blob(struct ndr *n, size_t sz)
{}

static int ndr_write_int16(struct ndr *n, __u16 value)
{}

static int ndr_write_int32(struct ndr *n, __u32 value)
{}

static int ndr_write_int64(struct ndr *n, __u64 value)
{}

static int ndr_write_bytes(struct ndr *n, void *value, size_t sz)
{}

static int ndr_write_string(struct ndr *n, char *value)
{}

static int ndr_read_string(struct ndr *n, void *value, size_t sz)
{}

static int ndr_read_bytes(struct ndr *n, void *value, size_t sz)
{}

static int ndr_read_int16(struct ndr *n, __u16 *value)
{}

static int ndr_read_int32(struct ndr *n, __u32 *value)
{}

static int ndr_read_int64(struct ndr *n, __u64 *value)
{}

int ndr_encode_dos_attr(struct ndr *n, struct xattr_dos_attrib *da)
{}

int ndr_decode_dos_attr(struct ndr *n, struct xattr_dos_attrib *da)
{}

static int ndr_encode_posix_acl_entry(struct ndr *n, struct xattr_smb_acl *acl)
{}

int ndr_encode_posix_acl(struct ndr *n,
			 struct mnt_idmap *idmap,
			 struct inode *inode,
			 struct xattr_smb_acl *acl,
			 struct xattr_smb_acl *def_acl)
{}

int ndr_encode_v4_ntacl(struct ndr *n, struct xattr_ntacl *acl)
{}

int ndr_decode_v4_ntacl(struct ndr *n, struct xattr_ntacl *acl)
{}