lib/replace/dlfcn.c

説明を見る。
00001 /* 
00002    Unix SMB/CIFS implementation.
00003    Samba system utilities
00004    Copyright (C) Andrew Tridgell 1992-1998
00005    Copyright (C) Jeremy Allison 1998-2002
00006 
00007      ** NOTE! The following LGPL license applies to the replace
00008      ** library. This does NOT imply that all of Samba is released
00009      ** under the LGPL
00010    
00011    This library is free software; you can redistribute it and/or
00012    modify it under the terms of the GNU Lesser General Public
00013    License as published by the Free Software Foundation; either
00014    version 2 of the License, or (at your option) any later version.
00015 
00016    This library is distributed in the hope that it will be useful,
00017    but WITHOUT ANY WARRANTY; without even the implied warranty of
00018    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019    Lesser General Public License for more details.
00020 
00021    You should have received a copy of the GNU Lesser General Public
00022    License along with this library; if not, write to the Free Software
00023    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00024 */
00025 
00026 #include "replace.h"
00027 
00028 #ifndef HAVE_DLOPEN
00029 void *rep_dlopen(const char *name, int flags)
00030 {
00031         return NULL;
00032 }
00033 #endif
00034 
00035 #ifndef HAVE_DLSYM
00036 void *rep_dlsym(void *handle, const char *symbol)
00037 {
00038     return NULL;
00039 }
00040 #endif
00041 
00042 #ifndef HAVE_DLERROR
00043 char *rep_dlerror(void)
00044 {
00045         return "dynamic loading of objects not supported on this platform";
00046 }
00047 #endif
00048 
00049 #ifndef HAVE_DLCLOSE
00050 int rep_dlclose(void *handle)
00051 {
00052         return 0;
00053 }
00054 #endif

Sambaに対してSat Aug 29 21:22:58 2009に生成されました。  doxygen 1.4.7