pique.h 372 B

123456789101112131415161718192021222324
  1. #ifndef pique_H_INCLUDED
  2. #define pique_H_INCLUDED
  3. /* a Pevent is a physical event. */
  4. typedef struct Pevent_ Pevent;
  5. /* Phisical event queue. */
  6. typedef struct Pique_ Pique;
  7. Pique * pique_new();
  8. void pique_free(Pique * me);
  9. int pique_push(Pique * me, Pevent * data);
  10. int pique_peek(Pique * me, Pevent * data);
  11. int pique_pop(Pique * me, Pevent * data);
  12. #endif