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.

33 lines
941 B

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.

#include <tc/tc.h>
#include <tccore\custom.h>
#include <server_exits\user_server_exits.h>
#include "Register_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 SB_register_callbacks()
{
int ifail = ITK_ok;
TC_write_syslog("*******************************************************************************\n");
TC_write_syslog("* SB register_callbacks is starting *\n");
TC_write_syslog("*******************************************************************************\n");
ITKCALL(ifail = CUSTOM_register_exit("SB", "USER_gs_shell_init_module",(CUSTOM_EXIT_ftn_t)registerHandler));
fprintf(stdout, "\n SB register registerHandler completed!\n");
return ifail;
}
#ifdef __cplusplus
}
#endif