2008-09-12 22:55:10 +00:00
|
|
|
/*
|
|
|
|
* rotctl_parse.h - (C) Stephane Fillod 2000-2008
|
|
|
|
*
|
|
|
|
* This program test/control a radio using Hamlib.
|
2010-02-14 22:18:00 +00:00
|
|
|
* It takes commands in interactive mode as well as
|
2008-09-12 22:55:10 +00:00
|
|
|
* from command line options.
|
|
|
|
*
|
|
|
|
*
|
2011-08-22 01:51:06 +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 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
2008-09-12 22:55:10 +00:00
|
|
|
*
|
2011-08-22 01:51:06 +00:00
|
|
|
* 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.
|
2010-02-14 22:18:00 +00:00
|
|
|
*
|
2011-08-22 01:51:06 +00:00
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2010-02-14 22:18:00 +00:00
|
|
|
*
|
2008-09-12 22:55:10 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ROTCTL_PARSE_H
|
|
|
|
#define ROTCTL_PARSE_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <hamlib/rotator.h>
|
|
|
|
|
2010-02-14 22:18:00 +00:00
|
|
|
/*
|
|
|
|
* external prototype
|
|
|
|
*/
|
|
|
|
|
2017-08-09 18:09:55 +00:00
|
|
|
int dumpcaps_rot(ROT *, FILE *);
|
2010-02-14 22:18:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
2008-09-12 22:55:10 +00:00
|
|
|
* Prototypes
|
|
|
|
*/
|
|
|
|
void usage_rot(FILE *);
|
|
|
|
void version();
|
|
|
|
void list_models();
|
|
|
|
int print_conf_list(const struct confparams *cfp, rig_ptr_t data);
|
|
|
|
int set_conf(ROT *my_rot, char *conf_parms);
|
|
|
|
|
2019-08-25 07:58:19 +00:00
|
|
|
int rotctl_parse(ROT *my_rot, FILE *fin, FILE *fout, char *argv[], int argc,
|
2019-08-29 13:27:22 +00:00
|
|
|
int interactive, int prompt, char send_cmd_term);
|
2008-09-12 22:55:10 +00:00
|
|
|
|
2017-08-09 18:09:55 +00:00
|
|
|
#endif /* ROTCTL_PARSE_H */
|