Julius 4.2
|
ユーザ定義オプション [詳細]
#include <julius/juliuslib.h>
関数 | |
static USEROPT * | useropt_new () |
新たなユーザオプションデータを生成. | |
static void | useropt_free (USEROPT *x) |
Release a user option data. | |
void | useropt_free_all () |
全てのユーザオプションデータを解放する. | |
boolean | j_add_option (char *fmt, int argnum, int reqargnum, char *desc, boolean(*func)(Jconf *jconf, char *arg[], int argnum)) |
Julius にユーザ定義オプションを追加する. | |
int | useropt_exec (Jconf *jconf, char *argv[], int argc, int *n) |
オプション設定においてユーザ定義オプション処理を行う. | |
void | useropt_show_desc (FILE *fp) |
登録されている全てのユーザ定義オプションの説明を出力する. | |
変数 | |
static USEROPT * | useropt_root = NULL |
List of user option data. |
static USEROPT* useropt_new | ( | ) | [static] |
static void useropt_free | ( | USEROPT * | x | ) | [static] |
int useropt_exec | ( | Jconf * | jconf, |
char * | argv[], | ||
int | argc, | ||
int * | n | ||
) |
オプション設定においてユーザ定義オプション処理を行う.
jconf | [in] global configuration variables |
argv | [in] argument array |
argc | [in] number of arguments in argv |
n | [i/o] current position in argv |
参照元 opt_parse().
void useropt_show_desc | ( | FILE * | fp | ) |
登録されている全てのユーザ定義オプションの説明を出力する.
fp | [in] file pointer to output for |
USEROPT* useropt_root = NULL [static] |