diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-28 23:10:56 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-03-28 23:10:56 +0000 |
| commit | e075012124424b77044b5d61885ed2646d3781cd (patch) | |
| tree | 2dcbb52ee8d7871c7764dcfda49f9afeea11d656 /src/lib/types.h | |
| parent | bfb4de070d078fb4b4ea7cd4dc931439058c7a85 (diff) | |
Allow explicit specification of email protocol (plain/STARTTLS/SSL).v2.13.138
Diffstat (limited to 'src/lib/types.h')
| -rw-r--r-- | src/lib/types.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/lib/types.h b/src/lib/types.h index 14840d5a6..94e101a3d 100644 --- a/src/lib/types.h +++ b/src/lib/types.h @@ -236,9 +236,16 @@ enum Resolution { std::string resolution_to_string (Resolution); Resolution string_to_resolution (std::string); -enum Protocol { - PROTOCOL_SCP, - PROTOCOL_FTP +enum FileTransferProtocol { + FILE_TRANSFER_PROTOCOL_SCP, + FILE_TRANSFER_PROTOCOL_FTP +}; + +enum EmailProtocol { + EMAIL_PROTOCOL_AUTO, + EMAIL_PROTOCOL_PLAIN, + EMAIL_PROTOCOL_STARTTLS, + EMAIL_PROTOCOL_SSL }; #endif |
