libmp/include/types.h

20 lines
424 B
C
Raw Normal View History

2024-06-20 00:34:32 +00:00
#pragma once
#include "url.h"
#include <stdbool.h>
typedef struct lm_pool {
struct lm_pool *next;
2024-06-20 22:36:56 +00:00
lm_url_t url;
bool available;
char *name;
2024-06-20 00:34:32 +00:00
} lm_pool_t;
typedef struct lm_ctx {
lm_pool_t *pools; // pool list
2024-06-20 22:36:56 +00:00
char *root; // root path for package installtion
char *temp; // temp path
char *data; // package database path
bool debug; // is debug output enabled?
2024-06-20 00:34:32 +00:00
} lm_ctx_t;