| 1 |
< |
/* Copyright (c) 1999 Silicon Graphics, Inc. */ |
| 2 |
< |
|
| 3 |
< |
/* SCCSid "$SunId$ SGI" */ |
| 4 |
< |
|
| 1 |
> |
/* RCSid: $Id$ */ |
| 2 |
|
/* |
| 3 |
|
* Header file for holodeck programs |
| 4 |
|
* |
| 44 |
|
|
| 45 |
|
typedef struct { |
| 46 |
|
unsigned int4 nrd; /* number of beam rays bundled on disk */ |
| 47 |
< |
long fo; /* position in file */ |
| 47 |
> |
off_t fo; /* position in file */ |
| 48 |
|
} BEAMI; /* beam index */ |
| 49 |
|
|
| 50 |
|
typedef struct { |
| 96 |
|
extern BEAM *hdgetbeam(); |
| 97 |
|
extern RAYVAL *hdnewrays(); |
| 98 |
|
extern unsigned hdmemuse(); |
| 99 |
< |
extern long hdfiluse(), hdfilen(), hdallocfrag(); |
| 99 |
> |
extern off_t hdfiluse(), hdfilen(), hdallocfrag(); |
| 100 |
|
extern double hdray(), hdinter(); |
| 101 |
|
extern unsigned hdcode(); |
| 102 |
|
extern int hdfilord(); |
| 124 |
|
|
| 125 |
|
#define HOLOFMT "Holodeck" /* file format identifier */ |
| 126 |
|
#define HOLOVERS 0 /* file format version number */ |
| 127 |
< |
#define HOLOMAGIC (323+sizeof(long)+8*HOLOVERS) /* file magic number */ |
| 127 |
> |
#define HOLOMAGIC (323+sizeof(off_t)+8*HOLOVERS) /* file magic number */ |
| 128 |
|
|
| 129 |
|
/* |
| 130 |
|
* A holodeck file consists of an information header terminated by a |