aboutsummaryrefslogtreecommitdiffstats
path: root/enreadmagiclink.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--enreadmagiclink.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/enreadmagiclink.c b/enreadmagiclink.c
new file mode 100644
index 0000000..a4a99a4
--- /dev/null
+++ b/enreadmagiclink.c
@@ -0,0 +1,25 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+#ifndef TEST
+
+
+char *
+libsimple_enreadmagiclink(int status, const char *path)
+{
+ char *ret = libsimple_readmagiclink(path);
+ if (!ret)
+ libsimple_enprintf(status, "libsimple_readmagiclinkat %s:", path);
+ return ret;
+}
+
+
+#else
+#include "test.h"
+
+int
+main(void) /* TODO test */
+{
+ return 0;
+}
+
+#endif