newlib/winsup/cygwin/tlsoffsets.h
Corinna Vinschen a8cf6887a2 * autoload.cc (ldap_abandon): Import.
(ldap_result): Import.
	(ldap_searchW): Import.
	(NetGroupEnum): Import.
	(NetLocalGroupEnum): Import.
	(NetUserEnum): Import.
	* cygheap.h (class cygheap_pwdgrp): Add members enums and enum_tdoms.
	(cygheap_pwdgrp::nss_db_enums): New inline method.
	(cygheap_pwdgrp::nss_db_enum_tdoms): Ditto.
	* cygtls.h (struct _local_storage): Drop unused members pw_pos and
	grp_pos.
	* grp.cc (grent): New static variable of class gr_ent.
	(gr_ent::enumerate_caches): New method.
	(gr_ent::enumerate_local): New method.
	(gr_ent::getgrent): New method.
	(setgrent): Call gr_ent method.
	(getgrent32): Ditto.
	(endgrent): Ditto.
	* ldap.cc (sid_attr): Rename from nfs_attr.
	(cyg_ldap::close): Abandon still running asynchronous search.
	(cyg_ldap::fetch_ad_account): Reduce filter buffer size.
	(cyg_ldap::enumerate_ad_accounts): New method.
	(cyg_ldap::next_account): New method.
	(cyg_ldap::fetch_posix_offset_for_domain): Reduce filter buffer size.
	(cyg_ldap::fetch_unix_sid_from_ad): Ditto.  Fix return value in case
	no value has been read.
	(cyg_ldap::fetch_unix_name_from_rfc2307): Reduce filter buffer size.
	* ldap.h (class cyg_ldap): Add msg_id member.
	(cyg_ldap::enumerate_ad_accounts): Declare.
	(cyg_ldap::next_account): Declare:
	* passwd.cc (pwent): New static variable of class pw_ent.
	(pg_ent::clear_cache): New method.
	(pg_ent::setent): New method.
	(pg_ent::getent): New method.
	(pg_ent::endent): New method.
	(pg_ent::enumerate_file): New method.
	(pg_ent::enumerate_builtin): New method.
	(pg_ent::enumerate_sam): New method.
	(pg_ent::enumerate_ad): New method.
	(pw_ent::enumerate_caches): New method.
	(pw_ent::enumerate_local): New method.
	(pw_ent::getpwent): New method.
	(setpwent): Call pw_ent method.
	(getpwent): Ditto.
	(endpwent): Ditto.
	* pwdgrp.h (class pwdgrp): Define pg_ent, pw_ent and gr_ent as friend
	classes.
	(pwdgrp::add_account_post_fetch): Declare with extra bool parameter.
	(pwdgrp::file_attr): New inline method.
	(enum nss_enum_t): Define.
	(class pg_ent): Define.
	(class pw_ent): Define.
	(class gr_ent): Define.
	* tlsoffsets.h: Regenerate.
	* tlsoffsets64.h: Ditto.
	* uinfo.cc (cygheap_pwdgrp::init): Initialize enums and enum_tdoms.
	(cygheap_pwdgrp::nss_init_line): Fix typo in preceeding comment.
	Handle new "db_enum" keyword.
	(pwdgrp::add_account_post_fetch): Take additional `bool lock' parameter
	and acquire pglock before adding element to array if lock is true.
	(pwdgrp::add_account_from_file): Call add_account_post_fetch with lock
	set to true.
	(pwdgrp::add_account_from_windows): Ditto in case of caching.
	(pwdgrp::fetch_account_from_windows): Handle builtin aliases only
	known to the domain controller.  Only call NetLocalGroupGetInfo for
	aliases.
2014-02-17 15:36:33 +00:00

118 lines
3.3 KiB
C

//;# autogenerated: Do not edit.
//; $tls::start_offset = -12700;
//; $tls::locals = -12700;
//; $tls::plocals = 0;
//; $tls::local_clib = -11292;
//; $tls::plocal_clib = 1408;
//; $tls::__dontuse = -11292;
//; $tls::p__dontuse = 1408;
//; $tls::func = -10204;
//; $tls::pfunc = 2496;
//; $tls::saved_errno = -10200;
//; $tls::psaved_errno = 2500;
//; $tls::sa_flags = -10196;
//; $tls::psa_flags = 2504;
//; $tls::oldmask = -10192;
//; $tls::poldmask = 2508;
//; $tls::deltamask = -10188;
//; $tls::pdeltamask = 2512;
//; $tls::errno_addr = -10184;
//; $tls::perrno_addr = 2516;
//; $tls::sigmask = -10180;
//; $tls::psigmask = 2520;
//; $tls::sigwait_mask = -10176;
//; $tls::psigwait_mask = 2524;
//; $tls::sigwait_info = -10172;
//; $tls::psigwait_info = 2528;
//; $tls::signal_arrived = -10168;
//; $tls::psignal_arrived = 2532;
//; $tls::will_wait_for_signal = -10164;
//; $tls::pwill_wait_for_signal = 2536;
//; $tls::thread_context = -10160;
//; $tls::pthread_context = 2540;
//; $tls::thread_id = -9948;
//; $tls::pthread_id = 2752;
//; $tls::infodata = -9944;
//; $tls::pinfodata = 2756;
//; $tls::tid = -9796;
//; $tls::ptid = 2904;
//; $tls::_ctinfo = -9792;
//; $tls::p_ctinfo = 2908;
//; $tls::andreas = -9788;
//; $tls::pandreas = 2912;
//; $tls::wq = -9784;
//; $tls::pwq = 2916;
//; $tls::sig = -9756;
//; $tls::psig = 2944;
//; $tls::incyg = -9752;
//; $tls::pincyg = 2948;
//; $tls::spinning = -9748;
//; $tls::pspinning = 2952;
//; $tls::stacklock = -9744;
//; $tls::pstacklock = 2956;
//; $tls::stackptr = -9740;
//; $tls::pstackptr = 2960;
//; $tls::stack = -9736;
//; $tls::pstack = 2964;
//; $tls::initialized = -8712;
//; $tls::pinitialized = 3988;
//; __DATA__
#define tls_locals (-12700)
#define tls_plocals (0)
#define tls_local_clib (-11292)
#define tls_plocal_clib (1408)
#define tls___dontuse (-11292)
#define tls_p__dontuse (1408)
#define tls_func (-10204)
#define tls_pfunc (2496)
#define tls_saved_errno (-10200)
#define tls_psaved_errno (2500)
#define tls_sa_flags (-10196)
#define tls_psa_flags (2504)
#define tls_oldmask (-10192)
#define tls_poldmask (2508)
#define tls_deltamask (-10188)
#define tls_pdeltamask (2512)
#define tls_errno_addr (-10184)
#define tls_perrno_addr (2516)
#define tls_sigmask (-10180)
#define tls_psigmask (2520)
#define tls_sigwait_mask (-10176)
#define tls_psigwait_mask (2524)
#define tls_sigwait_info (-10172)
#define tls_psigwait_info (2528)
#define tls_signal_arrived (-10168)
#define tls_psignal_arrived (2532)
#define tls_will_wait_for_signal (-10164)
#define tls_pwill_wait_for_signal (2536)
#define tls_thread_context (-10160)
#define tls_pthread_context (2540)
#define tls_thread_id (-9948)
#define tls_pthread_id (2752)
#define tls_infodata (-9944)
#define tls_pinfodata (2756)
#define tls_tid (-9796)
#define tls_ptid (2904)
#define tls__ctinfo (-9792)
#define tls_p_ctinfo (2908)
#define tls_andreas (-9788)
#define tls_pandreas (2912)
#define tls_wq (-9784)
#define tls_pwq (2916)
#define tls_sig (-9756)
#define tls_psig (2944)
#define tls_incyg (-9752)
#define tls_pincyg (2948)
#define tls_spinning (-9748)
#define tls_pspinning (2952)
#define tls_stacklock (-9744)
#define tls_pstacklock (2956)
#define tls_stackptr (-9740)
#define tls_pstackptr (2960)
#define tls_stack (-9736)
#define tls_pstack (2964)
#define tls_initialized (-8712)
#define tls_pinitialized (3988)