diff options
| author | Christopher Davis <loafier@gmail.com> | 2006-08-12 22:16:53 +0000 |
|---|---|---|
| committer | Christopher Davis <loafier@gmail.com> | 2006-08-12 22:16:53 +0000 |
| commit | 3a028090359e5d5d24ccbfc11d9b6ff5681aab4f (patch) | |
| tree | 0cfb8ec1eb8a49366fc663bef00bf4dfb1f7c307 /src/pysource.h | |
| parent | f13ea25509e932d426ebd69d90368fe9b1d4c1ab (diff) | |
| download | irssi-python-3a028090359e5d5d24ccbfc11d9b6ff5681aab4f.tar.gz irssi-python-3a028090359e5d5d24ccbfc11d9b6ff5681aab4f.tar.xz irssi-python-3a028090359e5d5d24ccbfc11d9b6ff5681aab4f.zip | |
directory structure change
git-svn-id: http://svn.irssi.org/repos/irssi-python@4312 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/pysource.h')
| -rw-r--r-- | src/pysource.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pysource.h b/src/pysource.h new file mode 100644 index 0000000..78b55ec --- /dev/null +++ b/src/pysource.h @@ -0,0 +1,10 @@ +#ifndef _PYSOURCE_H_ +#define _PYSOURCE_H_ + +#include <Python.h> + +/* condition is G_INPUT_READ or G_INPUT_WRITE */ +int pysource_io_add_watch_list(GSList **list, int fd, int cond, PyObject *func, PyObject *data); +int pysource_timeout_add_list(GSList **list, int msecs, PyObject *func, PyObject *data); + +#endif |
