diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-02-22 13:57:05 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-02-22 13:57:05 +0200 |
commit | 77e203bf3224293d8f8e01dd15d6262eed840cf9 (patch) | |
tree | ddddccac0f22e2cc7f7f6a625962a322ff83ea99 /src/apk_io.h | |
parent | d6337468928b1a11091712351e9c85c2d6603c46 (diff) | |
download | apk-tools-77e203bf3224293d8f8e01dd15d6262eed840cf9.tar.gz apk-tools-77e203bf3224293d8f8e01dd15d6262eed840cf9.tar.bz2 apk-tools-77e203bf3224293d8f8e01dd15d6262eed840cf9.tar.xz apk-tools-77e203bf3224293d8f8e01dd15d6262eed840cf9.zip |
db, io: load repositories also from etc/apk/repositories.d/*.list
Load additional repositories from $ROOT/etc/apk/repositories.d/*.list
unless --repositories-file is given as parameter.
Diffstat (limited to 'src/apk_io.h')
-rw-r--r-- | src/apk_io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_io.h b/src/apk_io.h index 6379c3b..9a6c63a 100644 --- a/src/apk_io.h +++ b/src/apk_io.h @@ -106,7 +106,7 @@ size_t apk_ostream_write_string(struct apk_ostream *ostream, const char *string) apk_blob_t apk_blob_from_istream(struct apk_istream *istream, size_t size); apk_blob_t apk_blob_from_file(int atfd, const char *file); -typedef int apk_dir_file_cb(void *ctx, const char *entry); +typedef int apk_dir_file_cb(void *ctx, int dirfd, const char *entry); #define APK_FI_NOFOLLOW 0x80000000 |