diff plugins/perl/perl-handlers.h @ 6520:2e2593d95121

[gaim-migrate @ 7037] Added timeout handler support to perl. It may not work. Probably should, but who knows. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 20 Aug 2003 10:25:58 +0000
parents
children ed796f756237
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/perl/perl-handlers.h	Wed Aug 20 10:25:58 2003 +0000
@@ -0,0 +1,20 @@
+#ifndef _GAIM_PERL_HANDLERS_H_
+#define _GAIM_PERL_HANDLERS_H_
+
+#include "plugin.h"
+
+typedef struct
+{
+	char *name;
+	char *args;
+	GaimPlugin *plugin;
+	int iotag;
+
+} GaimPerlTimeoutHandler;
+
+void gaim_perl_timeout_add(GaimPlugin *plugin, int seconds, const char *func,
+						   void *args);
+void gaim_perl_timeout_clear_for_plugin(GaimPlugin *plugin);
+void gaim_perl_timeout_clear(void);
+
+#endif /* _GAIM_PERL_HANDLERS_H_ */