nua_types.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * This file is part of the Sofia-SIP package
  3. *
  4. * Copyright (C) 2008 Nokia Corporation.
  5. *
  6. * Contact: Pekka Pessi <pekka.pessi@nokia.com>
  7. *
  8. * This library is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU Lesser General Public License
  10. * as published by the Free Software Foundation; either version 2.1 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This library is distributed in the hope that it will be useful, but
  14. * WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * Lesser General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with this library; if not, write to the Free Software
  20. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  21. * 02110-1301 USA
  22. *
  23. */
  24. #ifndef NUA_TYPES_H
  25. /** Defined when <nua_types.h> has been included. */
  26. #define NUA_TYPES_H
  27. /**@internal @file nua_types.h
  28. * @brief Internal types for nua.
  29. *
  30. * @author Pekka Pessi <Pekka.Pessi@nokia.com>
  31. */
  32. typedef struct nua_handle_preferences nua_handle_preferences_t;
  33. typedef struct nua_global_preferences nua_global_preferences_t;
  34. #ifndef NUA_OWNER_T
  35. #define NUA_OWNER_T struct nua_owner_s
  36. #endif
  37. typedef NUA_OWNER_T nua_owner_t;
  38. typedef struct nua_dialog_state nua_dialog_state_t;
  39. typedef struct nua_dialog_usage nua_dialog_usage_t;
  40. typedef struct nua_server_request nua_server_request_t;
  41. typedef struct nua_client_request nua_client_request_t;
  42. typedef struct nua_dialog_peer_info nua_dialog_peer_info_t;
  43. #ifndef NUA_SAVED_SIGNAL_T
  44. #define NUA_SAVED_SIGNAL_T struct nua_saved_signal *
  45. #endif
  46. typedef NUA_SAVED_SIGNAL_T nua_saved_signal_t;
  47. #endif