ref: 3669b3e2e684a40b20c5a22bf4f6ee898e616447
dir: /common.h/
#pragma lib "../lwext4/src/liblwext4.a" typedef struct Opts Opts; typedef struct Part Part; #pragma varargck type "Ð" Part* #pragma varargck type "M" Part* struct Opts { int cachewb; int linkmode; }; struct Part { Ref; QLock; Part *prev, *next; char dev[32]; char mnt[32]; struct ext4_blockdev bdev; struct ext4_blockdev_iface bdif; struct ext4_sblock *sb; Qid qid; Qid qidmask; Groups groups; int f; uchar blkbuf[]; }; enum { Lhide = 1, }; Part *openpart(char *dev, Opts *opts); void closepart(Part *p); void closeallparts(void); char *errno2s(int err);