2010-04-02 18:18:27 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the sigrok project.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010 Bert Vermeulen <bert@biot.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 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/>.
|
|
|
|
*/
|
|
|
|
|
2010-04-15 21:21:30 +00:00
|
|
|
#include <sigrok.h>
|
2010-04-02 18:18:27 +00:00
|
|
|
|
2011-01-29 15:36:57 +00:00
|
|
|
extern struct sr_output_format output_text_bits;
|
|
|
|
extern struct sr_output_format output_text_hex;
|
|
|
|
extern struct sr_output_format output_text_ascii;
|
|
|
|
extern struct sr_output_format output_binary;
|
|
|
|
extern struct sr_output_format output_vcd;
|
|
|
|
extern struct sr_output_format output_ols;
|
|
|
|
extern struct sr_output_format output_gnuplot;
|
2011-04-10 21:33:43 +00:00
|
|
|
extern struct sr_output_format output_chronovu_la8;
|
2011-04-26 21:56:00 +00:00
|
|
|
extern struct sr_output_format output_csv;
|
2011-02-20 12:08:44 +00:00
|
|
|
/* extern struct sr_output_format output_analog_bits; */
|
|
|
|
/* extern struct sr_output_format output_analog_gnuplot; */
|
2010-04-02 18:18:27 +00:00
|
|
|
|
2011-01-29 15:36:57 +00:00
|
|
|
static struct sr_output_format *output_module_list[] = {
|
2010-04-12 21:21:12 +00:00
|
|
|
&output_text_bits,
|
2010-04-02 18:18:27 +00:00
|
|
|
&output_text_hex,
|
2011-01-17 21:56:14 +00:00
|
|
|
&output_text_ascii,
|
2010-04-12 19:22:58 +00:00
|
|
|
&output_binary,
|
2010-04-04 11:19:20 +00:00
|
|
|
&output_vcd,
|
2011-01-15 17:18:09 +00:00
|
|
|
&output_ols,
|
2010-04-06 12:38:47 +00:00
|
|
|
&output_gnuplot,
|
2011-04-10 21:33:43 +00:00
|
|
|
&output_chronovu_la8,
|
2011-04-26 21:56:00 +00:00
|
|
|
&output_csv,
|
2011-02-20 12:08:44 +00:00
|
|
|
/* &output_analog_bits, */
|
|
|
|
/* &output_analog_gnuplot, */
|
2010-04-04 11:19:20 +00:00
|
|
|
NULL,
|
2010-04-02 18:18:27 +00:00
|
|
|
};
|
|
|
|
|
2011-01-29 15:36:57 +00:00
|
|
|
struct sr_output_format **sr_output_list(void)
|
2010-04-02 18:18:27 +00:00
|
|
|
{
|
|
|
|
return output_module_list;
|
|
|
|
}
|