X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=libmainloop%2Fsignal.h;h=72691dc842b802bd4e9ec4ca67a08a236de8f699;hb=refs%2Ftags%2F20080207-1;hp=7e8682e33c7b2d455e9756c6102b3a37a19ac6de;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/libmainloop/signal.h b/libmainloop/signal.h index 7e8682e..72691dc 100644 --- a/libmainloop/signal.h +++ b/libmainloop/signal.h @@ -1,12 +1,9 @@ /* * ion/mainloop/signal.h * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2008. * - * 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 */