コード例 #1
0
ファイル: func_db.c プロジェクト: mehulsbhatt/voip-foip
int load_module(void)
{
        db_exists_function = cw_register_function(db_exists_func_name, function_db_exists, NULL, db_exists_func_synopsis, db_exists_func_syntax, db_exists_func_desc);
        db_function = cw_register_function(db_func_name, function_db_read, function_db_write, db_func_synopsis, db_func_syntax, db_func_desc);

        return 0;
}
コード例 #2
0
int load_module(void)
{
	group_count_function = cw_register_function(group_count_func_name, group_count_function_read, NULL, group_count_func_synopsis, group_count_func_syntax, group_count_func_desc);
	group_match_count_function = cw_register_function(group_match_count_func_name, group_match_count_function_read, NULL, group_match_count_func_synopsis, group_match_count_func_syntax, group_match_count_func_desc);
	group_function = cw_register_function(group_func_name, group_function_read, group_function_write, group_func_synopsis, group_func_syntax, group_func_desc);
	group_list_function = cw_register_function(group_list_func_name, group_list_function_read, NULL, group_list_func_synopsis, group_list_func_syntax, group_list_func_desc);
        return 0;
}
コード例 #3
0
ファイル: func_logic.c プロジェクト: wildzero-cw/callweaver
int load_module(void)
{
    isnull_function = cw_register_function(isnull_func_name, builtin_function_isnull, NULL, isnull_func_synopsis, isnull_func_syntax, isnull_func_desc);
    set_function = cw_register_function(set_func_name, builtin_function_set, NULL, set_func_synopsis, set_func_syntax, set_func_desc);
    exists_function = cw_register_function(exists_func_name, builtin_function_exists, NULL, exists_func_synopsis, exists_func_syntax, exists_func_desc);
    if_function = cw_register_function(if_func_name, builtin_function_if, NULL, if_func_synopsis, if_func_syntax, if_func_desc);
    if_time_function = cw_register_function(if_time_func_name, builtin_function_iftime, NULL, if_time_func_synopsis, if_time_func_syntax, if_time_func_desc);
    return 0;
}
コード例 #4
0
ファイル: func_strings.c プロジェクト: wildzero-cw/callweaver
int load_module(void)
{
	fieldqty_function = cw_register_function(fieldqty_func_name, function_fieldqty, NULL, fieldqty_func_synopsis, fieldqty_func_syntax, fieldqty_func_desc);
	filter_function = cw_register_function(filter_func_name, function_filter, NULL, filter_func_synopsis, filter_func_syntax, filter_func_desc);
	regex_function = cw_register_function(regex_func_name, builtin_function_regex, NULL, regex_func_synopsis, regex_func_syntax, regex_func_desc);
	len_function = cw_register_function(len_func_name, builtin_function_len, NULL, len_func_synopsis, len_func_syntax, len_func_desc);
	strftime_function = cw_register_function(strftime_func_name, acf_strftime, NULL, strftime_func_synopsis, strftime_func_syntax, strftime_func_desc);
	eval_function = cw_register_function(eval_func_name, function_eval, NULL, eval_func_synopsis, eval_func_syntax, eval_func_desc);
	cut_function = cw_register_function(cut_func_name, function_cut, NULL, cut_func_synopsis, cut_func_syntax, cut_func_desc);
	sort_function = cw_register_function(sort_func_name, function_sort, NULL, sort_func_synopsis, sort_func_syntax, sort_func_desc);

        return 0;
}
コード例 #5
0
ファイル: func_moh.c プロジェクト: mehulsbhatt/voip-foip
int load_module(void)
{
    moh_function = cw_register_function(moh_func_name, function_moh_read, function_moh_write, moh_func_synopsis, moh_func_syntax, moh_func_desc);
    return 0;
}
コード例 #6
0
ファイル: func_math.c プロジェクト: mehulsbhatt/voip-foip
int load_module(void)
{
        math_function = cw_register_function(math_func_name, builtin_function_math, NULL, math_func_synopsis, math_func_syntax, math_func_desc);
	return 0;
}
コード例 #7
0
int load_module(void)
{
        backticks_function = cw_register_function(backticks_func_name, function_backticks, NULL, backticks_func_synopsis, backticks_func_syntax, backticks_func_descrip);
        backticks_app = cw_register_application(backticks_name, backticks_exec, backticks_synopsis, backticks_syntax, backticks_descrip);
	return 0;
}
コード例 #8
0
int load_module(void)
{
    vmcount_function = cw_register_function(vmcount_func_name, acf_vmcount_exec, NULL, vmcount_func_synopsis, vmcount_func_syntax, vmcount_func_desc);
    return 0;
}