aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-05 15:20:26 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-05 15:23:28 +0100
commit056e2ce88c080cf00dc3b5b14f49445c53d87160 (patch)
treef7f01013c75cddcc7685b718ed9a94a0f149ee0f /src
parentadd readme (diff)
downloadlibred-056e2ce88c080cf00dc3b5b14f49445c53d87160.tar.gz
libred-056e2ce88c080cf00dc3b5b14f49445c53d87160.tar.bz2
libred-056e2ce88c080cf00dc3b5b14f49445c53d87160.tar.xz
m + libred.h.0
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src')
-rw-r--r--src/libred.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libred.h b/src/libred.h
index 9a2f7ba..5258de7 100644
--- a/src/libred.h
+++ b/src/libred.h
@@ -125,9 +125,15 @@ int libred_check_timetravel(void);
/**
* The file descriptor to the colour lookup table.
+ * -1 if none is open.
*/
extern int libred_fd;
+/**
+ * Iff this macro is define `libred_fd` is available.
+ */
+#define LIBRED_HAVE_FD 1
+
/**
* This function must be called, once,