Exemple #1
0
        public static UplinkBucket uplink_bucket_iterator_item(UplinkBucketIterator iterator)
        {
            global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_bucket_iterator_item(UplinkBucketIterator.getCPtr(iterator));
            UplinkBucket          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkBucket(cPtr, false);

            return(ret);
        }
Exemple #2
0
        public static UplinkBucketIterator uplink_list_buckets(UplinkProject project, UplinkListBucketsOptions options)
        {
            global::System.IntPtr cPtr = storj_uplinkPINVOKE.uplink_list_buckets(UplinkProject.getCPtr(project), UplinkListBucketsOptions.getCPtr(options));
            UplinkBucketIterator  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UplinkBucketIterator(cPtr, false);

            return(ret);
        }
Exemple #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UplinkBucketIterator obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #4
0
 public static void uplink_free_bucket_iterator(UplinkBucketIterator iterator)
 {
     storj_uplinkPINVOKE.uplink_free_bucket_iterator(UplinkBucketIterator.getCPtr(iterator));
 }
Exemple #5
0
        public static bool uplink_bucket_iterator_next(UplinkBucketIterator iterator)
        {
            bool ret = storj_uplinkPINVOKE.uplink_bucket_iterator_next(UplinkBucketIterator.getCPtr(iterator));

            return(ret);
        }