Files
freeswitch/libs/unimrcp/libs/apr-toolkit/include/apt.h
Chris Rienzo 8330336e9a FS-6450 [unimrcp] Update library
[apr] Backport APR_RING_FOREACH and APR_RING_FOREACH_SAFE macros to APR for unimrcp compatibility.

 [unimrcp] configure.gnu - need full path, not relative path for library paths

 [unimrcp] added uni_revision.h - couldn't get it to autogenerate from build

 [mod_unimrcp] add better logging and error checking on module load.  Currently dumps core on MRCPv1 TTS attempt

 [mod_unimrcp] don't configure MRCPv1 session with a connection agent- causes crash
2014-11-18 14:23:54 -05:00

62 lines
1.5 KiB
C

/*
* Copyright 2008-2014 Arsen Chaloyan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: apt.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
*/
#ifndef APT_H
#define APT_H
/**
* @file apt.h
* @brief APR Toolkit Definitions
*/
#include <apr.h>
#include <apr_pools.h>
#include <apr_strings.h>
#ifdef __cplusplus
/** Begin of extern "C" block */
#define APT_BEGIN_EXTERN_C extern "C" {
/** End of extern "C" block */
#define APT_END_EXTERN_C }
#else
/** Begin of extern "C" block */
#define APT_BEGIN_EXTERN_C
/** End of extern "C" block */
#define APT_END_EXTERN_C
#endif
/** Lib export/import defines (win32) */
#ifdef WIN32
#ifdef APT_STATIC_LIB
#define APT_DECLARE(type) type __stdcall
#else
#ifdef APT_LIB_EXPORT
#define APT_DECLARE(type) __declspec(dllexport) type __stdcall
#else
#define APT_DECLARE(type) __declspec(dllimport) type __stdcall
#endif
#endif
#else
#define APT_DECLARE(type) type
#endif
/** Boolean value */
typedef int apt_bool_t;
#endif /* APT_H */