Tokenize buffer and expand each token (path) and finally unsubscribe from it.
No pattern matching is done.
* Added subscribe-to command and updated example
* Added `subscribe-to` command (init.h)
* Added `parse_subscribe_to` prototype (init.h)
* Implemented `parse_subscribe_to` uses imap/imap.h Header (init.c)
* Example now shows folder and subfolders
Tokenize buffer and expand each token (path) and finally subscribe from it.
No pattern matching is done.
* Added return check
It should be noted, that imap_subscribe(FOO, 0) /* unsubcribe */
won't return -1, if mailbox doesn't exists.
* Added return -1, and do not silently ignore
* Added braces to satisfy styleguides
* Added better user output
* Typo Successfull -> Successful
* Reverted back to one parameter only and errors into err.
* Reverted back to one parameter only.
* Better error messages
* Error messages are now stored inside struct Buffer *err
* Changed from strfcpy -> mutt_buffer_*
* Copy&Paste Error correction
* Cleanup
* set expandtab
* set tabstop=2
* merged mutt_buffer_addstr -> mutt_buffer_printf
* corrected "Corrupted buffer" -> mutt_debug(5, ...)
* Compared with clang-format to get sure
* Reverted back bool -> int, to change this in a later PR
inside `parse_unsubscribe_from(...)` and `parse_subscribe_to(...)`
for the `imap_subscribe(...)`-call.