Files
mars-nwe/include/nwxattr.h
Mario Fetka f8317503df
All checks were successful
Source release / source-package (push) Successful in 40s
docs: normalize source license headers to gpl2 only
2026-06-03 00:46:27 +02:00

30 lines
1020 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* This file is part of mars_nwe.
*
* Copyright (C) 1993-2000 Martin Stover, Marburg, Germany
* Copyright (C) 2026 Mario Fetka
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 only.
*
* 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 General Public License for more details.
*/
#ifndef _NWXATTR_H_
#define _NWXATTR_H_
#include <sys/types.h>
#include <stddef.h>
ssize_t mars_nwe_getxattr(const char *path, const char *name,
void *value, size_t size);
int mars_nwe_setxattr(const char *path, const char *name,
const void *value, size_t size, int flags);
int mars_nwe_removexattr(const char *path, const char *name);
#endif