libshare_cache.c revision 2
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A#include <libshare.h>
2N/A#include <libshare_impl.h>
2N/Astatic int cache_pi_init(void);
2N/Astatic void cache_pi_fini(void);
2N/Astatic int sa_cache_init(void *);
2N/Astatic void sa_cache_fini(void *);
2N/Astatic int sa_cache_share_remove(const char *);
2N/Astatic int sa_cache_flush(void);
2N/Astatic int sa_cache_find_fini(void *);
2N/Astatic int sa_cache_open_sharetab(void);
2N/Astatic void sa_cache_close_sharetab(void);
2N/Astatic int sa_cache_cvt_err(int);
2N/Acache_pi_init(void)
2N/A return (sa_cache_open_sharetab());
2N/Acache_pi_fini(void)
2N/Asa_cache_flush(void)
2N/A return (SA_INVALID_SHARE_NAME);
2N/A return (SA_INVALID_SHARE);
2N/A return (SA_NO_MEMORY);
2N/A sizeof (sharefs_ioc_hdr_t));
2N/A return (SA_INTERNAL_ERR);
2N/A return (SA_NO_MEMORY);
2N/A sizeof (sharefs_ioc_hdr_t));
2N/A return (SA_INTERNAL_ERR);
2N/A return (SA_NO_MEMORY);
2N/A sizeof (sharefs_ioc_hdr_t));
2N/A return (SA_NO_MEMORY);
2N/A sizeof (sharefs_ioc_hdr_t));
2N/A return (SA_NOT_IMPLEMENTED);
2N/A return (SA_SYSTEM_ERR);