mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
Changed namespace.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2720 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
036599fb68
commit
1fdc0a26a7
@ -1,8 +1,8 @@
|
|||||||
all: $(MODNAME).so
|
all: $(MODNAME).so
|
||||||
|
|
||||||
$(MODNAME).so:
|
$(MODNAME).so:
|
||||||
gmcs -debug -unsafe -t:library -keyfile:public.snk \
|
/usr/local/freeswitch/bin/gmcs -debug -unsafe -t:library -keyfile:public.snk \
|
||||||
-out:Freeswitch.dll -reference:Mono.Posix.dll \
|
-out:FreeSwitch.dll -reference:Mono.Posix.dll \
|
||||||
Properties/AssemblyInfo.cs \
|
Properties/AssemblyInfo.cs \
|
||||||
Marshaling/Types/ApiInterfaceMarshal.cs \
|
Marshaling/Types/ApiInterfaceMarshal.cs \
|
||||||
Marshaling/Types/ApplicationInterfaceMarshal.cs \
|
Marshaling/Types/ApplicationInterfaceMarshal.cs \
|
||||||
@ -24,6 +24,7 @@ $(MODNAME).so:
|
|||||||
Marshaling/Types/IOEventHooksMarshal.cs \
|
Marshaling/Types/IOEventHooksMarshal.cs \
|
||||||
Marshaling/Types/LoadableModuleInterfaceMarshal.cs \
|
Marshaling/Types/LoadableModuleInterfaceMarshal.cs \
|
||||||
Marshaling/Types/LoadableModuleMarshal.cs \
|
Marshaling/Types/LoadableModuleMarshal.cs \
|
||||||
|
Marshaling/Types/StreamHandleMarshal.cs \
|
||||||
Marshaling/Types/TypesMarshal.cs \
|
Marshaling/Types/TypesMarshal.cs \
|
||||||
Marshaling/BufferMarshaler.cs \
|
Marshaling/BufferMarshaler.cs \
|
||||||
Marshaling/CallerExtensionMarshaler.cs \
|
Marshaling/CallerExtensionMarshaler.cs \
|
||||||
@ -57,6 +58,8 @@ $(MODNAME).so:
|
|||||||
Types/ChannelTimetable.cs \
|
Types/ChannelTimetable.cs \
|
||||||
Types/CoreSession.cs \
|
Types/CoreSession.cs \
|
||||||
Types/DtmfCallbackFunction.cs \
|
Types/DtmfCallbackFunction.cs \
|
||||||
|
Types/InputCallbackFunction.cs \
|
||||||
|
Types/InputType.cs \
|
||||||
Types/Event.cs \
|
Types/Event.cs \
|
||||||
Types/FileHandle.cs \
|
Types/FileHandle.cs \
|
||||||
Types/LoadableModule.cs \
|
Types/LoadableModule.cs \
|
||||||
@ -67,12 +70,10 @@ $(MODNAME).so:
|
|||||||
Types/StreamHandle.cs \
|
Types/StreamHandle.cs \
|
||||||
Types/TextChannel.cs \
|
Types/TextChannel.cs \
|
||||||
Common.cs \
|
Common.cs \
|
||||||
Core.cs \
|
|
||||||
Ivr.cs \
|
|
||||||
Module.cs \
|
Module.cs \
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -fr *.dll
|
rm -fr *.dll
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cp -f Freeswitch.dll /usr/local/freeswitch/lib/
|
cp -f FreeSwitch.dll /usr/local/freeswitch/lib/
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling
|
namespace FreeSwitch.Marshaling
|
||||||
{
|
{
|
||||||
class BufferMarshaler : ICustomMarshaler
|
class BufferMarshaler : ICustomMarshaler
|
||||||
{
|
{
|
||||||
@ -60,14 +60,14 @@ namespace FreeSwitch.NET.Marshaling
|
|||||||
|
|
||||||
public IntPtr MarshalManagedToNative(object obj)
|
public IntPtr MarshalManagedToNative(object obj)
|
||||||
{
|
{
|
||||||
FreeSwitch.NET.Types.Buffer buffer = (FreeSwitch.NET.Types.Buffer)obj;
|
FreeSwitch.Types.Buffer buffer = (FreeSwitch.Types.Buffer)obj;
|
||||||
|
|
||||||
return buffer.marshaledObject.Handle;
|
return buffer.marshaledObject.Handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
public object MarshalNativeToManaged(IntPtr bufferPtr)
|
public object MarshalNativeToManaged(IntPtr bufferPtr)
|
||||||
{
|
{
|
||||||
FreeSwitch.NET.Types.Buffer buffer = new FreeSwitch.NET.Types.Buffer();
|
FreeSwitch.Types.Buffer buffer = new FreeSwitch.Types.Buffer();
|
||||||
BufferMarshal bufferMarshal = new BufferMarshal();
|
BufferMarshal bufferMarshal = new BufferMarshal();
|
||||||
|
|
||||||
Marshal.PtrToStructure(bufferPtr, bufferMarshal);
|
Marshal.PtrToStructure(bufferPtr, bufferMarshal);
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling
|
namespace FreeSwitch.Marshaling
|
||||||
{
|
{
|
||||||
class CallerExtensionMarshaler : ICustomMarshaler
|
class CallerExtensionMarshaler : ICustomMarshaler
|
||||||
{
|
{
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling
|
namespace FreeSwitch.Marshaling
|
||||||
{
|
{
|
||||||
class CallerProfileMarshaler : ICustomMarshaler
|
class CallerProfileMarshaler : ICustomMarshaler
|
||||||
{
|
{
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling
|
namespace FreeSwitch.Marshaling
|
||||||
{
|
{
|
||||||
class ChannelMarshaler : ICustomMarshaler
|
class ChannelMarshaler : ICustomMarshaler
|
||||||
{
|
{
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling
|
namespace FreeSwitch.Marshaling
|
||||||
{
|
{
|
||||||
class ChannelTimetableMarshaler : ICustomMarshaler
|
class ChannelTimetableMarshaler : ICustomMarshaler
|
||||||
{
|
{
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling
|
namespace FreeSwitch.Marshaling
|
||||||
{
|
{
|
||||||
class CoreSessionMarshaler : ICustomMarshaler
|
class CoreSessionMarshaler : ICustomMarshaler
|
||||||
{
|
{
|
||||||
|
@ -31,11 +31,11 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling
|
namespace FreeSwitch.Marshaling
|
||||||
{
|
{
|
||||||
class EventMarshaler : ICustomMarshaler
|
class EventMarshaler : ICustomMarshaler
|
||||||
{
|
{
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling
|
namespace FreeSwitch.Marshaling
|
||||||
{
|
{
|
||||||
class FileHandleMarshaler : ICustomMarshaler
|
class FileHandleMarshaler : ICustomMarshaler
|
||||||
{
|
{
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling
|
namespace FreeSwitch.Marshaling
|
||||||
{
|
{
|
||||||
class MemoryPoolMarshaler : ICustomMarshaler
|
class MemoryPoolMarshaler : ICustomMarshaler
|
||||||
{
|
{
|
||||||
|
@ -31,11 +31,11 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling
|
namespace FreeSwitch.Marshaling
|
||||||
{
|
{
|
||||||
class StreamHandleMarshaler : ICustomMarshaler
|
class StreamHandleMarshaler : ICustomMarshaler
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class ApiInterfaceMarshal
|
internal class ApiInterfaceMarshal
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class ApplicationInterfaceMarshal
|
internal class ApplicationInterfaceMarshal
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class BufferMarshal
|
internal class BufferMarshal
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class CallerExtensionMarshal
|
internal class CallerExtensionMarshal
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class CallerProfileMarshal
|
internal class CallerProfileMarshal
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
internal enum ChannelFlagMarshal
|
internal enum ChannelFlagMarshal
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class ChannelMarshal
|
internal class ChannelMarshal
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
internal enum ChannelStateMarshal
|
internal enum ChannelStateMarshal
|
||||||
{
|
{
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class ChannelTimetableMarshal
|
internal class ChannelTimetableMarshal
|
||||||
|
@ -30,9 +30,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
internal class CodecImplementationMarshal
|
internal class CodecImplementationMarshal
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class CodecInterfaceMarshal
|
internal class CodecInterfaceMarshal
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
internal class CodecMarshal
|
internal class CodecMarshal
|
||||||
{
|
{
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
internal enum CodecTypesMarshal
|
internal enum CodecTypesMarshal
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ using System;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential, Pack=1)]
|
[StructLayout(LayoutKind.Sequential, Pack=1)]
|
||||||
internal class CoreSessionMarshal
|
internal class CoreSessionMarshal
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class EventMarshal
|
internal class EventMarshal
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class FileHandleMarshal
|
internal class FileHandleMarshal
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class FrameMarshal
|
internal class FrameMarshal
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class IOEventHooksMarshal
|
internal class IOEventHooksMarshal
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class LoadableModuleInterfaceMarshal
|
internal class LoadableModuleInterfaceMarshal
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal class StreamHandleMarshal
|
internal class StreamHandleMarshal
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Marshaling.Types
|
namespace FreeSwitch.Marshaling.Types
|
||||||
{
|
{
|
||||||
public delegate
|
public delegate
|
||||||
Status DtmfCallbackFunctionMarshal(
|
Status DtmfCallbackFunctionMarshal(
|
||||||
|
@ -35,9 +35,9 @@ using System.Reflection;
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using FreeSwitch.NET;
|
using FreeSwitch.NET;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Modules;
|
using FreeSwitch.Modules;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET
|
namespace FreeSwitch.NET
|
||||||
{
|
{
|
||||||
|
@ -33,9 +33,9 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Modules
|
namespace FreeSwitch.Modules
|
||||||
{
|
{
|
||||||
public class Api
|
public class Api
|
||||||
{
|
{
|
||||||
|
@ -33,11 +33,11 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Marshaling;
|
using FreeSwitch.Marshaling;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Modules
|
namespace FreeSwitch.Modules
|
||||||
{
|
{
|
||||||
public class Application
|
public class Application
|
||||||
{
|
{
|
||||||
|
@ -32,11 +32,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling;
|
using FreeSwitch.Marshaling;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET
|
namespace FreeSwitch
|
||||||
{
|
{
|
||||||
public partial class Switch
|
public partial class Switch
|
||||||
{
|
{
|
||||||
|
@ -32,10 +32,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling;
|
using FreeSwitch.Marshaling;
|
||||||
|
|
||||||
namespace FreeSwitch.NET
|
namespace FreeSwitch
|
||||||
{
|
{
|
||||||
public partial class Switch
|
public partial class Switch
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,7 @@ using System.Runtime.CompilerServices;
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace FreeSwitch.NET
|
namespace FreeSwitch
|
||||||
{
|
{
|
||||||
public partial class Switch
|
public partial class Switch
|
||||||
{
|
{
|
||||||
|
@ -32,10 +32,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling;
|
using FreeSwitch.Marshaling;
|
||||||
|
|
||||||
namespace FreeSwitch.NET
|
namespace FreeSwitch
|
||||||
{
|
{
|
||||||
public partial class Switch
|
public partial class Switch
|
||||||
{
|
{
|
||||||
|
@ -32,11 +32,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling;
|
using FreeSwitch.Marshaling;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET
|
namespace FreeSwitch
|
||||||
{
|
{
|
||||||
public partial class Switch
|
public partial class Switch
|
||||||
{
|
{
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET
|
namespace FreeSwitch
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname)
|
* SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname)
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Types;
|
using FreeSwitch.Types;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET
|
namespace FreeSwitch
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname)
|
* SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname)
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ using System.Collections;
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
public class ApplicationInterface
|
public class ApplicationInterface
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public class Buffer
|
public class Buffer
|
||||||
{
|
{
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public enum CallCause
|
public enum CallCause
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public class CallerExtension
|
public class CallerExtension
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public class CallerProfile
|
public class CallerProfile
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* char *name;
|
* char *name;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public enum ChannelFlag
|
public enum ChannelFlag
|
||||||
{
|
{
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public enum ChannelState
|
public enum ChannelState
|
||||||
{
|
{
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public class ChannelTimetable
|
public class ChannelTimetable
|
||||||
{
|
{
|
||||||
|
@ -33,9 +33,9 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* uint32_t id;
|
* uint32_t id;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public delegate Status DtmfCallbackFunction(CoreSession session, string dtmf);
|
public delegate Status DtmfCallbackFunction(CoreSession session, string dtmf);
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ using System.Collections;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public enum Priority
|
public enum Priority
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public class FileHandle
|
public class FileHandle
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Marshaling;
|
using FreeSwitch.Marshaling;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public delegate Status InputCallbackFunction(
|
public delegate Status InputCallbackFunction(
|
||||||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))]
|
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))]
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public enum InputType
|
public enum InputType
|
||||||
{
|
{
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public class LoadableModule
|
public class LoadableModule
|
||||||
{
|
{
|
||||||
|
@ -33,9 +33,9 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using FreeSwitch.NET.Marshaling;
|
using FreeSwitch.Marshaling;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public delegate Status WriteFunction(
|
public delegate Status WriteFunction(
|
||||||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))]
|
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public class MemoryPool
|
public class MemoryPool
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Marshaling;
|
using FreeSwitch.Marshaling;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public delegate Status ModuleReload();
|
public delegate Status ModuleReload();
|
||||||
public delegate bool ModulePause();
|
public delegate bool ModulePause();
|
||||||
|
@ -34,7 +34,7 @@ using System.Collections;
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
public class ApplicationInterface
|
public class ApplicationInterface
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public enum Status
|
public enum Status
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FreeSwitch.NET.Marshaling.Types;
|
using FreeSwitch.Marshaling.Types;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public class StreamHandle
|
public class StreamHandle
|
||||||
{
|
{
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace FreeSwitch.NET.Types
|
namespace FreeSwitch.Types
|
||||||
{
|
{
|
||||||
public enum TextChannel
|
public enum TextChannel
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user