Julius 4.2
データ構造 | 関数
libjulius/include/julius/useropt.h

ユーザ指定の jconf オプション拡張 [詳細]

ソースコードを見る。

データ構造

struct  USEROPT
 User-defined option. [詳細]

関数

boolean j_add_option (char *fmt, int argnum, int reqargnum, char *desc, boolean(*func)(Jconf *jconf, char *arg[], int argnum))
 Julius にユーザ定義オプションを追加する.
void useropt_free_all ()
 全てのユーザオプションデータを解放する.
int useropt_exec (Jconf *jconf, char *argv[], int argc, int *n)
 オプション設定においてユーザ定義オプション処理を行う.
void useropt_show_desc (FILE *fp)
 登録されている全てのユーザ定義オプションの説明を出力する.

説明

ユーザ指定の jconf オプション拡張

作者:
Akinobu Lee
日付:
Sun Sep 02 03:09:12 2007
Revision:
1.3

useropt.h で定義されています。


関数

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
戻り値:
1 when the current argument was processed successfully by one of the user options, 0 when no user option matched for the current argument, or -1 on error.

useropt.c190 行で定義されています。

参照元 opt_parse().

関数の呼び出しグラフ:

呼出しグラフ:

void useropt_show_desc ( FILE *  fp)

登録されている全てのユーザ定義オプションの説明を出力する.

引数:
fp[in] file pointer to output for

useropt.c236 行で定義されています。

参照元 j_output_argument_help().

呼出しグラフ: