#include "io.h"
#include "lookup_table.h"
#include "sha1.h"
+#include <errno.h>
/*
* Find the symlink target of a symbolic link or junction point in the WIM.
}
int dentry_set_symlink(struct dentry *dentry, const char *target,
- struct lookup_table *lookup_table)
+ struct lookup_table *lookup_table,
+ struct lookup_table_entry **lte_ret)
{
int ret;
if (!existing_lte)
lookup_table_insert(lookup_table, lte);
+ if (lte_ret)
+ *lte_ret = lte;
return 0;
out_free_lte:
FREE(lte);