You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/**
* @headerfile tcua 头文件
*/
#include <epm/epm.h>
#include <tccore/custom.h>
#include <server_exits/user_server_exits.h>
#include "BH_handler.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @fn extern "C" DLLAPI int liborigin_register_callbacks
* @return usually return ITK_ok
* @brief liborigin customization entry
* 此函数必须有规范的写法必须以dll的名称加上"_"开头
*/
DLLAPI int BH_itk_register_callbacks()
{
int ifail = ITK_ok;
TC_write_syslog("*******************************************************************************\n");
TC_write_syslog("* BH_itk register_callbacks is starting *\n");
TC_write_syslog("*******************************************************************************\n");
fprintf(stdout, "\n BH_itk 注册成功 \n");
/*ITKCALL(ifail = CUSTOM_register_exit("LB_itk", "USERSERVICE_register_methods",
(CUSTOM_EXIT_ftn_t)USERSERVICE_custom_register_methods));
fprintf(stdout, "\n LB_itk registering USERSERVICE_custom_register_methods completed!\n");*/
ITKCALL(ifail = CUSTOM_register_exit("BH_itk", "USER_gs_shell_init_module",
(CUSTOM_EXIT_ftn_t)USERSERVICE_custom_register_handlers));
fprintf(stdout, "\n BH_itk registering USERSERVICE_custom_register_handlers completed!\n");
return ifail;
}
#ifdef __cplusplus
}
#endif