Add config parser function config_fun.c

Signed-off-by: winton.liu <834152646@qq.com>