aboutsummaryrefslogtreecommitdiff
path: root/src/modules.h
blob: 91e17043aec65d736707c3215c60880ed4fc0982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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);