… | |
… | |
171 | int ev_init (int flags); /* returns ev_method */ |
171 | int ev_init (int flags); /* returns ev_method */ |
172 | int ev_version_major (void); |
172 | int ev_version_major (void); |
173 | int ev_version_minor (void); |
173 | int ev_version_minor (void); |
174 | |
174 | |
175 | /* these three calls are suitable for plugging into pthread_atfork */ |
175 | /* these three calls are suitable for plugging into pthread_atfork */ |
176 | void ev_prefork (void); |
176 | void ev_fork_prepare (void); |
177 | void ev_postfork_parent (void); |
177 | void ev_fork_parent (void); |
178 | void ev_postfork_child (void); |
178 | void ev_fork_child (void); |
179 | |
179 | |
180 | extern ev_tstamp ev_now; /* time w.r.t. timers and the eventloop, updated after each poll */ |
180 | extern ev_tstamp ev_now; /* time w.r.t. timers and the eventloop, updated after each poll */ |
181 | ev_tstamp ev_time (void); |
181 | ev_tstamp ev_time (void); |
182 | #endif |
182 | #endif |
183 | |
183 | |