summaryrefslogtreecommitdiff
path: root/src/internal/sltdl_core.h
blob: 35e1a2405396292e095572632b8010e0b0f8f685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SLTDL_CORE_H
#define SLTDL_CORE_H

enum sltdl_error {
	SLTDL_OK,
	SLTDL_SYSTEM_ERROR,
	SLTDL_DLFCN_ERROR,
	SLTDL_SLTDL_ERROR,
	SLTDL_DLEXIT_REF_COUNT,
	SLTDL_MODULE_REF_COUNT,
	SLTDL_MODULE_PTR_INVALID,
	SLTDL_PATH_INVALID_FIRST_CHAR,
	SLTDL_PATH_INVALID_SEPARATTOR_CHAR,
	SLTDL_PATH_INVALID_MARK,
	SLTDL_PATH_INVALID_LEN,
	SLTDL_PATH_NO_ENTRY,
	SLTDL_ERROR_CAP,
};

void lt_slock(void);
int  lt_sunlock(int,int);

#endif