diff options
author | Nicholas Tay <nick@windblume.net> | 2021-12-01 01:19:20 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2021-12-01 01:27:27 +1100 |
commit | 14a419380f7e0d9e24cb663d5ae27f18449b26dc (patch) | |
tree | b0c9c68c957f13913906a9e088207b885c6eae28 /config.h | |
parent | e588d66d4e36ae6f7d8d08f9c48182365dc259a5 (diff) | |
download | passgen-14a419380f7e0d9e24cb663d5ae27f18449b26dc.tar.gz passgen-14a419380f7e0d9e24cb663d5ae27f18449b26dc.tar.bz2 passgen-14a419380f7e0d9e24cb663d5ae27f18449b26dc.zip |
Add config file, refactor classes to be cleaner with macros
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..1160580 --- /dev/null +++ b/config.h @@ -0,0 +1,10 @@ +#define DEFAULT_GRAMMAR "Cvccvc!##"
+
+// For vowels:
+// i, o excluded due to potentially confusing 1/l/i + 0/o
+// y included as a vowel because it kinda is one
+#define CLASSES \
+ CLASS('v', "aeuy") \
+ CLASS('c', "bcdfghkmnprstvwxz") \
+ CLASS('#', "1234567890") \
+ CLASS('!', "@#$%^&*_-+=()[]{}")
|