On 5. May 2021, at 17.28, Ryan Beethe wrote:
>
You probably shold look some much more simple commands as
insipiration. Try looking e.g. how cmd_id is implemented instead.
>>>
>>> I implemented a simpler command as well, but because it was simple I
>>> didn't have any questions :)
>>>
> On 05/05/2021 18:28 Ryan Beethe wrote:
>
>
> On Wed, May 05, 2021 at 10:53:30AM +0300, Aki Tuomi wrote:
> >
> > > On 04/05/2021 16:42 Ryan Beethe wrote:
> > >
> > >
> > > On Mon, May 03, 2021 at 09:14:13AM +0300, Aki Tuomi wrote:
> > > >
> > > > > On 01/05/2021 18:32 Ryan Beethe wrote:
>
On Wed, May 05, 2021 at 10:53:30AM +0300, Aki Tuomi wrote:
>
> > On 04/05/2021 16:42 Ryan Beethe wrote:
> >
> >
> > On Mon, May 03, 2021 at 09:14:13AM +0300, Aki Tuomi wrote:
> > >
> > > > On 01/05/2021 18:32 Ryan Beethe wrote:
> > > >
> > > > 1. Why does cmd-idle.c sometimes call
> On 04/05/2021 16:42 Ryan Beethe wrote:
>
>
> On Mon, May 03, 2021 at 09:14:13AM +0300, Aki Tuomi wrote:
> >
> > > On 01/05/2021 18:32 Ryan Beethe wrote:
> > >
> > > 1. Why does cmd-idle.c sometimes call client_command_free()? But
> > > sometimes it doesn't?
> > >
> > > For example,
On Mon, May 03, 2021 at 09:14:13AM +0300, Aki Tuomi wrote:
>
> > On 01/05/2021 18:32 Ryan Beethe wrote:
> >
> > 1. Why does cmd-idle.c sometimes call client_command_free()? But
> > sometimes it doesn't?
> >
> > For example, cmd_idle_continue() frees it in some branches but not
> >
> On 01/05/2021 18:32 Ryan Beethe wrote:
>
>
> I'm interested in writing a custom imap command that behaves a bit like
> IDLE but synchronizes some state that is specific to my mail client /
> mail server.
>
> I found that stateless commands were trivial to underst
I'm interested in writing a custom imap command that behaves a bit like
IDLE but synchronizes some state that is specific to my mail client /
mail server.
I found that stateless commands were trivial to understand, and I really
like the plugin pattern for registering custom commands.
But I have