osdOutputSetFilename

osdOutputSetFilename

osd

1998 12-05


NAME

osdOutputSetFilename - set the filename for file output on a generic output channel


SYNOPSIS

long osdOutputSetFilename(OSD_Output *output, char *name)

If the OSD_OUT_FILE flag is set then output will be sent the the file specified by name.


Return TRUE on success and FALSE on failure.


ARGUMENTS


output the OSD_Output to set the filename for
name the filename to send file output to


BUGS

Currently this call must be made before the first osdOutputPrintLine() called to output with OSD_OUT_FILE set or else osdOutputSetFilename() will have no effect. This is because the file is opened during the first osdOutputPrintLine() call that OSD_OUT_FILE is set. This should be changed so that the output file can be changed after the first osdOutputPrintLine() with OSD_OUT_FILE set.