Blob Blame History Raw
#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