source: vendor/emx/current/src/emxomf/emxomf.h

Last change on this file was 18, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.5 KB
Line 
1/* emxomf.h -- Global header file for emxomf
2 Copyright (c) 1992-1996 Eberhard Mattes
3
4This file is part of emxomf.
5
6emxomf is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11emxomf is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with emxomf; see the file COPYING. If not, write to
18the Free Software Foundation, 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
20
21
22/* These functions are defined in emxomf.c. */
23
24extern void error (const char *fmt, ...) NORETURN2 ATTR_PRINTF (1, 2);
25extern void warning (const char *fmt, ...) ATTR_PRINTF (1, 2);
26extern void *xmalloc (size_t n);
27void *xrealloc (void *ptr, size_t n);
28char *xstrdup (const char *s);
29extern const struct nlist *find_symbol (const char *name);
30
31/* These variables are defined in emxomf.c. */
32
33extern int sym_count;
34extern const struct nlist *sym_ptr;
35extern const byte *str_ptr;
36extern byte *text_ptr;
37extern long text_size;
38extern struct buffer tt;
39extern struct buffer sst;
40extern struct buffer sst_reloc;
41extern struct grow sst_boundary_grow;
42extern struct grow tt_boundary_grow;
43extern int *sst_boundary;
44extern int *tt_boundary;
Note: See TracBrowser for help on using the repository browser.