/usr/include/falcon/dll_dl.h is in falconpl-dev 0.9.6.9-git20120606-2.1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | /*
FALCON - The Falcon Programming Language.
FILE: flc_dll_dl.h
libdl Dynamic Link support
-------------------------------------------------------------------
Author: Giancarlo Niccolai
Begin: dom set 12 2004
-------------------------------------------------------------------
(C) Copyright 2004: the FALCON developers (see list in AUTHORS file)
See LICENSE file for licensing details.
*/
/** \file
This file contains the multiplatform DLL incarnation for those
systems implementing lib DL (dlopen/dlsym/dlclose).
*/
#ifndef flc_DLL_DL_H
#define flc_DLL_DL_H
#include <falcon/dll_base.h>
#include <dlfcn.h>
namespace Falcon {
class DllLoader_dl
{
void *m_module;
public:
DllLoader_dl():
m_module( 0 )
{}
virtual ~DllLoader_dl();
bool open( const String &dll_name );
bool close();
virtual void getErrorDescription( String &descr ) const;
void assign( DllLoader_dl &other );
DllFunc getSymbol( const String &sym_name ) const ;
static bool isDllMark( char ch1, char ch2 );
static const char *dllExt() { return "so"; };
};
typedef DllLoader_dl DllLoader;
}
#endif
/* end of flc_dll_dl.h */
|