diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-09-07 14:09:35 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-09-07 14:09:35 +0300 |
commit | d2bb9d38c90d8028989cb414bf84b132b0bbc967 (patch) | |
tree | f83d8279c40173a00eb571ebc86575a243cda72c | |
parent | bd33a6656c385ff9c760d79dff753e6bd1c642bd (diff) | |
download | librpm-tizen-d2bb9d38c90d8028989cb414bf84b132b0bbc967.tar.gz librpm-tizen-d2bb9d38c90d8028989cb414bf84b132b0bbc967.tar.bz2 librpm-tizen-d2bb9d38c90d8028989cb414bf84b132b0bbc967.zip |
Move string pool typedefs to rpmtypes.h
- I suspect these will be used widely, to avoid having to include
rpmstrpool.h all over in headers...
-rw-r--r-- | lib/rpmtypes.h | 3 | ||||
-rw-r--r-- | rpmio/rpmstrpool.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/rpmtypes.h b/lib/rpmtypes.h index 28ee5a9a6..91ea94907 100644 --- a/lib/rpmtypes.h +++ b/lib/rpmtypes.h @@ -77,6 +77,9 @@ typedef void * rpmCallbackData; typedef struct rpmPubkey_s * rpmPubkey; typedef struct rpmKeyring_s * rpmKeyring; +typedef uint32_t rpmsid; +typedef struct rpmstrPool_s * rpmstrPool; + typedef struct rpmPlugins_s * rpmPlugins; typedef struct rpmgi_s * rpmgi; diff --git a/rpmio/rpmstrpool.h b/rpmio/rpmstrpool.h index bc1ed88b9..958a47033 100644 --- a/rpmio/rpmstrpool.h +++ b/rpmio/rpmstrpool.h @@ -1,8 +1,7 @@ #ifndef _RPMSTRPOOL_H #define _RPMSTRPOOL_H -typedef uint32_t rpmsid; -typedef struct rpmstrPool_s * rpmstrPool; +#include <rpm/rpmtypes.h> #ifdef __cplusplus extern "C" { |