diff options
author | jbj <devnull@localhost> | 2002-12-11 00:12:17 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-12-11 00:12:17 +0000 |
commit | 2452c14619fd14c1b7eba69eec0c7d32dbf56d86 (patch) | |
tree | f53843b4b7c7ff962b379ed65a17387ebc0ef2be /python/rpmfts-py.h | |
parent | fe6043016c84107132bd0dc80ef454d2c81342b7 (diff) | |
download | rpm-2452c14619fd14c1b7eba69eec0c7d32dbf56d86.tar.gz rpm-2452c14619fd14c1b7eba69eec0c7d32dbf56d86.tar.bz2 rpm-2452c14619fd14c1b7eba69eec0c7d32dbf56d86.zip |
Add rpmfts-py.[ch] bindings for fts(3) from rpmio.
splint fiddles.
CVS patchset: 5932
CVS date: 2002/12/11 00:12:17
Diffstat (limited to 'python/rpmfts-py.h')
-rw-r--r-- | python/rpmfts-py.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/python/rpmfts-py.h b/python/rpmfts-py.h new file mode 100644 index 000000000..70417fd98 --- /dev/null +++ b/python/rpmfts-py.h @@ -0,0 +1,22 @@ +#ifndef H_RPMFTS_PY +#define H_RPMFTS_PY + +/** \ingroup python + * \file python/rpmfts-py.h + */ + +#include <fts.h> + +typedef struct rpmftsObject_s { + PyObject_HEAD + FTS * ftsp; + FTSENT * fts; +} rpmftsObject; + +/*@unchecked@*/ +extern PyTypeObject rpmfts_Type; + +rpmftsObject * rpmfts_Wrap(FTSENT * ftsp) + /*@*/; + +#endif |