comparison include/mb_backend.h @ 996:734ba9161be4 refine_backend_if

Change signature to make const for arguments of mb_timer_cb_t
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 22 Nov 2010 00:42:29 +0800
parents 5d9def42df12
children 595a06fc0157
comparison
equal deleted inserted replaced
995:8c556e0839eb 996:734ba9161be4
100 void (*free)(mb_IO_man_t *io_man); 100 void (*free)(mb_IO_man_t *io_man);
101 }; 101 };
102 102
103 /*! \brief Function signature of callback functions for timers. 103 /*! \brief Function signature of callback functions for timers.
104 */ 104 */
105 typedef void (*mb_timer_cb_t)(int hdl, mb_timeval_t *tmo, mb_timeval_t *now, 105 typedef void (*mb_timer_cb_t)(int hdl,
106 const mb_timeval_t *tmo,
107 const mb_timeval_t *now,
106 void *data); 108 void *data);
107 109
108 /*! \brief Timer manager 110 /*! \brief Timer manager
109 */ 111 */
110 struct _mb_timer_man { 112 struct _mb_timer_man {