#define RAZOR_EXPORT
#endif
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
+#define ALIGN(value, base) (((value) + (base - 1)) & ~((base) - 1))
void *zalloc(size_t size);
struct list *index;
};
-#define ALIGN(value, base) (((value) + (base - 1)) & ~((base) - 1))
-
struct razor_entry *
razor_set_find_entry(struct razor_set *set,
struct razor_entry *dir, const char *pattern);
#ifndef _RAZOR_H_
#define _RAZOR_H_
-#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
-
enum razor_repo_file_type {
RAZOR_REPO_FILE_MAIN,
RAZOR_REPO_FILE_DETAILS,
void razor_set_list_files(struct razor_set *set, const char *prefix);
void razor_set_list_package_files(struct razor_set *set, const char *name);
-void razor_set_list_unsatisfied(struct razor_set *set);
-
enum razor_diff_action {
RAZOR_DIFF_ACTION_ADD,
RAZOR_DIFF_ACTION_REMOVE,
static const char *repo_filename = system_repo_filename;
static const char *yum_url;
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
+
static int
command_list(int argc, const char *argv[])
{