void rpc__module_init_func(void) { static rpc_authn_protocol_id_elt_t auth[1] = { { /* 0 */ rpc__ntlmauth_init, rpc_c_authn_ntlmssp, dce_c_rpc_authn_protocol_ntlmssp, NULL, NULL } }; rpc__register_authn_protocol(auth, 1); }
void rpc__ntlmauth_init_func(void) { static rpc_authn_protocol_id_elt_t auth[] = { { /* 0 */ rpc__ntlmauth_init, rpc_c_authn_winnt, dce_c_rpc_authn_protocol_winnt, NULL, rpc_g_ntlmauth_rpc_prot_epv } }; RPC_DBG_PRINTF(rpc_e_dbg_auth, RPC_C_CN_DBG_AUTH_ROUTINE_TRACE, ("(rpc__module_init_func)\n")); rpc__register_authn_protocol(auth, 1); }