index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-03-03 08:13:59 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-03-03 08:13:59 +0000 |
commit | 7f5dada8851c3b40ba44ed92e46315cefa9006b2 (patch) | |
tree | 402349c1d0cb2e82a4606872954b4d46e4df10ed /lib/libalpm/util.h | |
parent | a0dbade77420f6e83be1406ae67a99e337ce57ec (diff) |
-rw-r--r-- | lib/libalpm/util.h | 16 |
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h index 277ddb47..9f028e8a 100644 --- a/lib/libalpm/util.h +++ b/lib/libalpm/util.h @@ -55,18 +55,20 @@ #define SCRIPTLET_START "START " #define SCRIPTLET_DONE "DONE " -int _alpm_makepath(char *path); -int _alpm_copyfile(char *src, char *dest); +int _alpm_makepath(const char *path); +int _alpm_copyfile(const char *src, const char *dest); char *_alpm_strtoupper(char *str); char *_alpm_strtrim(char *str); -int _alpm_lckmk(char *file); -int _alpm_lckrm(char *file); +int _alpm_lckmk(const char *file); +int _alpm_lckrm(const char *file); int _alpm_unpack(const char *archive, const char *prefix, const char *fn); -int _alpm_rmrf(char *path); +int _alpm_rmrf(const char *path); int _alpm_logaction(unsigned short usesyslog, FILE *f, const char *str); -int _alpm_ldconfig(char *root); +int _alpm_ldconfig(const char *root); #ifdef _ALPM_TRANS_H -int _alpm_runscriptlet(char *util, char *installfn, char *script, char *ver, char *oldver, pmtrans_t *trans); +int _alpm_runscriptlet(const char *root, const char *installfn, + const char *script, const char *ver, + const char *oldver, pmtrans_t *trans); #ifndef __sun__ int _alpm_check_freespace(pmtrans_t *trans, alpm_list_t **data); #endif |