~ubuntu-branches/ubuntu/karmic/gnupg2/karmic-updates

« back to all changes in this revision

Viewing changes to common/dynload.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Urlichs
  • Date: 2005-12-08 22:13:21 UTC
  • mto: (5.1.1 edgy)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051208221321-d54343ca8hlwzkac
Tags: upstream-1.9.19
ImportĀ upstreamĀ versionĀ 1.9.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#define RTLD_LAZY 0
29
29
 
30
 
static __inline__ void *
 
30
static inline void *
31
31
dlopen (const char * name, int flag)
32
32
{
33
33
  void * hd = LoadLibrary (name);
34
34
  return hd;
35
35
}
36
36
 
37
 
static __inline__ void *
 
37
static inline void *
38
38
dlsym (void *hd, const char *sym)
39
39
{
40
40
  if (hd && sym)
48
48
}
49
49
 
50
50
 
51
 
static __inline__ const char *
 
51
static inline const char *
52
52
dlerror (void)
53
53
{
54
54
  static char buf[32];
57
57
}
58
58
 
59
59
 
60
 
static __inline__ int
 
60
static inline int
61
61
dlclose (void * hd)
62
62
{
63
63
  if (hd)