summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-10-06 12:53:34 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-10-06 12:53:34 +0300
commit9138fec0f43610187df09ba87cd11cf6346ea3b6 (patch)
tree8bec3137422d95f1f71e6753ec50ca190047bd74
parent4846346c18067ab667d9c53113c7b3fe46be313f (diff)
downloadlibrpm-tizen-9138fec0f43610187df09ba87cd11cf6346ea3b6.tar.gz
librpm-tizen-9138fec0f43610187df09ba87cd11cf6346ea3b6.tar.bz2
librpm-tizen-9138fec0f43610187df09ba87cd11cf6346ea3b6.zip
Remove filesystem related leftover API definitions
- This should've been in all the way back in commit 51c96db0464f86901b328899106dd8d4159dd878
-rw-r--r--lib/rpmlegacy.h1
-rw-r--r--lib/rpmlib.h27
2 files changed, 0 insertions, 28 deletions
diff --git a/lib/rpmlegacy.h b/lib/rpmlegacy.h
index 29a12eeec..2324e37fe 100644
--- a/lib/rpmlegacy.h
+++ b/lib/rpmlegacy.h
@@ -213,7 +213,6 @@ typedef int (*HRE_t) (Header h, rpmTag tag) RPM_GNUC_DEPRECATED;
#define isCompressed rpmFileIsCompressed
#define makeTempFile rpmMkTempFile
#define whatis rpmfiWhatis
-#define freeFilesystems rpmFreeFilesystems
#define tagName rpmTagGetName
#define tagType rpmTagGetType
#define tagValue rpmTagGetValue
diff --git a/lib/rpmlib.h b/lib/rpmlib.h
index 67bf2cecc..6ccdeb727 100644
--- a/lib/rpmlib.h
+++ b/lib/rpmlib.h
@@ -203,33 +203,6 @@ rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd,
*/
int rpmvercmp(const char * a, const char * b);
-/**
- * Release storage used by file system usage cache.
- */
-void rpmFreeFilesystems(void);
-
-/**
- * Return (cached) file system mount points.
- * @retval listptr addess of file system names (or NULL)
- * @retval num address of number of file systems (or NULL)
- * @return 0 on success, 1 on error
- */
-int rpmGetFilesystemList( const char *** listptr,
- unsigned int * num);
-
-/**
- * Determine per-file system usage for a list of files.
- * @param fileList array of absolute file names
- * @param fssizes array of file sizes
- * @param numFiles number of files in list
- * @retval usagesPtr address of per-file system usage array (or NULL)
- * @param flags (unused)
- * @return 0 on success, 1 on error
- */
-int rpmGetFilesystemUsage(const char ** fileList, rpm_loff_t * fssizes,
- unsigned int numFiles, rpm_loff_t ** usagesPtr,
- int flags);
-
#ifdef __cplusplus
}
#endif