fix namespace

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2548 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-09-07 14:23:31 +00:00
parent 64b0912eb6
commit a4c778a00c
23 changed files with 24 additions and 24 deletions

View File

@ -36,10 +36,10 @@
#define SWITCH_H
#ifdef __cplusplus
#define BEGIN_EXTERN_C extern "C" {
#define SWITCH_BEGIN_EXTERN_C extern "C" {
#define END_EXTERN_C }
#else
#define BEGIN_EXTERN_C
#define SWITCH_BEGIN_EXTERN_C
#define END_EXTERN_C
#endif

View File

@ -63,7 +63,7 @@
#include <apr_want.h>
#include <apr_env.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
/*
The pieces of apr we allow ppl to pass around between modules we typedef into our namespace and wrap all the functions

View File

@ -35,7 +35,7 @@
*/
#ifndef SWITCH_BITPACK_H
#define SWITCH_BITPACK_H
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
#include <switch.h>

View File

@ -40,7 +40,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
/**
* @defgroup switch_buffer Buffer Routines

View File

@ -55,7 +55,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
/*! \brief Call Specific Data
*/

View File

@ -40,7 +40,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
struct switch_channel_timetable {
switch_time_t created;

View File

@ -58,7 +58,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
/*! \brief A simple file handle representing an open configuration file **/
struct switch_config {

View File

@ -41,7 +41,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
#define SWITCH_CMD_CHUNK_LEN 1024
#define SWITCH_STANDARD_STREAM(s) if ((s.data = (char *)malloc(SWITCH_CMD_CHUNK_LEN))) { \
memset(s.data, 0, SWITCH_CMD_CHUNK_LEN); \

View File

@ -40,7 +40,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
#define SWITCH_MAX_CORE_THREAD_SESSION_OBJS 128
#define SWITCH_MAX_STREAMS 128

View File

@ -60,7 +60,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
/*! \brief An event Header */
struct switch_event_header{

View File

@ -38,7 +38,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
/*! \brief An abstraction of a data frame */
struct switch_frame {

View File

@ -40,7 +40,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
static const switch_state_handler_table_t noop_state_handler = {0};

View File

@ -43,7 +43,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
/*!
\defgroup mods Loadable Module Functions

View File

@ -40,7 +40,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
///\defgroup log Logger Routines
///\ingroup core1

View File

@ -41,7 +41,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
/*! \brief A table of functions to execute at various states
*/

View File

@ -34,7 +34,7 @@
#ifndef SWITCH_PLATFORM_H
#define SWITCH_PLATFORM_H
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
#ifdef __ICC
#pragma warning (disable:810 869 981 279 1469 188)

View File

@ -43,7 +43,7 @@
#define SWITCH_RESAMPLE_H
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
#include <stdlib.h>
/*!

View File

@ -38,7 +38,7 @@
#ifndef SWITCH_RTP_H
#define SWITCH_RTP_H
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
#define SWITCH_RTP_MAX_BUF_LEN 16384

View File

@ -35,7 +35,7 @@
#ifndef SWITCH_SQLITE_H
#define SWITCH_SQLITE_H
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
#include <sqlite3.h>

View File

@ -37,7 +37,7 @@
#ifndef _SWITCH_STUN_PARSER_H
#define _SWITCH_STUN_PARSER_H
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
#define SWITCH_STUN_DEFAULT_PORT 3478
#define SWITCH_STUN_PACKET_MIN_LEN 20

View File

@ -36,7 +36,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
#ifdef WIN32
#define SWITCH_PATH_SEPARATOR "\\"

View File

@ -40,7 +40,7 @@
#include <switch.h>
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
#ifndef snprintf
#define snprintf apr_snprintf

View File

@ -65,7 +65,7 @@
///\defgroup xml1 XML Library Functions
///\ingroup core1
///\{
BEGIN_EXTERN_C
SWITCH_BEGIN_EXTERN_C
#define SWITCH_XML_BUFSIZE 1024 // size of internal memory buffers