Put Vizzini's "csq.h" in the Public Domain with permission from the author:
[reactos.git] / reactos / include / ddk / csq.h
index 5be2e9d..99056f6 100644 (file)
@@ -1,7 +1,17 @@
 /*
  * Cancel-Safe Queue Library
- * Copyright (c) 2004, Vizzini (vizzini@plasmic.com)
- * Licensed under the GNU GPL for the ReactOS project
+ * Created in 2004 by Vizzini (vizzini@plasmic.com)
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
  *
  * This header defines the interface to the ReactOS Cancel-Safe Queue library.
  * This interface is based on and is similar to the Microsoft Cancel-Safe
@@ -68,7 +78,7 @@ struct _IO_CSQ;
  * Function to insert an IRP in the queue.  No need to worry about locking;
  * just tack it onto your list or something.
  *
- * Sample implementation: 
+ * Sample implementation:
  *
        VOID NTAPI CsqInsertIrp(PIO_CSQ Csq, PIRP Irp)
        {
@@ -151,7 +161,7 @@ typedef VOID (NTAPI *PIO_CSQ_RELEASE_LOCK) (struct _IO_CSQ *Csq,
 /*
  * Finally, this is called by the queue library when it wants to complete
  * a canceled IRP.
- * 
+ *
  * Sample:
  *
        VOID NTAPI CsqCompleteCancelledIrp(PIO_CSQ Csq, PIRP Irp)
@@ -286,7 +296,7 @@ PIRP NTAPI IoCsqRemoveIrp(PIO_CSQ Csq,
                           PIO_CSQ_IRP_CONTEXT Context);
 
 /*
- * Remove the next IRP from the queue 
+ * Remove the next IRP from the queue
  */
 NTKERNELAPI
 PIRP NTAPI IoCsqRemoveNextIrp(PIO_CSQ Csq,