summaryrefslogtreecommitdiff
path: root/colors.h
diff options
context:
space:
mode:
Diffstat (limited to 'colors.h')
-rw-r--r--colors.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/colors.h b/colors.h
new file mode 100644
index 0000000..7675583
--- /dev/null
+++ b/colors.h
@@ -0,0 +1,31 @@
+/* netsniff-ng - the packet sniffing beast
+ * Copyright 2009, 2010 Daniel Borkmann.
+ * Subject to the GPL, version 2.
+ */
+
+#ifndef COLORS_H
+#define COLORS_H
+
+#define __reset "0"
+
+#define __bold "1"
+
+#define __black "30"
+#define __red "31"
+#define __green "32"
+#define __yellow "33"
+#define __blue "34"
+#define __magenta "35"
+#define __cyan "36"
+#define __white "37"
+
+#define __on_black "40"
+#define __on_red "41"
+#define __on_green "42"
+#define __on_yellow "43"
+#define __on_blue "44"
+#define __on_magenta "45"
+#define __on_cyan "46"
+#define __on_white "47"
+
+#endif /* COLORS_H */