1*a90cf9f2SGordon Ross /* 2*a90cf9f2SGordon Ross * This file and its contents are supplied under the terms of the 3*a90cf9f2SGordon Ross * Common Development and Distribution License ("CDDL"), version 1.0. 4*a90cf9f2SGordon Ross * You may only use this file in accordance with the terms of version 5*a90cf9f2SGordon Ross * 1.0 of the CDDL. 6*a90cf9f2SGordon Ross * 7*a90cf9f2SGordon Ross * A full copy of the text of the CDDL should have accompanied this 8*a90cf9f2SGordon Ross * source. A copy of the CDDL is also available via the Internet at 9*a90cf9f2SGordon Ross * http://www.illumos.org/license/CDDL. 10*a90cf9f2SGordon Ross */ 11*a90cf9f2SGordon Ross 12*a90cf9f2SGordon Ross /* 13*a90cf9f2SGordon Ross * Copyright 2013 Nexenta Systems, Inc. All rights reserved. 14*a90cf9f2SGordon Ross */ 15*a90cf9f2SGordon Ross 16*a90cf9f2SGordon Ross #ifndef _SMB_STATUS2WINERR_H_ 17*a90cf9f2SGordon Ross #define _SMB_STATUS2WINERR_H_ 18*a90cf9f2SGordon Ross 19*a90cf9f2SGordon Ross #include <sys/types.h> 20*a90cf9f2SGordon Ross 21*a90cf9f2SGordon Ross #ifdef __cplusplus 22*a90cf9f2SGordon Ross extern "C" { 23*a90cf9f2SGordon Ross #endif 24*a90cf9f2SGordon Ross 25*a90cf9f2SGordon Ross struct status2winerr { 26*a90cf9f2SGordon Ross uint_t status; 27*a90cf9f2SGordon Ross uint_t winerr; 28*a90cf9f2SGordon Ross }; 29*a90cf9f2SGordon Ross 30*a90cf9f2SGordon Ross /* This is a zero-terminated table. */ 31*a90cf9f2SGordon Ross extern const struct status2winerr smb_status2winerr_map[]; 32*a90cf9f2SGordon Ross 33*a90cf9f2SGordon Ross #ifdef __cplusplus 34*a90cf9f2SGordon Ross } 35*a90cf9f2SGordon Ross #endif 36*a90cf9f2SGordon Ross 37*a90cf9f2SGordon Ross #endif /* _SMB_STATUS2WINERR_H_ */ 38