Ticket 3948: can't create network link from panel...
[midnight-commander.git] / lib / timer.h
blob4cc8232603fe446e00df8a01a05b90c9d9784fb6
1 /** \file timer.h
2 * \brief Header: simple timer
3 */
5 #ifndef MC_TIMER_H
6 #define MC_TIMER_H
8 /*** typedefs(not structures) and defined constants **********************************************/
10 /*** enums ***************************************************************************************/
12 /*** structures declarations (and typedefs of structures)*****************************************/
14 struct mc_timer_t;
15 typedef struct mc_timer_t mc_timer_t;
17 /*** global variables defined in .c file *********************************************************/
19 /*** declarations of public functions ************************************************************/
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);
25 /*** inline functions **************************************************/
27 #endif /* MC_TIMER_H */