Mercurial > pidgin
view plugins/perl/perl-handlers.h @ 7612:3ae88e96dde2
[gaim-migrate @ 8236]
This is an attempt to both fix the directory creation permissions
and simplify the creation of nested directories from within gaim at the
same time. If you need nested directories, simply call gaim_build_dir
with the same arguments you would have given to mkdir and it will
recursively create the tree for you. I spent way too much time on
this.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Sun, 23 Nov 2003 18:41:11 +0000 |
parents | 33486b749aa9 |
children | 4315bb5f427b |
line wrap: on
line source
#ifndef _GAIM_PERL_HANDLERS_H_ #define _GAIM_PERL_HANDLERS_H_ #include "plugin.h" typedef struct { SV *callback; SV *data; GaimPlugin *plugin; int iotag; } GaimPerlTimeoutHandler; typedef struct { char *signal; SV *callback; SV *data; void *instance; GaimPlugin *plugin; } GaimPerlSignalHandler; void gaim_perl_timeout_add(GaimPlugin *plugin, int seconds, SV *callback, SV *data); void gaim_perl_timeout_clear_for_plugin(GaimPlugin *plugin); void gaim_perl_timeout_clear(void); void gaim_perl_signal_connect(GaimPlugin *plugin, void *instance, const char *signal, SV *callback, SV *data); void gaim_perl_signal_disconnect(GaimPlugin *plugin, void *instance, const char *signal); void gaim_perl_signal_clear_for_plugin(GaimPlugin *plugin); void gaim_perl_signal_clear(void); #endif /* _GAIM_PERL_HANDLERS_H_ */