libjulius/include/julius/useropt.h

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

ソースコードを見る。

データ構造

struct  __j_useropt__
 User-defined option [詳細]

型定義

typedef __j_useropt__ 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.2

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.c187 行で定義されています。

参照元 opt_parse().

呼出しグラフ:

void useropt_show_desc ( FILE *  fp  ) 

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

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

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

参照元 j_output_argument_help().

呼出しグラフ:


Juliusに対してThu Jul 23 12:16:45 2009に生成されました。  doxygen 1.5.1