magma
magma copied to clipboard
We need an enumerated type for data type in fields returned by database queries.
Going to put every instance that I see where this replacement needs to occur here:
src/servers/smtp/datatier.c lines 199-232 src/servers/smtp/datatier.c lines 293-300 src/servers/smtp/datatier.c lines 636-647
Same code: line 116: int_t smtp_fetch_inbound()
- This routine needs enum types for describing the error return values
- Also needs enum types for the user record's lock levels that are checked starting line 171. Adding enum for lock levels will require a sweep throughout the codebase to apply that enum to all lock level references, which will require a sweep that's broader than the smtp.c code, right?
Yes, enums for errors would be nice too.