// SPDX-License-Identifier: LGPL-3.0-or-later
/*
 * vim:noexpandtab:shiftwidth=8:tabstop=8:
 *
 * Copyright (C) Max Matveev, 2012
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 *
 * -------------
 */

#include "config.h"

#include "fsal.h"
#include "proxyv4_fsal_methods.h"

fsal_status_t
proxyv4_list_ext_attrs(struct fsal_obj_handle *obj_hdl,
		       unsigned int cookie,
		       fsal_xattrent_t *xattrs_tab,
		       unsigned int xattrs_tabsize,
		       unsigned int *p_nb_returned, int *end_of_list)
{
	return fsalstat(ERR_FSAL_NOTSUPP, 0);
}

fsal_status_t
proxyv4_getextattr_id_by_name(struct fsal_obj_handle *obj_hdl,
			      const char *xattr_name,
			      unsigned int *pxattr_id)
{
	return fsalstat(ERR_FSAL_NOTSUPP, 0);
}

fsal_status_t
proxyv4_getextattr_value_by_name(struct fsal_obj_handle *obj_hdl,
				 const char *xattr_name,
				 void *buffer_addr,
				 size_t buffer_size,
				 size_t *p_output_size)
{
	return fsalstat(ERR_FSAL_NOTSUPP, 0);
}

fsal_status_t
proxyv4_getextattr_value_by_id(struct fsal_obj_handle *obj_hdl,
			       unsigned int xattr_id,
			       void *buffer_addr,
			       size_t buffer_size,
			       size_t *p_output_size)
{
	return fsalstat(ERR_FSAL_NOTSUPP, 0);
}

fsal_status_t
proxyv4_setextattr_value(struct fsal_obj_handle *obj_hdl,
			 const char *xattr_name,
			 void *buffer_addr,
			 size_t buffer_size,
			 int create)
{
	return fsalstat(ERR_FSAL_NOTSUPP, 0);
}

fsal_status_t
proxyv4_setextattr_value_by_id(struct fsal_obj_handle *obj_hdl,
			       unsigned int xattr_id,
			       void *buffer_addr,
			       size_t buffer_size)
{
	return fsalstat(ERR_FSAL_NOTSUPP, 0);
}

fsal_status_t
proxyv4_getextattr_attrs(struct fsal_obj_handle *obj_hdl,
			 unsigned int xattr_id,
			 struct fsal_attrlist *p_attrs)
{
	return fsalstat(ERR_FSAL_NOTSUPP, 0);
}

fsal_status_t
proxyv4_remove_extattr_by_id(struct fsal_obj_handle *obj_hdl,
			     unsigned int xattr_id)
{
	return fsalstat(ERR_FSAL_NOTSUPP, 0);
}

fsal_status_t
proxyv4_remove_extattr_by_name(struct fsal_obj_handle *obj_hdl,
			       const char *xattr_name)
{
	return fsalstat(ERR_FSAL_NOTSUPP, 0);
}
