46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
/* cmdline.h */
|
|
|
|
/* File autogenerated by gengetopt version 2.10 */
|
|
|
|
#ifndef CMDLINE_H
|
|
#define CMDLINE_H
|
|
|
|
/* If we use autoconf. */
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
#ifndef CMDLINE_PARSER_PACKAGE
|
|
#define CMDLINE_PARSER_PACKAGE "ingenuity - A GUI client for the Ingen realtime audio processor"
|
|
#endif
|
|
|
|
#ifndef CMDLINE_PARSER_VERSION
|
|
#define CMDLINE_PARSER_VERSION VERSION
|
|
#endif
|
|
|
|
struct gengetopt_args_info
|
|
{
|
|
char * engine_url_arg; /* Ingen OSC URL to connect to. */
|
|
int client_port_arg; /* Client port to listen on. */
|
|
|
|
int help_given ; /* Whether help was given. */
|
|
int version_given ; /* Whether version was given. */
|
|
int engine_url_given ; /* Whether engine-url was given. */
|
|
int client_port_given ; /* Whether client-port was given. */
|
|
|
|
} ;
|
|
|
|
int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
|
|
|
|
void cmdline_parser_print_help(void);
|
|
void cmdline_parser_print_version(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
#endif /* CMDLINE_H */
|