| 197 | void reset_proc_log_event(void); |
| 198 | |
| 199 | static inline char* dp_time(void) |
| 200 | { |
| 201 | time_t ltime; |
| 202 | |
| 203 | time(<ime); |
| 204 | ctime_r( <ime, ctime_buf); |
| 205 | ctime_buf[19] = 0; /* remove year*/ |
| 206 | |
| 207 | return ctime_buf+4; /* remove name of day*/ |
| 208 | } |
| 209 | |
| 210 | static inline const char *dp_log_level_str(int log_level) |
| 211 | { |