-/* $Id: macstore.c,v 1.2 2002/12/12 23:55:51 ben Exp $ */
+/* $Id: macstore.c,v 1.4 2002/12/28 22:25:31 ben Exp $ */
/*
* macstore.c: Macintosh-specific impementation of the interface
void *open_settings_w(char *sessionname) {
short sessVRefNum, tmpVRefNum;
long sessDirID, tmpDirID;
- FSSpec sessfile;
OSErr error;
Str255 psessionname;
struct write_settings *ws;
int fd = *(int *)handle;
Handle h;
int id;
- OSErr error;
UseResFile(fd);
if (ResError() != noErr)
int read_setting_i(void *handle, char *key, int defvalue) {
int fd;
Handle h;
- OSErr error;
int value;
if (handle == NULL) goto out;