root/lib/timer.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 /** \file timer.h
   2  *  \brief Header: simple timer
   3  */
   4 
   5 #ifndef MC_TIMER_H
   6 #define MC_TIMER_H
   7 
   8 /*** typedefs(not structures) and defined constants **********************************************/
   9 
  10 /*** enums ***************************************************************************************/
  11 
  12 /*** structures declarations (and typedefs of structures)*****************************************/
  13 
  14 struct mc_timer_t;
  15 typedef struct mc_timer_t mc_timer_t;
  16 
  17 /*** global variables defined in .c file *********************************************************/
  18 
  19 /*** declarations of public functions ************************************************************/
  20 
  21 mc_timer_t *mc_timer_new (void);
  22 void mc_timer_destroy (mc_timer_t * timer);
  23 guint64 mc_timer_elapsed (const mc_timer_t * timer);
  24 
  25 /*** inline functions **************************************************/
  26 
  27 #endif /* MC_TIMER_H */

/* [previous][next][first][last][top][bottom][index][help]  */