summaryrefslogtreecommitdiff
path: root/python/rpmfts-py.h
blob: 56ebfdf09f7b5b601ea62bee22da454a090ac42f (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 python
 * \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