aboutsummaryrefslogtreecommitdiff
path: root/include/mirrors.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-02-26 16:09:32 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-02-26 16:09:32 -0500
commitd3580f8c0b5c17150382c4b4456e0b1bfa81a50f (patch)
tree5d0fa6911974b2a0541738a7cffc408b09918b8b /include/mirrors.h
parent639aa9dbf60050bf1bbaeea67df13729239c3a31 (diff)
downloadspmc-d3580f8c0b5c17150382c4b4456e0b1bfa81a50f.tar.gz
Multiple things:
* Add strdup_array() * Begin consolidating spm root information into SPM_Hierarchy * Begin consolidating metadata * Begin trimming repeated code (mostly file reading) * Store information about installed packages under [root]/var/db/records
Diffstat (limited to 'include/mirrors.h')
-rw-r--r--include/mirrors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mirrors.h b/include/mirrors.h
index 1be39f6..7cf4236 100644
--- a/include/mirrors.h
+++ b/include/mirrors.h
@@ -4,7 +4,7 @@
#define SPM_MIRROR_MAX 0xff
#define SPM_MIRROR_FILENAME "mirrorlist"
-char **file_readlines(const char *filename);
+char **file_readlines(const char *filename, size_t start, size_t limit, ReaderFn *readerFn);
char **mirror_list(const char *filename);
void mirror_list_free(char **m);
void mirror_clone(Manifest *info, char *dest);