mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
libshare: interface: {=> const} char *
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13165
This commit is contained in:
@@ -73,16 +73,16 @@
|
||||
#define SA_SHARE_EXISTS 33 /* path or file is already shared */
|
||||
|
||||
/* initialization */
|
||||
_LIBSPL_LIBSHARE_H char *sa_errorstr(int);
|
||||
_LIBSPL_LIBSHARE_H const char *sa_errorstr(int);
|
||||
|
||||
/* share control */
|
||||
_LIBSPL_LIBSHARE_H int sa_enable_share(const char *, const char *, const char *,
|
||||
char *);
|
||||
_LIBSPL_LIBSHARE_H int sa_disable_share(const char *, char *);
|
||||
_LIBSPL_LIBSHARE_H boolean_t sa_is_shared(const char *, char *);
|
||||
const char *);
|
||||
_LIBSPL_LIBSHARE_H int sa_disable_share(const char *, const char *);
|
||||
_LIBSPL_LIBSHARE_H boolean_t sa_is_shared(const char *, const char *);
|
||||
_LIBSPL_LIBSHARE_H void sa_commit_shares(const char *);
|
||||
|
||||
/* protocol specific interfaces */
|
||||
_LIBSPL_LIBSHARE_H int sa_validate_shareopts(char *, char *);
|
||||
_LIBSPL_LIBSHARE_H int sa_validate_shareopts(const char *, const char *);
|
||||
|
||||
#endif /* _LIBSPL_LIBSHARE_H */
|
||||
|
||||
Reference in New Issue
Block a user