/************************************************************************************************
 *  Copyright DEWETRON GmbH 2015                                                                *
 *                                                                                              *
 *   This file is a DMD reader library example                                                  *
 ************************************************************************************************/

/**
 * @file functions.h
 * @author DEWETRON GmbH
 * @date 2 Feb 2015
 * @brief DMD Reader lib example usage.
 */

#ifndef _FUNCTIONS_H_
#define _FUNCTIONS_H_

#if !defined(BUILD_X64) && !defined(BUILD_X86)
    // if nothing is defined default to 32bit
    #define BUILD_X86
#endif

#include "dmd_reader_api_interface.h"
#include <stdio.h>

const char* WriteDMDChannelToCSV(DMDReader_FileHandle dmd_handle, int channel_index, FILE* csv_handle);
const char* WriteDMDChannelToCSV_Reduced(DMDReader_FileHandle dmd_handle, int channel_index, FILE* csv_handle);
const char* WriteDMDMarkersToCSV(DMDReader_FileHandle dmd_handle, FILE* csv_handle);
const char* WriteDMDChannelsToCSV(DMDReader_FileHandle dmd_handle, FILE* csv_handle);
const char* WriteXMLConfig(DMDReader_FileHandle dmd_handle, FILE* csv_handle);

#endif
