aboutsummaryrefslogtreecommitdiff
path: root/snag/src/package.h
blob: bdbf0cbbd105fcf0832fb08539012ab27d7f10fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef PACKAGE_H
#define PACKAGE_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