#include <julius/juliuslib.h>
Go to the source code of this file.
Functions | |
static USEROPT * | useropt_new () |
Generate a new option data. | |
static void | useropt_free (USEROPT *x) |
ユーザオプションデータを解放. | |
void | useropt_free_all () |
Release all user option data. | |
boolean | j_add_option (char *fmt, int argnum, int reqargnum, char *desc, boolean(*func)(Jconf *jconf, char *arg[], int argnum)) |
Add a user-defined option to Julius. | |
int | useropt_exec (Jconf *jconf, char *argv[], int argc, int *n) |
Inspect for the user-specified options at option parsing. | |
void | useropt_show_desc (FILE *fp) |
Output description of all the registered user options. | |
Variables | |
static USEROPT * | useropt_root = NULL |
List of user option data. |
Definition in file useropt.c.
static USEROPT* useropt_new | ( | ) | [static] |
Generate a new option data.
Definition at line 45 of file useropt.c.
Referenced by j_add_option().
static void useropt_free | ( | USEROPT * | x | ) | [static] |
ユーザオプションデータを解放.
x | [in] a user option data to release |
Definition at line 71 of file useropt.c.
Referenced by useropt_free_all().
int useropt_exec | ( | Jconf * | jconf, | |
char * | argv[], | |||
int | argc, | |||
int * | n | |||
) |
Inspect for the user-specified options at option parsing.
jconf | [in] global configuration variables | |
argv | [in] argument array | |
argc | [in] number of arguments in argv | |
n | [i/o] current position in argv |
Definition at line 187 of file useropt.c.
Referenced by opt_parse().
void useropt_show_desc | ( | FILE * | fp | ) |
Output description of all the registered user options.
fp | [in] file pointer to output for |
Definition at line 233 of file useropt.c.
Referenced by j_output_argument_help().