commit b781db84e007c496723541f9200b65c2debcd8fe from: Omar Polo date: Mon Dec 27 20:37:42 2021 UTC publish struct qid commit - 0b695130f6e825230f53749b9809808ba2e538a3 commit + b781db84e007c496723541f9200b65c2debcd8fe blob - 6199237d4e4e4af2e6860135d0523e008a5dcd69 blob + ea9b319fd27f64cd69cd2b5366f4fae9b549471e --- client.c +++ client.c @@ -51,12 +51,6 @@ ((sizeof(type) == 4 && (val) > INT32_MAX) || \ (sizeof(type) == 8 && (val) > INT64_MAX) || \ (sizeof(type) != 4 && sizeof(type) != 8)) - -struct qid { - uint64_t path; - uint32_t vers; - uint8_t type; -}; STAILQ_HEAD(dirhead, dir) dirs; struct dir { blob - 9fa99a3c7244b99f835976cae7bb1dc48e7cdfda blob + 9675e6ac175f820b3eec23853740698a562b017b --- kamid.h +++ kamid.h @@ -151,6 +151,12 @@ struct np_msg_header { uint16_t tag; }; +struct qid { + uint64_t path; + uint32_t vers; + uint8_t type; +}; + /* useful constants */ #define HEADERSIZE (4 + 1 + 2) #define VERSION9P "9P2000"