diff options
author | jbj <devnull@localhost> | 2004-10-19 16:39:36 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-19 16:39:36 +0000 |
commit | b7dfb8ada08ccd92bcf9f3cd9ac4045b7bd1fed1 (patch) | |
tree | a3a28e50bf0a16dbfe47d6691dc73942cbf75f8a /lib/rpmgi.h | |
parent | 343b3223e8d23b17809eb04db1d9826a8a709edb (diff) | |
download | librpm-tizen-b7dfb8ada08ccd92bcf9f3cd9ac4045b7bd1fed1.tar.gz librpm-tizen-b7dfb8ada08ccd92bcf9f3cd9ac4045b7bd1fed1.tar.bz2 librpm-tizen-b7dfb8ada08ccd92bcf9f3cd9ac4045b7bd1fed1.zip |
Change options to specify type of iteration.
CVS patchset: 7487
CVS date: 2004/10/19 16:39:36
Diffstat (limited to 'lib/rpmgi.h')
-rw-r--r-- | lib/rpmgi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmgi.h b/lib/rpmgi.h index 160d6b471..1a3fe82e0 100644 --- a/lib/rpmgi.h +++ b/lib/rpmgi.h @@ -24,7 +24,7 @@ struct rpmgi_s { /*@refcounted@*/ rpmts ts; /*!< Iterator transaction set. */ int tag; /*!< Iterator type. */ - void * keyp; /*!< Iterator key. */ + const void * keyp; /*!< Iterator key. */ size_t keylen; /*!< Iterator key length. */ int active; /*!< Iterator is active? */ @@ -110,7 +110,7 @@ rpmgi rpmgiFree(/*@killref@*/ /*@only@*/ /*@null@*/ rpmgi gi) * @return new general iterator */ /*@null@*/ -rpmgi rpmgiNew(rpmts ts, int tag, void * keyp, size_t keylen) +rpmgi rpmgiNew(rpmts ts, int tag, /*@null@*/ const void * keyp, size_t keylen) /*@globals internalState @*/ /*@modifies ts, internalState @*/; |