/* client.h for !DiscEx */


/*
 * This structure defines the layout of the data addressed by a window's
 *  client handle.
 *
 * Client handles are associated with Disc info and Analysis windows only,
 *  and are used by the saveas module to determine which functions to call
 *  during the save protocol.
 */

typedef struct {
    void *p;                  /* addresses private data structure describing
                                  window's contents */
    error * (*pf) (FILE *f, IdBlock *idblock, void *p);
                              /* this function will print out the window's
                                  contents to the specified file */
    char * (*filename) (IdBlock *idblock, void *p);
                              /* this function returns the address of an area
                                  in which the "saveas" filename is stored;
                                  a maximum of 256 characters are allowed */
} ClientHandleRec, *ClientHandlePtr;
