From a1a71402dc2e0ac10748fef9756515acf47f29d4 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 20 Oct 2010 09:54:45 +0000 Subject: Misc (re #1134): enable doxygen documentation for pj_actievsock_set_iphone_os_bg() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3350 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/activesock.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pjlib/include/pj/activesock.h b/pjlib/include/pj/activesock.h index 4d30ac97..49beafe1 100644 --- a/pjlib/include/pj/activesock.h +++ b/pjlib/include/pj/activesock.h @@ -302,14 +302,18 @@ PJ_DECL(pj_status_t) pj_activesock_create_udp(pj_pool_t *pool, */ PJ_DECL(pj_status_t) pj_activesock_close(pj_activesock_t *asock); -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 +#if (defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ + PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0) || \ + defined(DOXYGEN) /** * Set iPhone OS background mode setting. Setting to 1 will enable TCP * active socket to receive incoming data when application is in the * background. Setting to 0 will disable it. Default value of this * setting is PJ_ACTIVESOCK_TCP_IPHONE_OS_BG. * + * This API is only available if PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT + * is set to non-zero. + * * @param asock The active socket. * @param val The value of background mode setting. * @@ -324,6 +328,9 @@ PJ_DECL(void) pj_activesock_set_iphone_os_bg(pj_activesock_t *asock, * active socket, use #pj_activesock_set_iphone_os_bg() instead. * By default, this setting is enabled. * + * This API is only available if PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT + * is set to non-zero. + * * @param val The value of global background mode setting. * */ -- cgit v1.2.3