1
0
Fork 0
mirror of https://github.com/pygos/pkg-utils.git synced 2024-11-15 09:57:12 +01:00
pkg-utils/main/cmd/buildstrategy/buildstrategy.h
David Oberhollenzer af7c6f09df Add buildstrategy command
Basically an improved port of the makeshift depgraph from the pygos build
system.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-08 00:39:05 +01:00

27 lines
408 B
C

#ifndef BUILDSTRATEGY_H
#define BUILDSTRATEGY_H
#include <getopt.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
#include "command.h"
#include "util/hashtable.h"
enum {
FLAG_BUILD_PKG = 0x01,
};
typedef struct source_pkg_t {
char *name;
struct source_pkg_t **depends;
size_t num_depends;
int flags;
} source_pkg_t;
#endif /* BUILDSTRATEGY_H */