No, I am not referring to that
I want to create an object at first call in memory
that object would be retrievable at second and furthers calls of the plugin, as
long as dovecot is running




On 2024-03-13 16:29, Aki Tuomi via dovecot wrote:
     Not really no. You should use e.g. dict inteface for storing this
     kind of stateful data. When deinit is called the calling core process
     will likely die too.

     Aki

          On 13/03/2024 10:19 EET Joan Moreau <[email protected]> wrote:


          Keep a pointer in memory retrievable each time a plugin is
          called

          So the plugin keep the memory, not has to restart
          everything at each call



          On 12 March 2024 08:53:38 Aki Tuomi via dovecot
          <[email protected]> wrote:

                    On 11/03/2024 10:42 EET Joan Moreau
                    <[email protected]> wrote:


                    Hi
                    Is it possible, from a plugin
                    perspective, to create and recover a
                    pointer in the core process (i.e.
                    memory not lost between 2 calls to the
                    plugin, even after the "deinit" of the
                    plugin" ) ?

                    Thanks

               Hi Joan!

               May I ask what you are attempting to achieve in
               more detail?

               Aki
               _______________________________________________
               dovecot mailing list -- [email protected]
               To unsubscribe send an email to dovecot-
               [email protected]
     _______________________________________________
     dovecot mailing list -- [email protected]
     To unsubscribe send an email to [email protected]

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to