|
Document of c-modernization-kit (funcman) 1.0.0
|
設定テキストファイルから funcman_object エントリを読み込む。 More...
Go to the source code of this file.
Macros | |
| #define | CONFIG_LINE_MAX 1024 |
| fgets で読み込む行バッファの最大長 | |
Functions | |
| void | funcman_init (funcman_object *const *fobj_array, const size_t fobj_length, const char *configpath) |
| funcman_object ポインタ配列を初期化します。 | |
設定テキストファイルから funcman_object エントリを読み込む。
テキストファイルから func_key / lib_name / func_name を 読み込み、_func_objects 配列の対応エントリに設定します。
ファイルフォーマット:
Definition in file funcman_init.c.
| #define CONFIG_LINE_MAX 1024 |
| void funcman_init | ( | funcman_object *const * | fobj_array, |
| const size_t | fobj_length, | ||
| const char * | configpath ) |
funcman_object ポインタ配列を初期化します。
必ず、constructor / DllMain コンテキストから呼ぶようにしてください。
| [in] | fobj_array | funcman_object ポインタ配列。 |
| [in] | fobj_length | 配列の要素数。 |
| [in] | configpath | 定義ファイルのパス。 |
Definition at line 37 of file funcman_init.c.
References CONFIG_LINE_MAX, funcman_object::func_key, funcman_object::func_name, FUNCMAN_NAME_MAX, and funcman_object::lib_name.