aboutsummaryrefslogtreecommitdiff
path: root/snag/src/package.h
blob: 54009c1c04673377becf1a0c3aacf48cc7d57e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef PACKAGE_H
#define PACKAGE_H

#include <stdbool.h>

typedef struct {
	char* name;
	char* url;
	char* checksum;
} source_info_t;

typedef struct {
	char* script_path;
	struct {
		char buffer[4069];
		char* id;
		char* name;
		char* desc;
		char* webpage;
		char* license;
		char* version;
		source_info_t source;
	} attrs;
} package_info_t;

#endif