view Paper/codes/wc/File.h @ 19:2d91b4d2569c

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 05 May 2021 18:43:47 +0900
parents 0d703e0d9781
children
line wrap: on
line source

typedef struct File <Record> {
  int mode; /* rw .. */
  Key *key;
  Ack *ack;
  Record *record;
  Data *fileImpl ;

  __code open(FileImpl* file,Key *key, int mode, __code next(Record *record,...));
  __code ack(FileImpl* file,Ack *ack, __code next(Record *record,...));
} File;