1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef __zipup_h
- #define __zipup_h 1
- #ifndef NO_ZIPUP_H
- #define fbad NULL
- typedef void *ftype;
- #define zopen(n,p) (vms_native?vms_open(n) :(ftype)fopen((n), p))
- #define zread(f,b,n) (vms_native?vms_read(f,b,n):fread((b),1,(n),(FILE*)(f)))
- #define zclose(f) (vms_native?vms_close(f) :fclose((FILE*)(f)))
- #define zerr(f) (vms_native?vms_error(f) :ferror((FILE*)(f)))
- #define zstdin stdin
- ftype vms_open OF((char *));
- unsigned int vms_read OF((ftype, char *, unsigned int));
- int vms_close OF((ftype));
- int vms_error OF((ftype));
- #ifdef VMS_PK_EXTRA
- int vms_get_attributes OF((ftype, struct zlist far *, iztimes *));
- #endif
- #endif
- #endif
- #ifndef __zipup_cb_h
- #define __zipup_cb_h 1
- #ifdef __DECC
- # define FHOW_ID 4
- extern int fhow_id;
- #define fhow "r", "acc", acc_cb, &fhow_id
- #else
- #define fhow "r", "mbc=60"
- #endif
- #endif
|