/**
* LibLoader
*
* Projet created for loading NativeFmod & NativeFmodEx libraries.
* Copyright � 2007-2010 J�r�me JOUVIE (Jouvieje)
*
* Created on 25 mar. 2007
* @version file v1.2
* @author J�r�me JOUVIE (Jouvieje)
* @site http://jerome.jouvie.free.fr/
* @mail jerome.jouvie@gmail.com
*
*
* INTRODUCTION
* Project created to fix library loading, System.loadLibrary load library
* with RTLD_LOCAL, RTLD_GLOCAL is needed for loading well NativeFmodEx under linux.
*
*
* GNU LESSER GENERAL PUBLIC LICENSE
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of the License,
* or (at your option) any later version.
*
* This library 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library; if not, write to the
* Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA
*/
package org.jouvieje.libloader;
/**
* dlfcn.h
*/
public interface RTLD
{
/* dlopen flags*/
/** All undefined symbols in the library are resolved before dlopen() */
/** Lazy function call binding */
public static final int RTLD_LAZY = 0x00001;
/** symbol values are first resolved when needed */
/** Immediate function call binding */
public static final int RTLD_NOW = 0x00002;
/* dlopen or'ed flags */
/** The external symbols defined in the library will be made available for symbol resolution */
/** If the following bit is set in the MODE argument to 'dlopen'
* the symbols of the loaded object and its dependencies are made
* visible as if the object were linked directly into the program. */
public static final int RTLD_GLOBAL = 0x00100; //available for other
/** */
public static final int RTLD_LOCAL = 0x00000;
}