Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions bin/xbps-rindex/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#define _XBPS_RINDEX "xbps-rindex"

/* From index-add.c */
int index_add(struct xbps_handle *, int, int, char **, bool, const char *);
int index_add(struct xbps_handle *xhp, int argc, char **argv, bool force, const char *compression, xbps_array_t repos);

/* From index-clean.c */
int index_clean(struct xbps_handle *, const char *, bool, const char *);
Expand All @@ -45,8 +45,13 @@ int sign_repo(struct xbps_handle *, const char *, const char *,
int sign_pkgs(struct xbps_handle *, int, int, char **, const char *, bool);

/* From repoflush.c */
int repodata_flush(const char *repodir, const char *arch,
xbps_dictionary_t index, xbps_dictionary_t stage, xbps_dictionary_t meta,
const char *compression);
int repodata_write_file(const char *repodir, const char *arch,
xbps_dictionary_t index, xbps_dictionary_t stage, xbps_dictionary_t meta,
const char *compression);
int repodata_write_tmpfile(char *tmp, size_t tmpsz, char *path, size_t pathsz,
const char *repodir, const char *arch, xbps_dictionary_t index,
xbps_dictionary_t stage, xbps_dictionary_t meta, const char *compression);
int repodata_write_fd(int fd, xbps_dictionary_t index, xbps_dictionary_t stage, xbps_dictionary_t meta,
const char *compression);

#endif /* !_XBPS_RINDEX_DEFS_H_ */
Loading
Loading