Files
rosetta/services/herdd/target.h
T

23 lines
448 B
C
Raw Normal View History

2026-05-30 19:47:49 +01:00
#ifndef TARGET_H_
#define TARGET_H_
#include "queue.h"
#include <stddef.h>
struct target {
char *rl_name;
char *rl_description;
char **rl_requires;
size_t rl_requires_count;
struct queue_entry rl_entry;
};
extern struct queue *global_targets(void);
extern int target_load(const char *name, const char *path, struct target **out);
extern struct target *target_find(const char *name);
extern int target_activate(struct target *rl);
#endif