| Current File : //usr/include/attr.h |
/*
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _ATTR_H
#define _ATTR_H
#include <sys/types.h>
#include <sys/nvpair.h>
#include <sys/attr.h>
#ifdef __cplusplus
extern "C" {
#endif
#if defined(__STDC__)
extern int getattrat(int, xattr_view_t, const char *, nvlist_t **);
extern int fgetattr(int, xattr_view_t, nvlist_t **);
extern int setattrat(int, xattr_view_t, const char *, nvlist_t *);
extern int fsetattr(int, xattr_view_t, nvlist_t *);
#else /* defined(__STDC__) */
extern int getattrat();
extern int fgetattr();
extern int setattrat();
extern int fsetattr();
#endif /* defined(__STDC__) */
#ifdef __cplusplus
}
#endif
#endif /* _ATTR_H */