|
|
|
@ -124,6 +124,8 @@ namespace Grpc.Core.Internal |
|
|
|
|
public readonly Delegates.grpcsharp_auth_context_release_delegate grpcsharp_auth_context_release; |
|
|
|
|
public readonly Delegates.grpcsharp_slice_buffer_create_delegate grpcsharp_slice_buffer_create; |
|
|
|
|
public readonly Delegates.grpcsharp_slice_buffer_adjust_tail_space_delegate grpcsharp_slice_buffer_adjust_tail_space; |
|
|
|
|
public readonly Delegates.grpcsharp_slice_buffer_slice_count_delegate grpcsharp_slice_buffer_slice_count; |
|
|
|
|
public readonly Delegates.grpcsharp_slice_buffer_slice_peek_delegate grpcsharp_slice_buffer_slice_peek; |
|
|
|
|
public readonly Delegates.grpcsharp_slice_buffer_destroy_delegate grpcsharp_slice_buffer_destroy; |
|
|
|
|
public readonly Delegates.gprsharp_now_delegate gprsharp_now; |
|
|
|
|
public readonly Delegates.gprsharp_inf_future_delegate gprsharp_inf_future; |
|
|
|
@ -229,6 +231,8 @@ namespace Grpc.Core.Internal |
|
|
|
|
this.grpcsharp_auth_context_release = GetMethodDelegate<Delegates.grpcsharp_auth_context_release_delegate>(library); |
|
|
|
|
this.grpcsharp_slice_buffer_create = GetMethodDelegate<Delegates.grpcsharp_slice_buffer_create_delegate>(library); |
|
|
|
|
this.grpcsharp_slice_buffer_adjust_tail_space = GetMethodDelegate<Delegates.grpcsharp_slice_buffer_adjust_tail_space_delegate>(library); |
|
|
|
|
this.grpcsharp_slice_buffer_slice_count = GetMethodDelegate<Delegates.grpcsharp_slice_buffer_slice_count_delegate>(library); |
|
|
|
|
this.grpcsharp_slice_buffer_slice_peek = GetMethodDelegate<Delegates.grpcsharp_slice_buffer_slice_peek_delegate>(library); |
|
|
|
|
this.grpcsharp_slice_buffer_destroy = GetMethodDelegate<Delegates.grpcsharp_slice_buffer_destroy_delegate>(library); |
|
|
|
|
this.gprsharp_now = GetMethodDelegate<Delegates.gprsharp_now_delegate>(library); |
|
|
|
|
this.gprsharp_inf_future = GetMethodDelegate<Delegates.gprsharp_inf_future_delegate>(library); |
|
|
|
@ -333,6 +337,8 @@ namespace Grpc.Core.Internal |
|
|
|
|
this.grpcsharp_auth_context_release = DllImportsFromStaticLib.grpcsharp_auth_context_release; |
|
|
|
|
this.grpcsharp_slice_buffer_create = DllImportsFromStaticLib.grpcsharp_slice_buffer_create; |
|
|
|
|
this.grpcsharp_slice_buffer_adjust_tail_space = DllImportsFromStaticLib.grpcsharp_slice_buffer_adjust_tail_space; |
|
|
|
|
this.grpcsharp_slice_buffer_slice_count = DllImportsFromStaticLib.grpcsharp_slice_buffer_slice_count; |
|
|
|
|
this.grpcsharp_slice_buffer_slice_peek = DllImportsFromStaticLib.grpcsharp_slice_buffer_slice_peek; |
|
|
|
|
this.grpcsharp_slice_buffer_destroy = DllImportsFromStaticLib.grpcsharp_slice_buffer_destroy; |
|
|
|
|
this.gprsharp_now = DllImportsFromStaticLib.gprsharp_now; |
|
|
|
|
this.gprsharp_inf_future = DllImportsFromStaticLib.gprsharp_inf_future; |
|
|
|
@ -437,6 +443,8 @@ namespace Grpc.Core.Internal |
|
|
|
|
this.grpcsharp_auth_context_release = DllImportsFromSharedLib.grpcsharp_auth_context_release; |
|
|
|
|
this.grpcsharp_slice_buffer_create = DllImportsFromSharedLib.grpcsharp_slice_buffer_create; |
|
|
|
|
this.grpcsharp_slice_buffer_adjust_tail_space = DllImportsFromSharedLib.grpcsharp_slice_buffer_adjust_tail_space; |
|
|
|
|
this.grpcsharp_slice_buffer_slice_count = DllImportsFromSharedLib.grpcsharp_slice_buffer_slice_count; |
|
|
|
|
this.grpcsharp_slice_buffer_slice_peek = DllImportsFromSharedLib.grpcsharp_slice_buffer_slice_peek; |
|
|
|
|
this.grpcsharp_slice_buffer_destroy = DllImportsFromSharedLib.grpcsharp_slice_buffer_destroy; |
|
|
|
|
this.gprsharp_now = DllImportsFromSharedLib.gprsharp_now; |
|
|
|
|
this.gprsharp_inf_future = DllImportsFromSharedLib.gprsharp_inf_future; |
|
|
|
@ -544,6 +552,8 @@ namespace Grpc.Core.Internal |
|
|
|
|
public delegate void grpcsharp_auth_context_release_delegate(IntPtr authContext); |
|
|
|
|
public delegate SliceBufferSafeHandle grpcsharp_slice_buffer_create_delegate(); |
|
|
|
|
public delegate IntPtr grpcsharp_slice_buffer_adjust_tail_space_delegate(SliceBufferSafeHandle sliceBuffer, UIntPtr availableTailSpace, UIntPtr requestedTailSpace); |
|
|
|
|
public delegate UIntPtr grpcsharp_slice_buffer_slice_count_delegate(SliceBufferSafeHandle sliceBuffer); |
|
|
|
|
public delegate void grpcsharp_slice_buffer_slice_peek_delegate(SliceBufferSafeHandle sliceBuffer, UIntPtr index, out UIntPtr sliceLen, out IntPtr sliceDataPtr); |
|
|
|
|
public delegate void grpcsharp_slice_buffer_destroy_delegate(IntPtr sliceBuffer); |
|
|
|
|
public delegate Timespec gprsharp_now_delegate(ClockType clockType); |
|
|
|
|
public delegate Timespec gprsharp_inf_future_delegate(ClockType clockType); |
|
|
|
@ -833,6 +843,12 @@ namespace Grpc.Core.Internal |
|
|
|
|
[DllImport(ImportName)] |
|
|
|
|
public static extern IntPtr grpcsharp_slice_buffer_adjust_tail_space(SliceBufferSafeHandle sliceBuffer, UIntPtr availableTailSpace, UIntPtr requestedTailSpace); |
|
|
|
|
|
|
|
|
|
[DllImport(ImportName)] |
|
|
|
|
public static extern UIntPtr grpcsharp_slice_buffer_slice_count(SliceBufferSafeHandle sliceBuffer); |
|
|
|
|
|
|
|
|
|
[DllImport(ImportName)] |
|
|
|
|
public static extern void grpcsharp_slice_buffer_slice_peek(SliceBufferSafeHandle sliceBuffer, UIntPtr index, out UIntPtr sliceLen, out IntPtr sliceDataPtr); |
|
|
|
|
|
|
|
|
|
[DllImport(ImportName)] |
|
|
|
|
public static extern void grpcsharp_slice_buffer_destroy(IntPtr sliceBuffer); |
|
|
|
|
|
|
|
|
@ -1141,6 +1157,12 @@ namespace Grpc.Core.Internal |
|
|
|
|
[DllImport(ImportName)] |
|
|
|
|
public static extern IntPtr grpcsharp_slice_buffer_adjust_tail_space(SliceBufferSafeHandle sliceBuffer, UIntPtr availableTailSpace, UIntPtr requestedTailSpace); |
|
|
|
|
|
|
|
|
|
[DllImport(ImportName)] |
|
|
|
|
public static extern UIntPtr grpcsharp_slice_buffer_slice_count(SliceBufferSafeHandle sliceBuffer); |
|
|
|
|
|
|
|
|
|
[DllImport(ImportName)] |
|
|
|
|
public static extern void grpcsharp_slice_buffer_slice_peek(SliceBufferSafeHandle sliceBuffer, UIntPtr index, out UIntPtr sliceLen, out IntPtr sliceDataPtr); |
|
|
|
|
|
|
|
|
|
[DllImport(ImportName)] |
|
|
|
|
public static extern void grpcsharp_slice_buffer_destroy(IntPtr sliceBuffer); |
|
|
|
|
|
|
|
|
|