Redfoxmoon / cross / slibtool

Forked from cross/slibtool 10 months ago
Clone

Blame src/internal/slibtool_symlink_impl.h

089c8b
#ifndef SLIBTOOL_SYMLINK_IMPL_H
089c8b
#define SLIBTOOL_SYMLINK_IMPL_H
6529aa
6529aa
#include <stdbool.h>
6529aa
#include <slibtool/slibtool.h>
6529aa
cc0827
#define SLBT_SYMLINK_DEFAULT    0x0000
cc0827
#define SLBT_SYMLINK_LITERAL    0x0001
cc0827
#define SLBT_SYMLINK_WRAPPER    0x0002
c7981c
#define SLBT_SYMLINK_DEVNULL    0x0004
cc0827
6529aa
int slbt_create_symlink(
6529aa
	const struct slbt_driver_ctx *	dctx,
6529aa
	struct slbt_exec_ctx *		ectx,
6529aa
	const char *			target,
e0a045
	const char *			lnkname,
cc0827
	uint32_t			options);
2baf1c
c81d16
int slbt_symlink_is_a_placeholder(int fdcwd, char * lnkpath);
089c8b
089c8b
#endif