/** @file vtable.c
*
* @author Sylvain Nahas
*
* A vtable is an area of pointers to ioctl-implementing functions
*/

/** @par LICENCE
* @verbatim
 Copyright (C) 2004,2005  ADDI-DATA GmbH for the source code and the documentation.
        
        ADDI-DATA GmbH
        Dieselstrasse 3 
        D-77833 Ottersweier
        Tel: +19(0)7223/9493-0
        Fax: +49(0)7223/9493-92
        http://www.addi-data-com
        info@addi-data.com
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details. 
        
    You shoud find the complete GPL in the COPYING file accompanying 
    this source code. 
* @endverbatim
*/

#include "apci3600-private.h"
#include "vtable.h"


/**@def EXPORT_NO_SYMBOLS
 * Function in this file are not exported.
 */
EXPORT_NO_SYMBOLS;


//------------------------------------------------------------------------------

/* vtable for general board */
__do_fcn * apci3600_vtable_base[__APCI3600_BASE_UPPER_IOCTL_CMD + 1];
__do_fcn_with_id * apci3600_vtable_analog_output[__APCI3600_ANALOG_OUTPUT_UPPER_IOCTL_CMD + 1];
__do_fcn_with_id * apci3600_vtable_analog_input[__APCI3600_ANALOG_INPUT_UPPER_IOCTL_CMD + 1];
__do_fcn_with_id * apci3600_vtable_chrono[__APCI3600_CHRONOMETER_UPPER_IOCTL_CMD + 1];
__do_fcn * apci3600_vtable_digital_input[__APCI3600_DIGITAL_INPUT_UPPER_IOCTL_CMD + 1];
__do_fcn * apci3600_vtable_digital_output[__APCI3600_DIGITAL_OUTPUT_UPPER_IOCTL_CMD + 1];
__do_fcn * apci3600_vtable_external_trigger[__APCI3600_EXTERNAL_TRIGGER_UPPER_IOCTL_CMD + 1];
__do_fcn * apci3600_vtable_digital_input[__APCI3600_DIGITAL_INPUT_UPPER_IOCTL_CMD + 1];
