blob: 1c3b2d8ebf80b043a4f9422f845f9302aa30c670 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Logic for getting information about and installing modules
#pragma once
#include <stdbool.h>
#include "ast.h"
typedef struct {
const char *name, *version, *url, *git, *revision, *path;
} module_info_t;
module_info_t get_module_info(ast_t *use);
bool try_install_module(module_info_t mod);
|