#include <switch_cpp.h>\r
\r
#ifdef _MANAGED\r
+// this section remove linker error LNK4248 for these opaque structures\r
+ struct switch_core_session {char foo[];};\r
+ struct apr_pool_t {char foo[];};\r
+ struct switch_channel {char foo[];};\r
+ struct apr_thread_t {char foo[];};\r
+ struct switch_hash {char foo[];};\r
+ struct apr_thread_mutex_t {char foo[];};\r
+ struct switch_network_list {char foo[];};\r
+ struct switch_xml_binding {char foo[];};\r
+ struct apr_sockaddr_t {char foo[];};\r
+ struct switch_core_port_allocator {char foo[];};\r
+ struct switch_media_bug {char foo[];};\r
+ struct switch_rtp {char foo[];};\r
+ struct sqlite3_stmt {char foo[];};\r
+ struct switch_buffer {char foo[];};\r
+ struct switch_ivr_menu {char foo[];};\r
+ struct switch_event_node {char foo[];};\r
+ struct switch_ivr_digit_stream_parser {char foo[];};\r
+ struct sqlite3 {char foo[];};\r
+ struct switch_ivr_digit_stream {char foo[];};\r
+ struct real_pcre {char foo[];};\r
+ struct HashElem {char foo[];};\r
+ struct switch_ivr_menu_xml_ctx {char foo[];};\r
+ struct apr_file_t {char foo[];};\r
+ struct apr_thread_rwlock_t {char foo[];};\r
+ struct apr_pollfd_t {char foo[];};\r
+ struct apr_queue_t {char foo[];};\r
+ struct apr_socket_t {char foo[];};\r
+// LNK Error\r
\r
typedef char* (CALLBACK* inputtype)(void * input, switch_input_type_t type);\r
typedef void (CALLBACK* hanguptype)();\r