summaryrefslogtreecommitdiff
path: root/dln.h
blob: 0589954e7336afdd44b1d4f78c5833d4fe70d1c3 (plain)
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
/************************************************

  dln.h -

  $Author: matz $
  $Revision: 1.1.1.1 $
  $Date: 1994/06/17 14:23:49 $
  created at: Wed Jan 19 16:53:09 JST 1994

************************************************/
#ifndef DLN_H
#define DLN_H

#include <sys/errno.h>

int dln_init();
int dln_load();
int dln_load_lib();

extern int dln_errno;

#define DLN_ENOENT	ENOENT	/* No such file or directory */
#define DLN_ENOEXEC	ENOEXEC	/* Exec format error */
#define DLN_ECONFL	101	/* Symbol name conflict */
#define DLN_ENOINIT	102	/* No inititalizer given */
#define DLN_EUNDEF	103	/* Undefine symbol remains */
#define DLN_ENOTLIB	104	/* Not a library file */
#define DLN_EBADLIB	105	/* Malformed library file */
#define DLN_EINIT	106	/* Not initialized */

char *dln_strerror();

#endif