/* $Id$ * Include file for reactos ldr/ (loader) to be used from ke/exports.c of libcaptive * Copyright (C) 2002 Jan Kratochvil * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; exactly version 2 of June 1991 is required * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _CAPTIVE_LDR_EXPORTS_H #define _CAPTIVE_LDR_EXPORTS_H 1 #include /* NEVER include any captive/reactos include file as we are included * from libcaptive/ke/exports.c which conflicts on any export symbol declaration. */ G_BEGIN_DECLS /** * captive_kernel_exports: * * Export all libcaptive symbols to reactos. It is done by *.def files used * by dlltool(1) of Mingw32 compiler suite. We use native host OS compiler and * we also have just a limited set of functions over reactos itself. * We use our captive_ModuleList_add_builtin() to simulate PE headers exporting * our symbols; this export simulation is invocated from this function. * * This function is generated automatically from #exports.captivesym file * by #captivesym.pl script. * * Multiple calls of this function are forbidden. * * Returns: %TRUE if the export was successful. */ gboolean captive_kernel_exports(void); gboolean captive_ModuleList_add_builtin(const gchar *FullName_utf8,...); G_END_DECLS #endif /* _CAPTIVE_LDR_EXPORTS_H */