home *** CD-ROM | disk | FTP | other *** search
/ ftp.parl.clemson.edu / 2015-02-07.ftp.parl.clemson.edu.tar / ftp.parl.clemson.edu / pub / pvfs2 / orangefs-2.8.3-20110323.tar.gz / orangefs-2.8.3-20110323.tar / orangefs / src / io / flow / flow-queue.h < prev    next >
C/C++ Source or Header  |  2004-07-28  |  786b  |  37 lines

  1. /*
  2.  * (C) 2001 Clemson University and The University of Chicago
  3.  *
  4.  * See COPYING in top-level directory.
  5.  */
  6.  
  7. /* functions for handling queues of flows that the flow interface is
  8.  * managing
  9.  */
  10.  
  11. #ifndef __FLOW_QUEUE_H
  12. #define __FLOW_QUEUE_H
  13.  
  14. #include "quicklist.h"
  15. #include "flow.h"
  16.  
  17. typedef struct qlist_head *flow_queue_p;
  18.  
  19. flow_queue_p flow_queue_new(void);
  20. void flow_queue_cleanup(flow_queue_p fqp);
  21. void flow_queue_add(flow_queue_p fqp,
  22.             struct flow_descriptor *flow_d);
  23. void flow_queue_remove(struct flow_descriptor *desc);
  24. int flow_queue_empty(flow_queue_p fqp);
  25. struct flow_descriptor *flow_queue_shownext(flow_queue_p fqp);
  26.  
  27. #endif /* __FLOW_QUEUE_H */
  28.  
  29. /*
  30.  * Local variables:
  31.  *  c-indent-level: 4
  32.  *  c-basic-offset: 4
  33.  * End:
  34.  *
  35.  * vim: ts=8 sts=4 sw=4 expandtab
  36.  */
  37.