summaryrefslogtreecommitdiff
path: root/python/rpmfts-py.h
blob: d6b4b411a74865f61995960ebb1fb4b8ee025f83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef H_RPMFTS_PY
#define H_RPMFTS_PY

/** \ingroup py_c
 * \file python/rpmfts-py.h
 */

#include <fts.h>

typedef struct rpmftsObject_s {
    PyObject_HEAD
    PyObject *md_dict;		/*!< to look like PyModuleObject */
    PyObject *callbacks;

/*@null@*/
    const char ** roots;
    int		options;
    int		ignore;

/*@null@*/
    int	(*compare) (const void *, const void *);

/*@null@*/
    FTS *	ftsp;
/*@null@*/
    FTSENT *	fts;
    int         active;
} rpmftsObject;

/*@unchecked@*/
extern PyTypeObject rpmfts_Type;

#endif