3 Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007, 2008,
6 This file is part of Cygwin.
8 This software is a copyrighted work licensed under the terms of the
9 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
21 int (*main)(int, char **, char **);
22 per_module &operator = (per_process *p)
27 data_start = p->data_start;
28 data_end = p->data_end;
29 bss_start = p->bss_start;
49 struct dll *next, *prev;
68 #define MAX_DLL_BEFORE_INIT 100
81 dll *operator [] (const PWCHAR name);
82 dll *alloc (HINSTANCE, per_process *, dll_type);
86 void load_after_fork (HANDLE);
89 while ((hold = hold->next))
90 if (hold_type == DLL_ANY || hold->type == hold_type)
95 dll *istart (dll_type t)
101 void guard(bool lockit)
108 friend void dll_global_dtors ();
109 dll_list () { protect.init ("dll_list"); }
112 extern dll_list dlls;
113 void dll_global_dtors ();
115 /* These probably belong in a newlib header but we can keep them here
117 extern "C" int __cxa_atexit(void (*)(void*), void*, void*);
118 extern "C" int __cxa_finalize(void*);