Index: b/usr/src/head/nss_common.h =================================================================== --- a/usr/src/head/nss_common.h +++ b/usr/src/head/nss_common.h @@ -233,11 +233,15 @@ extern "C" { * is for nscd private/internal use only. */ -typedef enum { +typedef enum nss_status { NSS_SUCCESS = 0, +#define NSS_STATUS_SUCCESS NSS_SUCCESS NSS_NOTFOUND = 1, +#define NSS_STATUS_NOTFOUND NSS_NOTFOUND NSS_UNAVAIL = 2, +#define NSS_STATUS_UNAVAIL NSS_UNAVAIL NSS_TRYAGAIN = 3, +#define NSS_STATUS_TRYAGAIN NSS_TRYAGAIN NSS_NISSERVDNS_TRYAGAIN = 4, NSS_TRYLOCAL = 5, NSS_ERROR = 6,