~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to src/backend/port/dynloader/win32.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * src/backend/port/dynloader/win32.h
 
3
 */
 
4
#ifndef PORT_PROTOS_H
 
5
#define PORT_PROTOS_H
 
6
 
 
7
#include "utils/dynamic_loader.h"
 
8
 
 
9
#define pg_dlopen(f)    dlopen((f), 1)
 
10
#define pg_dlsym                dlsym
 
11
#define pg_dlclose              dlclose
 
12
#define pg_dlerror              dlerror
 
13
 
 
14
char       *dlerror(void);
 
15
int                     dlclose(void *handle);
 
16
void       *dlsym(void *handle, const char *symbol);
 
17
void       *dlopen(const char *path, int mode);
 
18
 
 
19
#endif   /* PORT_PROTOS_H */