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 return (ERROR_NOT_ENOUGH_MEMORY);
2N/A return (NERR_NetNameNotFound);
2N/A return (ERROR_NOT_ENOUGH_MEMORY);
2N/A return (ERROR_NOT_ENOUGH_MEMORY);
2N/A return (NERR_NetNameNotFound);
2N/A return (NERR_NetNameNotFound);
2N/A return (NERR_NetNameNotFound);
2N/A case SMB_SHRF_CSC_DISABLED:
2N/A case SMB_SHRF_CSC_MANUAL:
2N/A case SMB_SHRF_CSC_AUTO:
2N/A case SMB_SHRF_CSC_VDO:
2N/A return (NERR_Success);
2N/A case SA_SHARE_NOT_FOUND:
2N/A return (NERR_NetNameNotFound);
2N/A case SA_NO_MEMORY:
2N/A return (ERROR_NOT_ENOUGH_MEMORY);
2N/A case SA_DUPLICATE_NAME:
2N/A return (NERR_DuplicateShare);
2N/A return (NERR_InternalError);
2N/A return (ERROR_NOT_ENOUGH_MEMORY);
2N/A return (ERROR_NOT_ENOUGH_MEMORY);
2N/A return (ERROR_NOT_ENOUGH_MEMORY);
2N/A return (ERROR_NOT_ENOUGH_MEMORY);
2N/A return (NERR_InternalError);
2N/A return (ERROR_NOT_ENOUGH_MEMORY);
2N/A return (ERROR_SUCCESS);