Refactored shared code between xbps-bin(8) and xbps-repo(8).

- xbps-repo: move protos to defs.h and remove index.h and util.h.
- xbps-bin: move code that belongs to it from xbps-repo to show-info-files.c.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091124110539-nsdjp0ajr7nn8pa3
This commit is contained in:
Juan RP
2009-11-24 11:05:39 +00:00
parent 164c661bcf
commit 3a65c45de3
11 changed files with 154 additions and 148 deletions

View File

@ -32,8 +32,7 @@
#include <libgen.h>
#include <xbps_api.h>
#include "index.h"
#include "util.h"
#include "defs.h"
static bool sanitize_localpath(char *, const char *);
static int pkgindex_verify(const char *, const char *, bool);