about summary refs log tree commit diff
path: root/imap.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-01 16:55:42 -0400
committerJune McEnroe <june@causal.agency>2020-05-01 16:55:42 -0400
commit4ba7f71db5b333c3d6da4b84cd4736a18bf4421e (patch)
treebe062a8579ead0fcc727791245d5dc6d59918930 /imap.h
parentSupport continue responses (diff)
downloadbubger-4ba7f71db5b333c3d6da4b84cd4736a18bf4421e.tar.gz
bubger-4ba7f71db5b333c3d6da4b84cd4736a18bf4421e.zip
Remove unused predefined atoms
Diffstat (limited to 'imap.h')
-rw-r--r--imap.h25
1 files changed, 4 insertions, 21 deletions
diff --git a/imap.h b/imap.h
index 1bb57f5..2a1c671 100644
--- a/imap.h
+++ b/imap.h
@@ -27,41 +27,24 @@
 
 #define ENUM_ATOM \
 	X(AtomNil, "NIL") \
+	X(AtomUntagged, "*") \
+	X(AtomContinue, "+") \
 	X(AtomOk, "OK") \
 	X(AtomNo, "NO") \
 	X(AtomBad, "BAD") \
 	X(AtomPreauth, "PREAUTH") \
 	X(AtomBye, "BYE") \
-	X(AtomAlert, "ALERT") \
-	X(AtomBadCharset, "BADCHARSET") \
-	X(AtomCapability, "CAPABILITY") \
-	X(AtomParse, "PARSE") \
-	X(AtomPermanentFlags, "PERMANENTFLAGS") \
-	X(AtomReadOnly, "READ-ONLY") \
-	X(AtomReadWrite, "READ-WRITE") \
-	X(AtomTryCreate, "TRYCREATE") \
 	X(AtomUIDNext, "UIDNEXT") \
 	X(AtomUIDValidity, "UIDVALIDITY") \
-	X(AtomUnseen, "UNSEEN") \
-	X(AtomList, "LIST") \
-	X(AtomLSub, "LSUB") \
-	X(AtomStatus, "STATUS") \
-	X(AtomSearch, "SEARCH") \
-	X(AtomFlags, "FLAGS") \
-	X(AtomExists, "EXISTS") \
-	X(AtomRecent, "RECENT") \
-	X(AtomExpunge, "EXPUNGE") \
 	X(AtomFetch, "FETCH") \
 	X(AtomThread, "THREAD") \
 	X(AtomUID, "UID") \
 	X(AtomEnvelope, "ENVELOPE") \
 	X(AtomBodyStructure, "BODYSTRUCTURE") \
 	X(AtomBody, "BODY") \
-	X(AtomHeader, "HEADER") \
-	X(AtomText, "TEXT") \
 	X(AtomDot, ".") \
-	X(AtomUntagged, "*") \
-	X(AtomContinue, "+")
+	X(AtomHeader, "HEADER") \
+	X(AtomText, "TEXT")
 
 enum Atom {
 #define X(id, str) id,