1 #ifndef SLIBTOOL_SYMLINK_IMPL_H
2 #define SLIBTOOL_SYMLINK_IMPL_H
3 
4 #include <stdbool.h>
5 #include <slibtool/slibtool.h>
6 
7 #define SLBT_SYMLINK_DEFAULT    0x0000
8 #define SLBT_SYMLINK_LITERAL    0x0001
9 #define SLBT_SYMLINK_WRAPPER    0x0002
10 #define SLBT_SYMLINK_DEVNULL    0x0004
11 
12 int slbt_create_symlink(
13 	const struct slbt_driver_ctx *	dctx,
14 	struct slbt_exec_ctx *		ectx,
15 	const char *			target,
16 	const char *			lnkname,
17 	uint32_t			options);
18 
19 int slbt_symlink_is_a_placeholder(int fdcwd, char * lnkpath);
20 
21 #endif
22