Showing the changes to pkg.h (1 of 9 files). Show all
Unified · Split
| @@ -0,0 +1,48 @@ | ||
| 1 | +enum { | |
| 2 | + Flib = 1<<0, | |
| 3 | + | |
| 4 | + Clib = 1, | |
| 5 | + Caudio, | |
| 6 | + Cgraphics, | |
| 7 | + Cnetwork, | |
| 8 | + Cnum, | |
| 9 | +}; | |
| 10 | + | |
| 11 | +typedef struct Dev Dev; | |
| 12 | +typedef struct Meta Meta; | |
| 13 | +typedef struct Pkg Pkg; | |
| 14 | + | |
| 15 | +struct Dev { | |
| 16 | + char *nick; | |
| 17 | + char *name; | |
| 18 | + char *email; | |
| 19 | +}; | |
| 20 | + | |
| 21 | +struct Meta { | |
| 22 | + char *descr; | |
| 23 | + char *web; | |
| 24 | + char *license; | |
| 25 | + Dev *devs[4]; | |
| 26 | + int flags; | |
| 27 | + int cat[Cnum]; | |
| 28 | +}; | |
| 29 | + | |
| 30 | +struct Pkg { | |
| 31 | + char *name; | |
| 32 | + char *ver; | |
| 33 | + struct { | |
| 34 | + char *url; | |
| 35 | + char *rev; | |
| 36 | + char *hash; | |
| 37 | + }src; | |
| 38 | + struct { | |
| 39 | + Pkg *build[4]; | |
| 40 | + Pkg *runtime[4]; | |
| 41 | + }inputs; | |
| 42 | + Meta meta; | |
| 43 | +}; | |
| 44 | + | |
| 45 | +extern Pkg fontsel; | |
| 46 | +extern Pkg libtags; | |
| 47 | +extern Pkg xmpp; | |
| 48 | +extern Pkg zuke; | |