X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=libmainloop%2Fsignal.h;h=3eaa2fed3dccd9b26a55b48073dc8260a089dfd8;hb=7c392448b0d2efcc6bb959063dcaa8b2c5ea0964;hp=7867c18b11964117f3a6410d9c966364a9457fe0;hpb=8366314611bf30a0f31d25bf5f5023186fa87692;p=ion3.git diff --git a/libmainloop/signal.h b/libmainloop/signal.h index 7867c18..3eaa2fe 100644 --- a/libmainloop/signal.h +++ b/libmainloop/signal.h @@ -1,12 +1,9 @@ /* * ion/mainloop/signal.h * - * Copyright (c) Tuomo Valkonen 1999-2006. + * Copyright (c) Tuomo Valkonen 1999-2007. * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. */ #ifndef ION_LIBMAINLOOP_SIGNAL_H @@ -57,4 +54,7 @@ extern void mainloop_trap_signals(const sigset_t *set); extern WHook *mainloop_sigchld_hook; extern WHook *mainloop_sigusr2_hook; +/* Returns monotonic time if possible */ +extern int mainloop_gettime(struct timeval *val); + #endif /* ION_LIBMAINLOOP_SIGNAL_H */