10Sstevel@tonic-gate /* 20Sstevel@tonic-gate * CDDL HEADER START 30Sstevel@tonic-gate * 40Sstevel@tonic-gate * The contents of this file are subject to the terms of the 52830Sdjl * Common Development and Distribution License (the "License"). 62830Sdjl * You may not use this file except in compliance with the License. 70Sstevel@tonic-gate * 80Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate * See the License for the specific language governing permissions 110Sstevel@tonic-gate * and limitations under the License. 120Sstevel@tonic-gate * 130Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate * 190Sstevel@tonic-gate * CDDL HEADER END 200Sstevel@tonic-gate */ 21*2923Sraf 220Sstevel@tonic-gate /* 232830Sdjl * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 240Sstevel@tonic-gate * Use is subject to license terms. 250Sstevel@tonic-gate */ 260Sstevel@tonic-gate 270Sstevel@tonic-gate #ifndef _LIBC_INC_TSD_H 280Sstevel@tonic-gate #define _LIBC_INC_TSD_H 290Sstevel@tonic-gate 300Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 310Sstevel@tonic-gate 322830Sdjl #ifdef __cplusplus 332830Sdjl extern "C" { 342830Sdjl #endif 352830Sdjl 360Sstevel@tonic-gate typedef enum { 370Sstevel@tonic-gate _T_GETDATE = 0, 380Sstevel@tonic-gate _T_WCSTOK, 390Sstevel@tonic-gate _T_FP_GET, 400Sstevel@tonic-gate _T_NL_LANINFO, 410Sstevel@tonic-gate _T_GETPASS, 420Sstevel@tonic-gate _T_PTSNAME, 430Sstevel@tonic-gate _T_L64A, 440Sstevel@tonic-gate _T_GETVFSENT, 450Sstevel@tonic-gate _T_GETMNTENT, 460Sstevel@tonic-gate _T_GETDATE_ERR_ADDR, 470Sstevel@tonic-gate _T_CRYPT, 480Sstevel@tonic-gate _T_NSS_STATUS_VEC, 490Sstevel@tonic-gate _T_REGCMP_ISIZE, 500Sstevel@tonic-gate _T_REGEX_LOC1, 510Sstevel@tonic-gate _T_SETLOCALE, 520Sstevel@tonic-gate _T_STRUCT_TM, 530Sstevel@tonic-gate _T_TTYNAME, 540Sstevel@tonic-gate _T_CTIME, 550Sstevel@tonic-gate _T_LOGIN, 560Sstevel@tonic-gate _T_STRTOK, 570Sstevel@tonic-gate _T_TMPNAM, 580Sstevel@tonic-gate _T_ECVT, 590Sstevel@tonic-gate _T_PWBUF, 600Sstevel@tonic-gate _T_GRBUF, 610Sstevel@tonic-gate _T_SPBUF, 622830Sdjl _T_DOORBUF, 63*2923Sraf _T_DEFREAD, 640Sstevel@tonic-gate _T_NUM_ENTRIES /* this *must* be the last member */ 650Sstevel@tonic-gate } __tsd_item_t; 660Sstevel@tonic-gate 670Sstevel@tonic-gate /* 680Sstevel@tonic-gate * Internal routine from tsdalloc.c 690Sstevel@tonic-gate */ 700Sstevel@tonic-gate extern void *tsdalloc(__tsd_item_t, size_t, void (*)(void *)); 710Sstevel@tonic-gate 722830Sdjl #ifdef __cplusplus 732830Sdjl } 742830Sdjl #endif 752830Sdjl 760Sstevel@tonic-gate #endif /* _LIBC_INC_TSD_H */ 77