df8715849d
http://www.opensc-project.org/pipermail/opensc-devel/2011-December/017490.html cherry-picked from 'libtool' branch of Alon Barlev's github project git://github.com/alonbl/OpenSC.git and rebased Remove libltdl: Remove ltld references (cherry picked from commit a350326c520c5b0cb185f90946648633f4d0e456) Remove libltdl: Detect libdl (cherry picked from commit 51e7de45c11823460e776492dcbd40e60583a7eb) Remove libltdl: Use libscdl (cherry picked from commit 09f3eadb8a1a47407c011dcd3d5ce461516f3b87) Remove libltdl: Cleanup libscdl (cherry picked from commit 52d5f1be01146079e3a6fad1c88ebb0f577d0a94) Remove libltdl: Cleanup libscdl usage at Microsoft VC build Untested, I don't have the environment, Martin, please test. (cherry picked from commit 7fb18f8d0b0bae6d181981a0c71190440e917c2c) Change-Id: I73c98ccb9365584b12f4b0b97b69316a190b6e45
28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
/*
|
|
* libscdl.h: Function definitions for the dynamic loading minilibrary.
|
|
*
|
|
* Copyright (C) 2010 Martin Paljak <martin@paljak.pri.ee>
|
|
*
|
|
* 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
|
|
*/
|
|
|
|
#ifndef __LIBSCDL_H
|
|
#define __LIBSCDL_H
|
|
void *sc_dlopen(const char *filename);
|
|
void *sc_dlsym(void *handle, const char *symbol);
|
|
int sc_dlclose(void *handle);
|
|
const char *sc_dlerror(void);
|
|
#endif
|