modemu2k
Library that provides telnet capability to a comm program
src
cmdarg.h
1
/*
2
* cmdarg.h
3
*
4
* Copyright 2018-2020 Andy Alt <andy400-dev@yahoo.com>
5
*
6
* modemu2k is a fork of modemu
7
* Originally developed by Toru Egashira
8
* Copyright (c) 1995, 1996
9
*
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
19
*
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
23
* MA 02110-1301, USA.
24
*
25
*
26
*/
27
28
#ifndef _CMDARG_H
29
#define _CMDARG_H
30
31
struct
st_cmdarg
32
{
33
enum
34
{ CA_STDINOUT, CA_SHOWDEV, CA_COMMX, CA_DEVGIVEN } ttymode;
35
const
char
*commx;
36
const
char
*atcmd;
37
const
char
*dev;
38
};
39
40
void
cmdargParse (
const
int
argc,
char
*
const
argv[],
struct
st_cmdarg
*x);
41
42
#endif
st_cmdarg
Definition:
cmdarg.h:32
Generated by
1.9.3