diff options
author | jbj <devnull@localhost> | 2002-07-04 21:08:05 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-07-04 21:08:05 +0000 |
commit | 6dca216517ffb04f30d84ce1d1335efc37e7736d (patch) | |
tree | 0321a51a42d454fb20473111111ea4d983c061ea /lib/misc.h | |
parent | af3c677f06687e5ad1e33eb24f984c7ac5ff2a33 (diff) | |
download | rpm-6dca216517ffb04f30d84ce1d1335efc37e7736d.tar.gz rpm-6dca216517ffb04f30d84ce1d1335efc37e7736d.tar.bz2 rpm-6dca216517ffb04f30d84ce1d1335efc37e7736d.zip |
- fix: forgot lazy open of database on --freshen path (#67907).
- proof-of-concept rpmcache functionality.
CVS patchset: 5539
CVS date: 2002/07/04 21:08:05
Diffstat (limited to 'lib/misc.h')
-rw-r--r-- | lib/misc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/misc.h b/lib/misc.h index c45a0b1bf..ce603501b 100644 --- a/lib/misc.h +++ b/lib/misc.h @@ -11,6 +11,17 @@ extern "C" { #endif /** + * Create directory if it does not exist, and make sure path is writable. + * @note This will only create last component of directory path. + * @param dpath directory path + * @param dname directory use string + * @return rpmRC return code + */ +rpmRC rpmMkdirPath (const char * dpath, const char * dname) + /*@globals fileSystem@*/ + /*@modifies fileSystem @*/; + +/** * Split string into fields separated by a character. * @param str string * @param length length of string |