summaryrefslogtreecommitdiff
path: root/lib/install.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-09-17 20:40:41 +0000
committerjbj <devnull@localhost>1999-09-17 20:40:41 +0000
commitb8d3c0d56a77ca1131a74560413a0e8a16704f4f (patch)
tree01eff96646b6c3c1d23f3e140f7a9df176230f31 /lib/install.h
parentb226bc53d0074ed9eadc979abcda1adb75fd7ff3 (diff)
downloadlibrpm-tizen-b8d3c0d56a77ca1131a74560413a0e8a16704f4f.tar.gz
librpm-tizen-b8d3c0d56a77ca1131a74560413a0e8a16704f4f.tar.bz2
librpm-tizen-b8d3c0d56a77ca1131a74560413a0e8a16704f4f.zip
lclint annotations.
CVS patchset: 3288 CVS date: 1999/09/17 20:40:41
Diffstat (limited to 'lib/install.h')
-rw-r--r--lib/install.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/install.h b/lib/install.h
index 183280542..ab95511d6 100644
--- a/lib/install.h
+++ b/lib/install.h
@@ -24,22 +24,22 @@ enum fileTypes { XDIR, BDEV, CDEV, SOCK, PIPE, REG, LINK } ;
extern "C" {
#endif
-int removeBinaryPackage(char * root, rpmdb db, unsigned int offset, int flags,
- enum fileActions * actions, FD_t scriptFd);
+int removeBinaryPackage(const char * root, rpmdb db, unsigned int offset,
+ int flags, enum fileActions * actions, FD_t scriptFd);
int runInstScript(const char * prefix, Header h, int scriptTag, int progTag,
- int arg, int norunScripts, FD_t err);
+ int arg, int norunScripts, FD_t err);
/* this looks for triggers in the database which h would set off */
int runTriggers(const char * root, rpmdb db, int sense, Header h,
int countCorrection, FD_t scriptFd);
/* while this looks for triggers in h which are set off by things in the db
database to calculate arguments to the trigger */
int runImmedTriggers(const char * root, rpmdb db, int sense, Header h,
- int countCorrection, FD_t scriptFd);
+ int countCorrection, FD_t scriptFd);
int installBinaryPackage(const char * rootdir, rpmdb db, FD_t fd, Header h,
- int flags, rpmCallbackFunction notify,
- void * notifyData, const void * pkgKey,
- enum fileActions * actions,
- struct sharedFileInfo * sharedList, FD_t scriptFd);
+ int flags, rpmCallbackFunction notify,
+ void * notifyData, const void * pkgKey,
+ enum fileActions * actions,
+ struct sharedFileInfo * sharedList, FD_t scriptFd);
const char * fileActionString(enum fileActions a);
#ifdef __cplusplus