structs.js 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.Nfsv3DirListPlus = exports.Nfsv3DirList = exports.Nfsv3EntryPlus = exports.Nfsv3Entry = exports.Nfsv3WriteHow = exports.Nfsv3CreateHow = exports.Nfsv3MknodData = exports.Nfsv3DeviceData = exports.Nfsv3Fattr = exports.Nfsv3WccData = exports.Nfsv3PostOpFh = exports.Nfsv3PostOpAttr = exports.Nfsv3PreOpAttr = exports.Nfsv3WccAttr = exports.Nfsv3DirOpArgs = exports.Nfsv3SattrGuard = exports.Nfsv3Sattr = exports.Nfsv3SetMtime = exports.Nfsv3SetAtime = exports.Nfsv3SetSize = exports.Nfsv3SetGid = exports.Nfsv3SetUid = exports.Nfsv3SetMode = exports.Nfsv3Fh = exports.Nfsv3SpecData = exports.Nfsv3Time = void 0;
  4. class Nfsv3Time {
  5. constructor(seconds, nseconds) {
  6. this.seconds = seconds;
  7. this.nseconds = nseconds;
  8. }
  9. }
  10. exports.Nfsv3Time = Nfsv3Time;
  11. class Nfsv3SpecData {
  12. constructor(specdata1, specdata2) {
  13. this.specdata1 = specdata1;
  14. this.specdata2 = specdata2;
  15. }
  16. }
  17. exports.Nfsv3SpecData = Nfsv3SpecData;
  18. class Nfsv3Fh {
  19. constructor(data) {
  20. this.data = data;
  21. }
  22. }
  23. exports.Nfsv3Fh = Nfsv3Fh;
  24. class Nfsv3SetMode {
  25. constructor(set, mode) {
  26. this.set = set;
  27. this.mode = mode;
  28. }
  29. }
  30. exports.Nfsv3SetMode = Nfsv3SetMode;
  31. class Nfsv3SetUid {
  32. constructor(set, uid) {
  33. this.set = set;
  34. this.uid = uid;
  35. }
  36. }
  37. exports.Nfsv3SetUid = Nfsv3SetUid;
  38. class Nfsv3SetGid {
  39. constructor(set, gid) {
  40. this.set = set;
  41. this.gid = gid;
  42. }
  43. }
  44. exports.Nfsv3SetGid = Nfsv3SetGid;
  45. class Nfsv3SetSize {
  46. constructor(set, size) {
  47. this.set = set;
  48. this.size = size;
  49. }
  50. }
  51. exports.Nfsv3SetSize = Nfsv3SetSize;
  52. class Nfsv3SetAtime {
  53. constructor(how, atime) {
  54. this.how = how;
  55. this.atime = atime;
  56. }
  57. }
  58. exports.Nfsv3SetAtime = Nfsv3SetAtime;
  59. class Nfsv3SetMtime {
  60. constructor(how, mtime) {
  61. this.how = how;
  62. this.mtime = mtime;
  63. }
  64. }
  65. exports.Nfsv3SetMtime = Nfsv3SetMtime;
  66. class Nfsv3Sattr {
  67. constructor(mode, uid, gid, size, atime, mtime) {
  68. this.mode = mode;
  69. this.uid = uid;
  70. this.gid = gid;
  71. this.size = size;
  72. this.atime = atime;
  73. this.mtime = mtime;
  74. }
  75. }
  76. exports.Nfsv3Sattr = Nfsv3Sattr;
  77. class Nfsv3SattrGuard {
  78. constructor(check, objCtime) {
  79. this.check = check;
  80. this.objCtime = objCtime;
  81. }
  82. }
  83. exports.Nfsv3SattrGuard = Nfsv3SattrGuard;
  84. class Nfsv3DirOpArgs {
  85. constructor(dir, name) {
  86. this.dir = dir;
  87. this.name = name;
  88. }
  89. }
  90. exports.Nfsv3DirOpArgs = Nfsv3DirOpArgs;
  91. class Nfsv3WccAttr {
  92. constructor(size, mtime, ctime) {
  93. this.size = size;
  94. this.mtime = mtime;
  95. this.ctime = ctime;
  96. }
  97. }
  98. exports.Nfsv3WccAttr = Nfsv3WccAttr;
  99. class Nfsv3PreOpAttr {
  100. constructor(attributesFollow, attributes) {
  101. this.attributesFollow = attributesFollow;
  102. this.attributes = attributes;
  103. }
  104. }
  105. exports.Nfsv3PreOpAttr = Nfsv3PreOpAttr;
  106. class Nfsv3PostOpAttr {
  107. constructor(attributesFollow, attributes) {
  108. this.attributesFollow = attributesFollow;
  109. this.attributes = attributes;
  110. }
  111. }
  112. exports.Nfsv3PostOpAttr = Nfsv3PostOpAttr;
  113. class Nfsv3PostOpFh {
  114. constructor(handleFollows, handle) {
  115. this.handleFollows = handleFollows;
  116. this.handle = handle;
  117. }
  118. }
  119. exports.Nfsv3PostOpFh = Nfsv3PostOpFh;
  120. class Nfsv3WccData {
  121. constructor(before, after) {
  122. this.before = before;
  123. this.after = after;
  124. }
  125. }
  126. exports.Nfsv3WccData = Nfsv3WccData;
  127. class Nfsv3Fattr {
  128. constructor(type, mode, nlink, uid, gid, size, used, rdev, fsid, fileid, atime, mtime, ctime) {
  129. this.type = type;
  130. this.mode = mode;
  131. this.nlink = nlink;
  132. this.uid = uid;
  133. this.gid = gid;
  134. this.size = size;
  135. this.used = used;
  136. this.rdev = rdev;
  137. this.fsid = fsid;
  138. this.fileid = fileid;
  139. this.atime = atime;
  140. this.mtime = mtime;
  141. this.ctime = ctime;
  142. }
  143. }
  144. exports.Nfsv3Fattr = Nfsv3Fattr;
  145. class Nfsv3DeviceData {
  146. constructor(devAttributes, spec) {
  147. this.devAttributes = devAttributes;
  148. this.spec = spec;
  149. }
  150. }
  151. exports.Nfsv3DeviceData = Nfsv3DeviceData;
  152. class Nfsv3MknodData {
  153. constructor(type, chr, blk, sock, pipe) {
  154. this.type = type;
  155. this.chr = chr;
  156. this.blk = blk;
  157. this.sock = sock;
  158. this.pipe = pipe;
  159. }
  160. }
  161. exports.Nfsv3MknodData = Nfsv3MknodData;
  162. class Nfsv3CreateHow {
  163. constructor(mode, objAttributes, verf) {
  164. this.mode = mode;
  165. this.objAttributes = objAttributes;
  166. this.verf = verf;
  167. }
  168. }
  169. exports.Nfsv3CreateHow = Nfsv3CreateHow;
  170. class Nfsv3WriteHow {
  171. constructor(stable) {
  172. this.stable = stable;
  173. }
  174. }
  175. exports.Nfsv3WriteHow = Nfsv3WriteHow;
  176. class Nfsv3Entry {
  177. constructor(fileid, name, cookie, nextentry) {
  178. this.fileid = fileid;
  179. this.name = name;
  180. this.cookie = cookie;
  181. this.nextentry = nextentry;
  182. }
  183. }
  184. exports.Nfsv3Entry = Nfsv3Entry;
  185. class Nfsv3EntryPlus {
  186. constructor(fileid, name, cookie, nameAttributes, nameHandle, nextentry) {
  187. this.fileid = fileid;
  188. this.name = name;
  189. this.cookie = cookie;
  190. this.nameAttributes = nameAttributes;
  191. this.nameHandle = nameHandle;
  192. this.nextentry = nextentry;
  193. }
  194. }
  195. exports.Nfsv3EntryPlus = Nfsv3EntryPlus;
  196. class Nfsv3DirList {
  197. constructor(eof, entries) {
  198. this.eof = eof;
  199. this.entries = entries;
  200. }
  201. }
  202. exports.Nfsv3DirList = Nfsv3DirList;
  203. class Nfsv3DirListPlus {
  204. constructor(eof, entries) {
  205. this.eof = eof;
  206. this.entries = entries;
  207. }
  208. }
  209. exports.Nfsv3DirListPlus = Nfsv3DirListPlus;
  210. //# sourceMappingURL=structs.js.map