]> git.cameronkatri.com Git - opendircolors.git/blobdiff - common.h
Revamp to improve everything, and support D30547
[opendircolors.git] / common.h
index b82776b05a557e52cfc51731a90491759229dfe8..fa181d8ec973d0021ffae6b639b1bb74fad24205 100644 (file)
--- a/common.h
+++ b/common.h
 #define COMMON_H
 #include <stdbool.h>
 
-static const char *types[11] = { "di", "ln", "so", "pi", "ex", "bd", "cd", "su",
-       "sg", "tw", "ow" };
-static const char col[8] = "abcdefgh";
-char *tolscolors(char *);
-char numtocol(char, bool);
+#define MAXKEYLEN 21
+
+struct color {
+       char fg;
+       char bg;
+};
+
+struct color *parseansi(char *, struct color*);
 
 #endif