public static AprHashIndex First(AprPool pool, AprHash h) { IntPtr ptr; Debug.Write(String.Format("apr_hash_first({0},{1})...", pool, h)); ptr = Apr.apr_hash_first(pool, h); Debug.WriteLine(String.Format("Done({0:X})", ((Int32)ptr))); return(ptr); }
public static AprHashIndex First(AprPool pool, AprHash h) { IntPtr ptr; Debug.Write(String.Format("apr_hash_first({0},{1})...",pool,h)); ptr = Apr.apr_hash_first(pool,h); Debug.WriteLine(String.Format("Done({0:X})",((Int32)ptr))); return(ptr); }
public AprHash Overlay(AprPool pool, AprHash h) { IntPtr ptr; CheckPtr(); Debug.Write(String.Format("apr_hash_overlay({0},{1},{2})...", pool, h, this)); ptr = Apr.apr_hash_overlay(pool, h, mHash); if (ptr == IntPtr.Zero) { throw new AprException("apr_hash_overlay: Can't overlay an apr_hash_t"); } Debug.WriteLine(String.Format("Done({0:X})", ((Int32)ptr))); return(ptr); }
public AprHashEnumerator(AprHash h, AprPool pool) { mHash = h; mPool = pool; reset = true; }
public AprHashEnumerator(AprHash h) { mHash = h; mPool = h.Pool; reset = true; }
public void Make() { AprPool p = AprPool.Create(); Assert.IsFalse(p.IsNull,"#A01"); AprHash h = new AprHash(); Assert.IsTrue(h.IsNull,"#A02"); h = AprHash.Make(p); Assert.IsFalse(h.IsNull,"#A03"); p.Destroy(); Assert.IsTrue(p.IsNull,"#A04"); }
public AprHashEnumerator( AprHash h, AprPool pool ) { mHash = h; mPool = pool; reset = true; }
public AprHashEnumerator( AprHash h ) { mHash = h; mPool = h.Pool; reset = true; }
public AprHash Overlay(AprPool pool, AprHash h) { IntPtr ptr; CheckPtr(); Debug.Write(String.Format("apr_hash_overlay({0},{1},{2})...",pool,h,this)); ptr = Apr.apr_hash_overlay(pool,h,mHash); if(ptr == IntPtr.Zero ) throw new AprException("apr_hash_overlay: Can't overlay an apr_hash_t"); Debug.WriteLine(String.Format("Done({0:X})",((Int32)ptr))); return(ptr); }