projects
/
framework
/
system
/
deviced.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tizen 2.3 release
[framework/system/deviced.git]
/
src
/
logd_grabber
/
timer.h
1
#ifndef __TIMER_H__
2
#define __TIMER_H__
3
4
struct timer {
5
int fd;
6
int timeout;
7
void (*cb)(void*);
8
void *user_data;
9
};
10
11
struct timer* create_timer(int timeout, void(*cb)(void*), void *user_data);
12
void process_timer(struct timer *tm);
13
int update_timer_exp(struct timer *tm, int timeout);
14
void delete_timer(struct timer *tm);
15
16
#endif /* __TIMER_H__ */
17