Rev 19 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
19 | f9daq | 1 | #ifndef __PCIVME_FIFO_H__ |
2 | #define __PCIVME_FIFO_H__ |
||
3 | |||
4 | //------------------------------------------------------------------------- |
||
5 | // WINNT driver for PCIVME interface from ARW Elektronik, Germany --------- |
||
6 | // header for functions for a fast fifo (first in first out) implementation |
||
7 | // |
||
8 | // (c) 1999-2004 ARW Elektronik |
||
9 | // |
||
10 | // this source code is published under GPL (Open Source). You can use, redistrubute and |
||
11 | // modify it unless this header is not modified or deleted. No warranty is given that |
||
12 | // this software will work like expected. |
||
13 | // This product is not authorized for use as critical component in life support systems |
||
14 | // wihout the express written approval of ARW Elektronik Germany. |
||
15 | // |
||
16 | // Please announce changes and hints to ARW Elektronik |
||
17 | // |
||
18 | // $Log: pcivme_fifo.h,v $ |
||
19 | // Revision 1.3 2004/07/24 07:07:26 klaus |
||
20 | // Update copyright to 2004 |
||
21 | // |
||
22 | // Revision 1.2 2003/11/15 19:12:50 klaus |
||
23 | // Update copyright to 2003 |
||
24 | // |
||
25 | // Revision 1.1.1.1 2003/11/14 23:16:33 klaus |
||
26 | // First put into repository |
||
27 | // |
||
28 | // Revision 1.3 2002/10/27 16:17:48 klaus |
||
29 | // Typing bug fixed caused at log addition |
||
30 | // |
||
31 | // Revision 1.2 2002/10/27 16:11:02 klaus |
||
32 | // Added CVS log into header |
||
33 | // |
||
34 | // what who when |
||
35 | // started AR 06.10.99 |
||
36 | // |
||
37 | |||
38 | |||
39 | NTSTATUS InitializeFIFO(USHORT CountOfElements, PVOID *pHandle); |
||
40 | int PushElement(PVOID Handle, UCHAR bElement); |
||
41 | int PullElement(PVOID Handle, UCHAR *pbElement); |
||
42 | int NumberOfElements(PVOID Handle); |
||
43 | BOOLEAN CheckAndClearOverflow(PVOID Handle); |
||
44 | void DestroyFIFO(PVOID Handle); |
||
45 | |||
46 | #endif // __PCIVME_FIFO_H__ |