xbps-repo: replaced 'genindex' target with 'index-{add,clean}'.

See the NEWS file for more information.
This commit is contained in:
Juan RP
2012-07-17 12:31:04 +02:00
parent 9edd60c3a7
commit 8eba2d7ea3
9 changed files with 728 additions and 566 deletions

View File

@ -35,10 +35,16 @@ struct repo_search_data {
};
/* From index.c */
int repo_genindex(struct xbps_handle *, const char *);
int repo_index_add(struct xbps_handle *, int, char **);
int repo_index_clean(struct xbps_handle *, const char *);
/* From index-files.c */
int repo_genindex_files(struct xbps_handle *, const char *);
int repo_index_files_add(struct xbps_handle *, int, char **);
int repo_index_files_clean(struct xbps_handle *, const char *);
/* From index-common.c */
int acquire_repo_lock(const char *, char **);
void release_repo_lock(char **, int);
/* From find-files.c */
int repo_find_files_in_packages(struct xbps_handle *, int, char **);