3 * \brief YASM library primary header file.
6 * Copyright (C) 2003-2007 Peter Johnson
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
11 * - Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * - Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND OTHER CONTRIBUTORS ``AS IS''
18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS BE
21 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 * POSSIBILITY OF SUCH DAMAGE.
34 typedef struct __FILE FILE;
35 typedef struct __va_list va_list;
36 typedef unsigned long size_t;
37 typedef unsigned long uintptr_t;
41 #include <libyasm-stdint.h>
44 #include <libyasm/compat-queue.h>
46 #include <libyasm/coretype.h>
47 #include <libyasm/valparam.h>
49 #include <libyasm/linemap.h>
51 #include <libyasm/errwarn.h>
52 #include <libyasm/intnum.h>
53 #include <libyasm/floatnum.h>
54 #include <libyasm/expr.h>
55 #include <libyasm/value.h>
56 #include <libyasm/symrec.h>
58 #include <libyasm/bytecode.h>
59 #include <libyasm/section.h>
60 #include <libyasm/insn.h>
62 #include <libyasm/arch.h>
63 #include <libyasm/dbgfmt.h>
64 #include <libyasm/objfmt.h>
65 #include <libyasm/listfmt.h>
66 #include <libyasm/parser.h>
67 #include <libyasm/preproc.h>
69 #include <libyasm/file.h>
70 #include <libyasm/module.h>
72 #include <libyasm/hamt.h>
73 #include <libyasm/md5.h>