summaryrefslogtreecommitdiff
path: root/python/rpmfts-py.h
blob: a56ee418133d5b5177e357ded4d195ebbcfdfde1 (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
#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;

    const char ** roots;
    int		options;
    int		ignore;

    int	(*compare) (const void *, const void *);

    FTS *	ftsp;
    FTSENT *	fts;
    int         active;
} rpmftsObject;

extern PyTypeObject rpmfts_Type;

#endif