summaryrefslogtreecommitdiff
path: root/src/internal/slibtool_symlink_impl.h
blob: 5619e753730818ab1b841dc67933b0b357636c5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SLIBTOOL_SYMLINK_IMPL_H
#define SLIBTOOL_SYMLINK_IMPL_H

#include <stdbool.h>
#include <slibtool/slibtool.h>

#define SLBT_SYMLINK_DEFAULT    0x0000
#define SLBT_SYMLINK_LITERAL    0x0001
#define SLBT_SYMLINK_WRAPPER    0x0002

int slbt_create_symlink(
	const struct slbt_driver_ctx *	dctx,
	struct slbt_exec_ctx *		ectx,
	const char *			target,
	const char *			lnkname,
	uint32_t			options);

int slbt_symlink_is_a_placeholder(int fdcwd, char * lnkpath);

#endif