using System; using CurlSharp.Enums; namespace CurlSharp.Callbacks { /// /// Called when cURL wants to lock a shared resource. /// /// /// For a usage example, refer to the ShareDemo.cs sample. /// Arguments passed to your delegate implementation include: /// /// /// Argument /// Description /// /// /// data /// /// Type of data to lock; one of the values in the /// enumeration. /// /// /// /// access /// /// Lock access requested; one of the values in the /// enumeration. /// /// /// /// userData /// /// Client-provided data that is not touched internally by /// cURL. This is set via /// when calling the /// member of the /// class. /// /// /// /// public delegate void CurlShareLockCallback(CurlLockData data, CurlLockAccess access, Object userData); /// /// Called when cURL wants to unlock a shared resource. /// /// /// For a usage example, refer to the ShareDemo.cs sample. /// Arguments passed to your delegate implementation include: /// /// /// Argument /// Description /// /// /// data /// /// Type of data to unlock; one of the values in the /// enumeration. /// /// /// /// userData /// /// Client-provided data that is not touched internally by /// cURL. This is set via /// when calling the /// member of the /// class. /// /// /// /// public delegate void CurlShareUnlockCallback(CurlLockData data, Object userData); }