Move rpmalKey and rpmal to rpmtypes
[platform/upstream/rpm.git] / lib / rpmtypes.h
1 #ifndef _RPMTYPES_H
2 #define _RPMTYPES_H
3
4 /** \ingroup rpmtypes
5  * \file lib/rpmtypes.h
6  */
7
8 #include <rpm/rpmints.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 typedef const char *    errmsg_t;
15
16 typedef int32_t         rpm_tag_t;
17 typedef uint32_t        rpm_tagtype_t;
18 typedef uint32_t        rpm_count_t;
19
20 typedef void *          rpm_data_t;
21 typedef const void *    rpm_constdata_t;
22
23 typedef struct rpmts_s * rpmts;
24 typedef struct rpmte_s * rpmte;
25 typedef struct rpmds_s * rpmds;
26 typedef struct rpmfi_s * rpmfi;
27 typedef struct rpmdb_s * rpmdb;
28 typedef struct rpmdbMatchIterator_s * rpmdbMatchIterator;
29
30 typedef struct rpmal_s * rpmal;
31 typedef void * rpmalKey;
32
33 typedef struct rpmgi_s * rpmgi;
34
35 typedef struct rpmSpec_s * rpmSpec;
36
37 typedef const void * fnpyKey;
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43 #endif /* _RPMTYPES_H */