update files in preparation for next release
[siplcs.git] / src / purple / tests.c
blobf36ac7711bd958b855ef4071102b1c43a29e6085
1 /**
2 * @file tests.c
4 * pidgin-sipe
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
32 #include <glib.h>
34 #include "cipher.h"
35 #include "debug.h"
36 #include "signals.h"
38 #include "sipe-common.h"
39 #include "sipe-core.h"
41 /* stub for purple-user.c */
42 void sipe_core_user_ask_cb(SIPE_UNUSED_PARAMETER gpointer key,
43 SIPE_UNUSED_PARAMETER gboolean accepted)
47 gboolean sip_sec_ntlm_tests(void);
49 int main()
51 /* Initialization that libpurple/core.c would normally do */
52 purple_signals_init();
53 purple_debug_init();
54 purple_debug_set_enabled(TRUE);
55 purple_ciphers_init();
57 /* Run tests */
58 return(sip_sec_ntlm_tests() ? 0 : 1);
62 Local Variables:
63 mode: c
64 c-file-style: "bsd"
65 indent-tabs-mode: t
66 tab-width: 8
67 End: