/* This software is subject to the license described in the License.txt file included with this software distribution. You may not use this file except in compliance with this license. Copyright (c) Dynastream Innovations Inc. 2016 All rights reserved. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace ANT_Managed_Library.ANTFS { /// /// Application defined parameters for a download response /// [StructLayout(LayoutKind.Sequential)] public struct ANTFS_DownloadParameters { /// /// File index of requested download /// public ushort FileIndex; /// /// Maximum number of bytes to send in a single block /// public uint MaxBlockSize; } /// /// Application defined parameters for an upload response /// [StructLayout(LayoutKind.Sequential)] public struct ANTFS_UploadParameters { /// /// File index of requested upload /// public ushort FileIndex; /// /// Maximum file size that can be stored in requested upload location /// public uint MaxFileSize; /// /// Maximum number of bytes that can be received in a single block /// public uint MaxBlockSize; } }