nea_tag.c 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. * This file is part of the Sofia-SIP package
  3. *
  4. * Copyright (C) 2005 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. /**@CFILE nea_tag.c
  25. * @brief Tags for Nokia SIP Transaction API
  26. *
  27. * @author Pekka Pessi <Pekka.Pessi@nokia.com>
  28. * @author Martti Mela <Martti Mela@nokia.com>
  29. *
  30. * @date Created: Tue Jul 24 22:28:34 2001 ppessi
  31. */
  32. #include "config.h"
  33. #include <string.h>
  34. #include <assert.h>
  35. #define TAG_NAMESPACE "nea"
  36. #include "sofia-sip/nea.h"
  37. #include <sofia-sip/su_tag_class.h>
  38. #include <sofia-sip/sip_tag_class.h>
  39. #include <sofia-sip/url_tag_class.h>
  40. tag_typedef_t neatag_any = NSTAG_TYPEDEF(*);
  41. tag_typedef_t neatag_min_expires = UINTTAG_TYPEDEF(min_expires);
  42. tag_typedef_t neatag_expires = UINTTAG_TYPEDEF(expires);
  43. tag_typedef_t neatag_max_expires = UINTTAG_TYPEDEF(max_expires);
  44. tag_typedef_t neatag_throttle = UINTTAG_TYPEDEF(throttle);
  45. tag_typedef_t neatag_minthrottle = UINTTAG_TYPEDEF(minthrottle);
  46. tag_typedef_t neatag_dialog = PTRTAG_TYPEDEF(dialog);
  47. tag_typedef_t neatag_eventlist = BOOLTAG_TYPEDEF(eventlist);
  48. tag_typedef_t neatag_fake = BOOLTAG_TYPEDEF(fake);
  49. tag_typedef_t neatag_reason = STRTAG_TYPEDEF(reason);
  50. tag_typedef_t neatag_retry_after = UINTTAG_TYPEDEF(retry_after);
  51. tag_typedef_t neatag_exstate = STRTAG_TYPEDEF(exstate);
  52. tag_typedef_t neatag_version = INTTAG_TYPEDEF(version);
  53. tag_typedef_t neatag_view = PTRTAG_TYPEDEF(view);
  54. tag_typedef_t neatag_evmagic = PTRTAG_TYPEDEF(evmagic);
  55. tag_typedef_t neatag_reliable = BOOLTAG_TYPEDEF(reliable);
  56. tag_typedef_t neatag_sub = PTRTAG_TYPEDEF(sub);
  57. tag_typedef_t neatag_strict_3265 = BOOLTAG_TYPEDEF(strict_3265);