nbos

nbos

https://git.tonybtw.com/nbos.git git://git.tonybtw.com/nbos.git
407 bytes raw
1
#ifndef NB_RESOLVE_H
2
#define NB_RESOLVE_H
3
4
#include "../include/nbos.h"
5
#include "error.h"
6
#include "arena.h"
7
8
typedef struct {
9
    const pkg  *def;
10
    const char *store_path;
11
} resolved;
12
13
typedef struct {
14
    const resolved *data;
15
    size_t          len;
16
} resolved_list;
17
18
[[nodiscard]] resolve_error resolve(
19
    arena              *a,
20
    const system_cfg   *cfg,
21
    resolved_list      *out);
22
23
#endif