2010-04-30 22:54:39 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the sigrok project.
|
|
|
|
*
|
2012-02-13 13:31:51 +00:00
|
|
|
* Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
|
2010-04-30 22:54:39 +00:00
|
|
|
*
|
|
|
|
* 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 3 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 should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2012-07-04 22:55:07 +00:00
|
|
|
#include "libsigrok.h"
|
|
|
|
#include "libsigrok-internal.h"
|
2010-04-30 22:54:39 +00:00
|
|
|
|
2012-10-21 22:30:12 +00:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
*
|
|
|
|
* Input file/data format handling.
|
|
|
|
*/
|
|
|
|
|
2012-10-21 14:13:36 +00:00
|
|
|
/**
|
|
|
|
* @defgroup grp_input Input formats
|
|
|
|
*
|
|
|
|
* Input file/data format handling.
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2012-10-19 08:07:22 +00:00
|
|
|
/** @cond PRIVATE */
|
2012-02-04 09:56:51 +00:00
|
|
|
extern SR_PRIV struct sr_input_format input_chronovu_la8;
|
|
|
|
extern SR_PRIV struct sr_input_format input_binary;
|
2012-10-19 08:07:22 +00:00
|
|
|
/* @endcond */
|
2010-04-30 22:54:39 +00:00
|
|
|
|
2011-01-29 15:36:57 +00:00
|
|
|
static struct sr_input_format *input_module_list[] = {
|
2011-04-10 22:21:19 +00:00
|
|
|
&input_chronovu_la8,
|
2011-01-07 18:55:25 +00:00
|
|
|
/* This one has to be last, because it will take any input. */
|
2010-04-30 22:54:39 +00:00
|
|
|
&input_binary,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
2012-02-01 22:40:35 +00:00
|
|
|
SR_API struct sr_input_format **sr_input_list(void)
|
2010-04-30 22:54:39 +00:00
|
|
|
{
|
|
|
|
return input_module_list;
|
|
|
|
}
|
2012-10-21 14:13:36 +00:00
|
|
|
|
|
|
|
/** @} */
|