[OTR-dev] 2.0.0 pre-releases coming soon

Ian Goldberg ian at cypherpunks.ca
Mon Jan 31 08:59:30 EST 2005


On Sun, Jan 30, 2005 at 10:38:46PM -0600, Evan Schoenberg wrote:
> Another minor modification to current source: there's no way to 
> retrieve the OtrlUserState used by the plugin from code that isn't 
> compiled immediately alongside otr-plugin.c. Could you please add to 
> otr-plugin.c:
> 
> OtrlUserState otr_plugin_get_userstate(void)
> {
>  return otrg_plugin_userstate;
> }

But otrg_plugin_userstate is already exported by otr-plugin.h.  Just
reference the variable.

   - Ian



More information about the OTR-dev mailing list