tests/test-objects.h
author Mikael Hallendal <micke@imendio.com>
Sun, 25 Feb 2007 22:48:39 +0100
changeset 255 704881ac7788
parent 131 f67d47083e3a
permissions -rw-r--r--
Fixed potential problem if auth was not called from the open callback. The current SASL code required that you called authenticate from the open callback or the intial features message would be lost. Now the LmSASL object is iniated as soon as it's clear that we are going to talk XMPP. Added a SASL debug level. Some minor style fixes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
131
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
     1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
     2
/*
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
     3
 * Copyright (C) 2006 Imendio AB
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
     4
 *
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
     6
 * modify it under the terms of the GNU Lesser General Public License as
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
     7
 * published by the Free Software Foundation; either version 2 of the
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
     8
 * License, or (at your option) any later version.
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
     9
 *
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    10
 * This program is distributed in the hope that it will be useful,
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    13
 * Lesser General Public License for more details.
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    14
 *
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    15
 * You should have received a copy of the GNU Lesser General Public
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    16
 * License along with this program; if not, write to the
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    17
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    18
 * Boston, MA 02111-1307, USA.
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    19
 */
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    20
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    21
 #ifndef __TEST_OBJECT_H__
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    22
 #define __TEST_OBJECT_H__
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    23
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    24
#include <check.h>
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    25
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    26
Suite *create_lm_objects_suite (void);
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    27
f67d47083e3a 2006-03-20 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff changeset
    28
 #endif /* __TEST_OBJECT_H__ */