1 /** 2 * \file libyasm.h 3 * \brief YASM library primary header file. 4 * 5 * \license 6 * Copyright (C) 2003-2007 Peter Johnson 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: 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. 16 * 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. 28 * \endlicense 29 */ 30 #ifndef YASM_LIB_H 31 #define YASM_LIB_H 32 33 #ifdef YASM_PYXELATOR 34 typedef struct __FILE FILE; 35 typedef struct __va_list va_list; 36 typedef unsigned long size_t; 37 typedef unsigned long uintptr_t; 38 #else 39 #include <stdio.h> 40 #include <stdarg.h> 41 #include <libyasm-stdint.h> 42 #endif 43 44 #include <libyasm/compat-queue.h> 45 46 #include <libyasm/coretype.h> 47 #include <libyasm/valparam.h> 48 49 #include <libyasm/linemap.h> 50 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> 57 58 #include <libyasm/bytecode.h> 59 #include <libyasm/section.h> 60 #include <libyasm/insn.h> 61 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> 68 69 #include <libyasm/file.h> 70 #include <libyasm/module.h> 71 72 #include <libyasm/hamt.h> 73 #include <libyasm/md5.h> 74 75 #endif 76