source: trunk/emx/src/emxomf/weakld.h@ 2446

Last change on this file since 2446 was 941, checked in by bird, 22 years ago

Enum last entry comma.

  • Property cvs2svn:cvs-rev set to 1.7
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1/* $Id: weakld.h 941 2004-01-11 00:03:49Z bird $ */
2/** @file
3 *
4 * Weak Pre-Linker.
5 *
6 * Copyright (c) 2003 InnoTek Systemberatung GmbH
7 * Author: knut st. osmundsen <bird-srcspam@anduin.net>
8 *
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with This program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 *
24 */
25
26#ifndef __weak_h__
27#define __weak_h__
28
29/*******************************************************************************
30* Structures and Typedefs *
31*******************************************************************************/
32struct wld;
33/** Weak LD Instance Pointer. */
34typedef struct wld * PWLD;
35
36/** wld_create() flags. */
37enum wld_create_flags
38{
39 /** Verbose */
40 WLDC_VERBOSE = 1,
41 /** Skip extended dictionary of libraries. */
42 WLDC_NO_EXTENDED_DICTIONARY_SEARCH = 2,
43 /** Case in-sensitive symbol resolution. */
44 WLDC_CASE_INSENSITIVE = 4,
45 /** The linker is link386. */
46 WLDC_LINKER_LINK386 = 0x1000
47};
48
49
50/*******************************************************************************
51* Functions *
52*******************************************************************************/
53/** @group Weak LD - Public methods.
54 * @{ */
55PWLD WLDCreate(unsigned fFlags);
56int WLDAddObject(PWLD pWld, FILE *phFile, const char *pszName);
57int WLDAddDefFile(PWLD pWld, FILE *phFile, const char *pszName);
58int WLDAddLibrary(PWLD pWld, FILE *phFile, const char *pszName);
59int WLDPass1(PWLD pWld);
60int WLDGenerateWeakAliases(PWLD pwld, char *pszObjName, char *pszDefName);
61int WLDDestroy(PWLD pWld);
62/** @} */
63
64#endif
Note: See TracBrowser for help on using the repository browser.