/***************************************************************************
*	NAME:  HANDLE16.C
**	COPYRIGHT:
**	"Copyright (c) 1994, by FORTE
**
**       "This software is furnished under a license and may be used,
**       copied, or disclosed only in accordance with the terms of such
**       license and with the inclusion of the above copyright notice.
**       This software or any other copies thereof may not be provided or
**       otherwise made available to any other person. No title to and
**       ownership of the software is hereby transfered."
****************************************************************************
*  CREATION DATE: 01/01/94
*--------------------------------------------------------------------------*
*     VERSION	DATE	   NAME		DESCRIPTION
*>	1.0	01/01/94		Original
***************************************************************************/

#include <stdio.h>
#include <dos.h>

#include "forte.h"
#include "ultraerr.h"

#include "extern16.h"
#include "defs16.h"
#include "codecos.h"
#include "codec.h"
#include "proto16.h"

extern ULTRA16_DATA _codec_data;
extern IMAGE16 _image_codec;

PFV
Ultra16TimerHandler(handler)
PFV handler;
{
PFV old_handler;
old_handler = _codec_data.timer_func;
_codec_data.timer_func = handler;
return(old_handler);
}

PFV
Ultra16PlaybackHandler(handler)
PFV handler;
{
PFV old_handler;
old_handler = _codec_data.playback_func;
_codec_data.playback_func = handler;
return(old_handler);
}

PFV
Ultra16CaptureHandler(handler)
PFV handler;
{
PFV old_handler;
old_handler = _codec_data.capture_func;
_codec_data.capture_func = handler;
return(old_handler);
}

