alaw_ulaw.h   alaw_ulaw.h 
/* $Id: alaw_ulaw.h 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: alaw_ulaw.h 2416 2009-01-05 15:27:02Z nanang $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 140 skipping to change at line 140
/** /**
* Convert 8-bit U-Law value to 8-bit A-Law value. * Convert 8-bit U-Law value to 8-bit A-Law value.
* *
* @param uval 8-bit U-Law value. * @param uval 8-bit U-Law value.
* @return 8-bit A-Law value. * @return 8-bit A-Law value.
*/ */
PJ_DECL(unsigned char) pjmedia_ulaw2alaw(unsigned char uval); PJ_DECL(unsigned char) pjmedia_ulaw2alaw(unsigned char uval);
#endif #endif
/**
* Encode 16-bit linear PCM data to 8-bit U-Law data.
*
* @param dst Destination buffer for 8-bit U-Law data.
* @param src Source, 16-bit linear PCM data.
* @param len Number of samples.
*/
PJ_INLINE(void) pjmedia_ulaw_encode(pj_uint8_t *dst, const pj_int16_t *src,
pj_size_t len)
{
const pj_int16_t *end = src + len;
while (src < end) {
*dst++ = pjmedia_linear2ulaw(*src++);
}
}
/**
* Encode 16-bit linear PCM data to 8-bit A-Law data.
*
* @param dst Destination buffer for 8-bit A-Law data.
* @param src Source, 16-bit linear PCM data.
* @param len Number of samples.
*/
PJ_INLINE(void) pjmedia_alaw_encode(pj_uint8_t *dst, const pj_int16_t *src,
pj_size_t len)
{
const pj_int16_t *end = src + len;
while (src < end) {
*dst++ = pjmedia_linear2alaw(*src++);
}
}
/**
* Decode 8-bit U-Law data to 16-bit linear PCM data.
*
* @param dst Destination buffer for 16-bit PCM data.
* @param src Source, 8-bit U-Law data.
* @param len Number of samples.
*/
PJ_INLINE(void) pjmedia_ulaw_decode(pj_int16_t *dst, const pj_uint8_t *src,
pj_size_t len)
{
const pj_uint8_t *end = src + len;
while (src < end) {
*dst++ = pjmedia_ulaw2linear(*src++);
}
}
/**
* Decode 8-bit A-Law data to 16-bit linear PCM data.
*
* @param dst Destination buffer for 16-bit PCM data.
* @param src Source, 8-bit A-Law data.
* @param len Number of samples.
*/
PJ_INLINE(void) pjmedia_alaw_decode(pj_int16_t *dst, const pj_uint8_t *src,
pj_size_t len)
{
const pj_uint8_t *end = src + len;
while (src < end) {
*dst++ = pjmedia_alaw2linear(*src++);
}
}
PJ_END_DECL PJ_END_DECL
#endif /* __PJMEDIA_ALAW_ULAW_H__ */ #endif /* __PJMEDIA_ALAW_ULAW_H__ */
 End of changes. 2 change blocks. 
1 lines changed or deleted 69 lines changed or added


 cc_armcc.h   cc_armcc.h 
/* $Id: cc_armcc.h 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: cc_armcc.h 2407 2009-01-01 20:56:36Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 54 skipping to change at line 54
#define PJ_NORETURN #define PJ_NORETURN
#define PJ_ATTR_NORETURN __attribute__ ((noreturn)) #define PJ_ATTR_NORETURN __attribute__ ((noreturn))
#define PJ_HAS_INT64 1 #define PJ_HAS_INT64 1
typedef long long pj_int64_t; typedef long long pj_int64_t;
typedef unsigned long long pj_uint64_t; typedef unsigned long long pj_uint64_t;
#define PJ_INT64_FMT "L" #define PJ_INT64_FMT "L"
#define PJ_UNREACHED(x)
#endif /* __PJ_COMPAT_CC_ARMCC_H__ */ #endif /* __PJ_COMPAT_CC_ARMCC_H__ */
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added


 cc_codew.h   cc_codew.h 
/* $Id: cc_codew.h 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: cc_codew.h 2407 2009-01-01 20:56:36Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 51 skipping to change at line 51
#define PJ_HAS_INT64 1 #define PJ_HAS_INT64 1
typedef long long pj_int64_t; typedef long long pj_int64_t;
typedef unsigned long long pj_uint64_t; typedef unsigned long long pj_uint64_t;
#define PJ_INT64(val) val##LL #define PJ_INT64(val) val##LL
#define PJ_UINT64(val) val##LLU #define PJ_UINT64(val) val##LLU
#define PJ_INT64_FMT "L" #define PJ_INT64_FMT "L"
#define PJ_UNREACHED(x)
#endif /* __PJ_COMPAT_CC_CODEW_H__ */ #endif /* __PJ_COMPAT_CC_CODEW_H__ */
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added


 cc_gcc.h   cc_gcc.h 
/* $Id: cc_gcc.h 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: cc_gcc.h 2407 2009-01-01 20:56:36Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 69 skipping to change at line 69
#endif #endif
#define PJ_INT64(val) val##LL #define PJ_INT64(val) val##LL
#define PJ_UINT64(val) val##LLU #define PJ_UINT64(val) val##LLU
#define PJ_INT64_FMT "L" #define PJ_INT64_FMT "L"
#ifdef __GLIBC__ #ifdef __GLIBC__
# define PJ_HAS_BZERO 1 # define PJ_HAS_BZERO 1
#endif #endif
#define PJ_UNREACHED(x)
#endif /* __PJ_COMPAT_CC_GCC_H__ */ #endif /* __PJ_COMPAT_CC_GCC_H__ */
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added


 cc_msvc.h   cc_msvc.h 
/* $Id: cc_msvc.h 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: cc_msvc.h 2407 2009-01-01 20:56:36Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 41 skipping to change at line 41
#define PJ_CC_NAME "msvc" #define PJ_CC_NAME "msvc"
#define PJ_CC_VER_1 (_MSC_VER/100) #define PJ_CC_VER_1 (_MSC_VER/100)
#define PJ_CC_VER_2 (_MSC_VER%100) #define PJ_CC_VER_2 (_MSC_VER%100)
#define PJ_CC_VER_3 0 #define PJ_CC_VER_3 0
/* Disable CRT deprecation warnings. */ /* Disable CRT deprecation warnings. */
#if PJ_CC_VER_1 >= 8 && !defined(_CRT_SECURE_NO_DEPRECATE) #if PJ_CC_VER_1 >= 8 && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE # define _CRT_SECURE_NO_DEPRECATE
#endif #endif
#if PJ_CC_VER_1 >= 8 && !defined(_CRT_SECURE_NO_WARNINGS)
# define _CRT_SECURE_NO_WARNINGS
/* The above doesn't seem to work, at least on VS2005, so lets use
* this construct as well.
*/
# pragma warning(disable: 4996)
#endif
#pragma warning(disable: 4127) // conditional expression is constant #pragma warning(disable: 4127) // conditional expression is constant
#pragma warning(disable: 4611) // not wise to mix setjmp with C++ #pragma warning(disable: 4611) // not wise to mix setjmp with C++
#pragma warning(disable: 4514) // unref. inline function has been removed #pragma warning(disable: 4514) // unref. inline function has been removed
#ifdef NDEBUG #ifdef NDEBUG
# pragma warning(disable: 4702) // unreachable code # pragma warning(disable: 4702) // unreachable code
# pragma warning(disable: 4710) // function is not inlined. # pragma warning(disable: 4710) // function is not inlined.
# pragma warning(disable: 4711) // function selected for auto inline expan sion # pragma warning(disable: 4711) // function selected for auto inline expan sion
#endif #endif
skipping to change at line 74 skipping to change at line 81
#define PJ_HAS_INT64 1 #define PJ_HAS_INT64 1
typedef __int64 pj_int64_t; typedef __int64 pj_int64_t;
typedef unsigned __int64 pj_uint64_t; typedef unsigned __int64 pj_uint64_t;
#define PJ_INT64(val) val##i64 #define PJ_INT64(val) val##i64
#define PJ_UINT64(val) val##ui64 #define PJ_UINT64(val) val##ui64
#define PJ_INT64_FMT "I64" #define PJ_INT64_FMT "I64"
#define PJ_UNREACHED(x)
#endif /* __PJ_COMPAT_CC_MSVC_H__ */ #endif /* __PJ_COMPAT_CC_MSVC_H__ */
 End of changes. 3 change blocks. 
1 lines changed or deleted 10 lines changed or added


 cc_mwcc.h   cc_mwcc.h 
/* $Id: cc_mwcc.h 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: cc_mwcc.h 2407 2009-01-01 20:56:36Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 51 skipping to change at line 51
#define PJ_HAS_INT64 1 #define PJ_HAS_INT64 1
typedef long long pj_int64_t; typedef long long pj_int64_t;
typedef unsigned long long pj_uint64_t; typedef unsigned long long pj_uint64_t;
#define PJ_INT64(val) val##LL #define PJ_INT64(val) val##LL
#define PJ_UINT64(val) val##LLU #define PJ_UINT64(val) val##LLU
#define PJ_INT64_FMT "L" #define PJ_INT64_FMT "L"
#define PJ_UNREACHED(x)
#endif /* __PJ_COMPAT_CC_MWCC_H__ */ #endif /* __PJ_COMPAT_CC_MWCC_H__ */
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added


 config.h   config.h 
/* $Id: config.h 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: config.h 2527 2009-03-23 11:57:55Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 110 skipping to change at line 110
# include <pj/compat/os_palmos.h> # include <pj/compat/os_palmos.h>
#elif defined(PJ_SUNOS) || defined(sun) || defined(__sun) #elif defined(PJ_SUNOS) || defined(sun) || defined(__sun)
/* /*
* SunOS * SunOS
*/ */
# undef PJ_SUNOS # undef PJ_SUNOS
# define PJ_SUNOS 1 # define PJ_SUNOS 1
# include <pj/compat/os_sunos.h> # include <pj/compat/os_sunos.h>
#elif defined(PJ_DARWINOS) || defined(__MACOSX__) #elif defined(PJ_DARWINOS) || defined(__MACOSX__) || \
defined (__APPLE__) || defined (__MACH__)
/* /*
* MacOS X * MacOS X
*/ */
# undef PJ_DARWINOS # undef PJ_DARWINOS
# define PJ_DARWINOS 1 # define PJ_DARWINOS 1
# include <pj/compat/os_darwinos.h> # include <pj/compat/os_darwinos.h>
#elif defined(PJ_RTEMS) && PJ_RTEMS!=0 #elif defined(PJ_RTEMS) && PJ_RTEMS!=0
/* /*
* RTEMS * RTEMS
 End of changes. 2 change blocks. 
2 lines changed or deleted 3 lines changed or added


 m_auto.h   m_auto.h 
/* pjlib/include/pj/compat/m_auto.h. Generated by configure. */ /* pjlib/include/pj/compat/m_auto.h. Generated by configure. */
/* $Id: m_auto.h.in 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: m_auto.h.in 2528 2009-03-23 12:09:19Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 32 skipping to change at line 32
#define __PJ_COMPAT_M_AUTO_H__ #define __PJ_COMPAT_M_AUTO_H__
/** /**
* @file m_auto.h * @file m_auto.h
* @brief Automatically generated process definition file. * @brief Automatically generated process definition file.
*/ */
/* Machine name, filled in by autoconf script */ /* Machine name, filled in by autoconf script */
#define PJ_M_NAME "i686" #define PJ_M_NAME "i686"
/* Endianness, as detected by autoconf */ /* Endianness. It's reported on pjsip list on 09/02/13 that autoconf
/* #undef WORDS_BIGENDIAN */ * endianness detection failed for universal build, so special case
* for it here. Thanks Ruud Klaver for the fix.
*/
#ifdef PJ_DARWINOS
# ifdef __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
/* Endianness, as detected by autoconf */
/* # undef WORDS_BIGENDIAN */
#endif
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
# define PJ_IS_LITTLE_ENDIAN 0 # define PJ_IS_LITTLE_ENDIAN 0
# define PJ_IS_BIG_ENDIAN 1 # define PJ_IS_BIG_ENDIAN 1
#else #else
# define PJ_IS_LITTLE_ENDIAN 1 # define PJ_IS_LITTLE_ENDIAN 1
# define PJ_IS_BIG_ENDIAN 0 # define PJ_IS_BIG_ENDIAN 0
#endif #endif
/* Specify if floating point is present/desired */ /* Specify if floating point is present/desired */
 End of changes. 2 change blocks. 
3 lines changed or deleted 13 lines changed or added


 m_auto.h.in   m_auto.h.in 
/* $Id: m_auto.h.in 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: m_auto.h.in 2528 2009-03-23 12:09:19Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 31 skipping to change at line 31
#define __PJ_COMPAT_M_AUTO_H__ #define __PJ_COMPAT_M_AUTO_H__
/** /**
* @file m_auto.h * @file m_auto.h
* @brief Automatically generated process definition file. * @brief Automatically generated process definition file.
*/ */
/* Machine name, filled in by autoconf script */ /* Machine name, filled in by autoconf script */
#undef PJ_M_NAME #undef PJ_M_NAME
/* Endianness, as detected by autoconf */ /* Endianness. It's reported on pjsip list on 09/02/13 that autoconf
#undef WORDS_BIGENDIAN * endianness detection failed for universal build, so special case
* for it here. Thanks Ruud Klaver for the fix.
*/
#ifdef PJ_DARWINOS
# ifdef __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
/* Endianness, as detected by autoconf */
# undef WORDS_BIGENDIAN
#endif
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
# define PJ_IS_LITTLE_ENDIAN 0 # define PJ_IS_LITTLE_ENDIAN 0
# define PJ_IS_BIG_ENDIAN 1 # define PJ_IS_BIG_ENDIAN 1
#else #else
# define PJ_IS_LITTLE_ENDIAN 1 # define PJ_IS_LITTLE_ENDIAN 1
# define PJ_IS_BIG_ENDIAN 0 # define PJ_IS_BIG_ENDIAN 0
#endif #endif
/* Specify if floating point is present/desired */ /* Specify if floating point is present/desired */
 End of changes. 2 change blocks. 
3 lines changed or deleted 13 lines changed or added


 os.h   os.h 
/* $Id: os.h 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: os.h 2482 2009-03-02 15:50:12Z nanang $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 389 skipping to change at line 389
* be called before #pj_init() is called. * be called before #pj_init() is called.
* *
* @param prm Symbian specific parameters. * @param prm Symbian specific parameters.
* *
* @return PJ_SUCCESS if the parameters can be applied * @return PJ_SUCCESS if the parameters can be applied
* successfully. * successfully.
*/ */
PJ_DECL(pj_status_t) pj_symbianos_set_params(pj_symbianos_params *prm); PJ_DECL(pj_status_t) pj_symbianos_set_params(pj_symbianos_params *prm);
/** /**
* Notify PJLIB that the access point connection has been down or unusable
* and PJLIB should not try to access the Symbian socket API (especially o
nes
* that send packets). Sending packet when RConnection is reconnected to
* different access point may cause the WaitForRequest() for the function
to
* block indefinitely.
*
* @param up If set to PJ_FALSE it will cause PJLIB to not try
* to access socket API, and error will be returned
* immediately instead.
*/
PJ_DECL(void) pj_symbianos_set_connection_status(pj_bool_t up);
/**
* @} * @}
*/ */
/* ************************************************************************ **/ /* ************************************************************************ **/
/** /**
* @defgroup PJ_TLS Thread Local Storage. * @defgroup PJ_TLS Thread Local Storage.
* @ingroup PJ_OS * @ingroup PJ_OS
* @{ * @{
*/ */
 End of changes. 2 change blocks. 
1 lines changed or deleted 16 lines changed or added


 sip_parser.h   sip_parser.h 
/* $Id: sip_parser.h 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: sip_parser.h 2538 2009-03-23 13:14:26Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 333 skipping to change at line 333
const pj_str_t pjsip_EXPIRES_STR; /**< "expires" string constant. */ const pj_str_t pjsip_EXPIRES_STR; /**< "expires" string constant. */
const pj_str_t pjsip_TAG_STR; /**< "tag" string constant. */ const pj_str_t pjsip_TAG_STR; /**< "tag" string constant. */
const pj_str_t pjsip_RPORT_STR; /**< "rport" string const. */ const pj_str_t pjsip_RPORT_STR; /**< "rport" string const. */
pj_cis_t pjsip_HOST_SPEC; /**< For scanning host part. */ pj_cis_t pjsip_HOST_SPEC; /**< For scanning host part. */
pj_cis_t pjsip_DIGIT_SPEC; /**< Decimal digits */ pj_cis_t pjsip_DIGIT_SPEC; /**< Decimal digits */
pj_cis_t pjsip_ALPHA_SPEC; /**< Alpha (A-Z, a-z) */ pj_cis_t pjsip_ALPHA_SPEC; /**< Alpha (A-Z, a-z) */
pj_cis_t pjsip_ALNUM_SPEC; /**< Decimal + Alpha. */ pj_cis_t pjsip_ALNUM_SPEC; /**< Decimal + Alpha. */
pj_cis_t pjsip_TOKEN_SPEC; /**< Token. */ pj_cis_t pjsip_TOKEN_SPEC; /**< Token. */
pj_cis_t pjsip_TOKEN_SPEC_ESC; /**< Token without '%' character */ pj_cis_t pjsip_TOKEN_SPEC_ESC; /**< Token without '%' character */
pj_cis_t pjsip_VIA_PARAM_SPEC; /**< Via param is token + ":" for
IPv6. */
pj_cis_t pjsip_VIA_PARAM_SPEC_ESC; /**< .. as above without '%' */
pj_cis_t pjsip_HEX_SPEC; /**< Hexadecimal digits. */ pj_cis_t pjsip_HEX_SPEC; /**< Hexadecimal digits. */
pj_cis_t pjsip_PARAM_CHAR_SPEC; /**< For scanning pname (or pvalue pj_cis_t pjsip_PARAM_CHAR_SPEC; /**< For scanning pname (or pvalue
when it's not quoted.) in URI */ when it's not quoted.) in URI */
pj_cis_t pjsip_PARAM_CHAR_SPEC_ESC; /**< Variant without the esc ape ('%') pj_cis_t pjsip_PARAM_CHAR_SPEC_ESC; /**< Variant without the esc ape ('%')
char */ char */
pj_cis_t pjsip_HDR_CHAR_SPEC; /**< Chars in hname/havalue in URL. */ pj_cis_t pjsip_HDR_CHAR_SPEC; /**< Chars in hname/havalue in URL. */
pj_cis_t pjsip_HDR_CHAR_SPEC_ESC; /**< Variant without the escape ('%' ) pj_cis_t pjsip_HDR_CHAR_SPEC_ESC; /**< Variant without the escape ('%' )
char */ char */
pj_cis_t pjsip_PROBE_USER_HOST_SPEC;/**< Hostname characters. */ pj_cis_t pjsip_PROBE_USER_HOST_SPEC;/**< Hostname characters. */
pj_cis_t pjsip_PASSWD_SPEC; /**< Password. */ pj_cis_t pjsip_PASSWD_SPEC; /**< Password. */
 End of changes. 2 change blocks. 
1 lines changed or deleted 4 lines changed or added


 stun_sock.h   stun_sock.h 
/* $Id: stun_sock.h 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: stun_sock.h 2531 2009-03-23 13:02:53Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 75 skipping to change at line 75
* Initial STUN Binding request. * Initial STUN Binding request.
*/ */
PJ_STUN_SOCK_BINDING_OP, PJ_STUN_SOCK_BINDING_OP,
/** /**
* Subsequent STUN Binding request for keeping the binding * Subsequent STUN Binding request for keeping the binding
* alive. * alive.
*/ */
PJ_STUN_SOCK_KEEP_ALIVE_OP, PJ_STUN_SOCK_KEEP_ALIVE_OP,
/**
* IP address change notification from the keep-alive operation.
*/
PJ_STUN_SOCK_MAPPED_ADDR_CHANGE
} pj_stun_sock_op; } pj_stun_sock_op;
/** /**
* This structure contains callbacks that will be called by the STUN * This structure contains callbacks that will be called by the STUN
* transport to notify application about various events. * transport to notify application about various events.
*/ */
typedef struct pj_stun_sock_cb typedef struct pj_stun_sock_cb
{ {
/** /**
* Notification when incoming packet has been received. * Notification when incoming packet has been received.
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 lines changed or added


 timer.h   timer.h 
/* $Id: timer.h 1405 2007-07-20 08:08:30Z bennylp $ */ /* $Id: timer.h 2527 2009-03-23 11:57:55Z bennylp $ */
/* /*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
skipping to change at line 257 skipping to change at line 257
/** /**
* Poll the timer heap, check for expired timers and call the callback for * Poll the timer heap, check for expired timers and call the callback for
* each of the expired timers. * each of the expired timers.
* *
* Note: polling the timer heap is not necessary in Symbian. Please see * Note: polling the timer heap is not necessary in Symbian. Please see
* @ref PJ_SYMBIAN_OS for more info. * @ref PJ_SYMBIAN_OS for more info.
* *
* @param ht The timer heap. * @param ht The timer heap.
* @param next_delay If this parameter is not NULL, it will be filled up wi th * @param next_delay If this parameter is not NULL, it will be filled up wi th
* the time delay until the next timer elapsed, or -1 in * the time delay until the next timer elapsed, or
* the sec part if no entry exist. * PJ_MAXINT32 in the sec part if no entry exist.
* *
* @return The number of timers expired. * @return The number of timers expired.
*/ */
PJ_DECL(unsigned) pj_timer_heap_poll( pj_timer_heap_t *ht, PJ_DECL(unsigned) pj_timer_heap_poll( pj_timer_heap_t *ht,
pj_time_val *next_delay); pj_time_val *next_delay);
/** /**
* @} * @}
*/ */
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/