view Paper/codes/wc/File.h @ 29:11aa33c0b2e9 default tip

merge
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Fri, 21 May 2021 15:21:37 +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;