summaryrefslogtreecommitdiff
path: root/src/apk_io.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-03-10 15:46:05 +0200
committerTimo Teräs <timo.teras@iki.fi>2015-03-10 15:47:13 +0200
commitda6e455f7001def03300a398dbbc02bb03c7f4b9 (patch)
tree192d4250879cfa27645e830c9efd5507e18e51d6 /src/apk_io.h
parentbe8e133c0b5ba0980d0debbf26b76a0b866689e7 (diff)
downloadapk-tools-da6e455f7001def03300a398dbbc02bb03c7f4b9.tar.gz
apk-tools-da6e455f7001def03300a398dbbc02bb03c7f4b9.tar.bz2
apk-tools-da6e455f7001def03300a398dbbc02bb03c7f4b9.tar.xz
apk-tools-da6e455f7001def03300a398dbbc02bb03c7f4b9.zip
rename file info related functions for consistency
Diffstat (limited to 'src/apk_io.h')
-rw-r--r--src/apk_io.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/apk_io.h b/src/apk_io.h
index 3e5e63f..59a5d70 100644
--- a/src/apk_io.h
+++ b/src/apk_io.h
@@ -148,9 +148,9 @@ apk_blob_t apk_blob_from_file(int atfd, const char *file);
int apk_blob_to_file(int atfd, const char *file, apk_blob_t b, unsigned int flags);
#define APK_FI_NOFOLLOW 0x80000000
-int apk_file_get_info(int atfd, const char *filename, unsigned int flags,
- struct apk_file_info *fi);
-void apk_file_info_free(struct apk_file_info *fi);
+int apk_fileinfo_get(int atfd, const char *filename, unsigned int flags,
+ struct apk_file_info *fi);
+void apk_fileinfo_free(struct apk_file_info *fi);
typedef int apk_dir_file_cb(void *ctx, int dirfd, const char *entry);
int apk_dir_foreach_file(int dirfd, apk_dir_file_cb cb, void *ctx);