nua_types.h 1.71 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
/*
 * This file is part of the Sofia-SIP package
 *
 * Copyright (C) 2008 Nokia Corporation.
 *
 * Contact: Pekka Pessi <pekka.pessi@nokia.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA
 *
 */

#ifndef NUA_TYPES_H
/** Defined when <nua_types.h> has been included. */
#define NUA_TYPES_H

29
/**@internal @file nua_types.h
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
 * @brief Internal types for nua.
 *
 * @author Pekka Pessi <Pekka.Pessi@nokia.com>
 */

typedef struct nua_handle_preferences nua_handle_preferences_t;
typedef struct nua_global_preferences nua_global_preferences_t;

#ifndef NUA_OWNER_T
#define NUA_OWNER_T struct nua_owner_s
#endif
typedef NUA_OWNER_T nua_owner_t;

typedef struct nua_dialog_state nua_dialog_state_t;
typedef struct nua_dialog_usage nua_dialog_usage_t;
45 46
typedef struct nua_server_request nua_server_request_t;
typedef struct nua_client_request nua_client_request_t;
47 48 49 50 51 52 53 54 55
typedef struct nua_dialog_peer_info nua_dialog_peer_info_t;

#ifndef NUA_SAVED_SIGNAL_T
#define NUA_SAVED_SIGNAL_T struct nua_saved_signal *
#endif

typedef NUA_SAVED_SIGNAL_T nua_saved_signal_t;

#endif