blob: a96c5c1423b92da10c3a645b808fea9ac1c613ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef PACKAGE_H
#define PACKAGE_H
#include <stdbool.h>
// this struct is the "handle" of a package to be passed into other package
// functions
typedef struct {
char* script_path;
struct {
char buffer[4069];
char* id;
char* name;
char* desc;
char* webpage;
char* license;
char* version;
char* source_url;
char* source_checksum;
} attrs;
} package_info_t;
#endif
|