Parse the Command Line. More...
Go to the source code of this file.
Data Structures | |
struct | CliShared |
Shared Command Line options. More... | |
struct | CliHelp |
Help Mode Command Line options. More... | |
struct | CliInfo |
Info Mode Command Line options. More... | |
struct | CliSend |
Send Mode Command Line options. More... | |
struct | CliTui |
TUI Mode Command Line options. More... | |
struct | CommandLine |
Command Line options. More... | |
Enumerations | |
enum | HelpMode { HM_NONE , HM_SHARED , HM_HELP , HM_INFO , HM_SEND , HM_TUI , HM_ALL } |
Show detailed help. More... | |
Functions | |
ARRAY_HEAD (StringArray, char *) | |
struct CommandLine * | command_line_new (void) |
Create a new CommandLine. | |
void | command_line_free (struct CommandLine **ptr) |
Free a CommandLine. | |
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/.
Definition in file objects.h.
enum HelpMode |
Show detailed help.
ARRAY_HEAD | ( | StringArray | , |
char * | |||
) |
struct CommandLine * command_line_new | ( | void | ) |
Create a new CommandLine.
ptr | New CommandLine |
Definition at line 105 of file objects.c.
void command_line_free | ( | struct CommandLine ** | ptr | ) |
Free a CommandLine.
ptr | CommandLine to free |
Definition at line 114 of file objects.c.