6 * Copyright (C) 2011 SIPE Project <http://sipe.sourceforge.net/>
7 * Copyright (C) 2010 pier11 <pier11@operamail.com>
8 * Copyright (C) 2008 Novell, Inc.
10 * Implemented with reference to the follow documentation:
11 * - http://davenport.sourceforge.net/ntlm.html
12 * - MS-NLMP: http://msdn.microsoft.com/en-us/library/cc207842.aspx
13 * - MS-SIP : http://msdn.microsoft.com/en-us/library/cc246115.aspx
15 * Please use "make tests" to build & run them!
17 * This program is free software; you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License as published by
19 * the Free Software Foundation; either version 2 of the License, or
20 * (at your option) any later version.
22 * This program is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
27 * You should have received a copy of the GNU General Public License
28 * along with this program; if not, write to the Free Software
29 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
35 #if !PURPLE_VERSION_CHECK(3,0,0)
42 #include "sipe-common.h"
43 #include "sipe-core.h"
45 /* stub for purple-user.c */
46 void sipe_core_user_ask_cb(SIPE_UNUSED_PARAMETER gpointer key
,
47 SIPE_UNUSED_PARAMETER gboolean accepted
)
51 gboolean
sip_sec_ntlm_tests(void);
55 /* Initialization that libpurple/core.c would normally do */
56 purple_signals_init();
58 purple_debug_set_enabled(TRUE
);
59 #if !PURPLE_VERSION_CHECK(3,0,0)
60 purple_ciphers_init();
64 return(sip_sec_ntlm_tests() ? 0 : 1);