]> sjero.net Git - wget/blobdiff - src/wget.h
[svn] * TODO: Removed done item: we now have an option (-G) that makes it easy to
[wget] / src / wget.h
index cdc301cfced6a39e10c72a7868ab530d30a925fd..ab37507ee6a12a256989409991a0283b007dca6d 100644 (file)
@@ -198,4 +198,16 @@ typedef enum
   ROBOTSOK, NOROBOTS, PROXERR, AUTHFAILED, QUOTEXC, WRITEFAILED
 } uerr_t;
 
+typedef unsigned char  boolean;
+#ifndef FALSE
+#define FALSE 0
+#endif
+#ifndef TRUE
+#define TRUE  1
+#endif
+
+/* So we can say strcmp(a, b) == EQ rather than strcmp(a, b) == 0 or
+   the really awful !strcmp(a, b). */
+#define EQ 0
+
 #endif /* WGET_H */