X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=libmainloop%2Fsignal.h;h=3eaa2fed3dccd9b26a55b48073dc8260a089dfd8;hb=657d45cc6ee816b4f0e74f40666595b89ffbe6c1;hp=7e8682e33c7b2d455e9756c6102b3a37a19ac6de;hpb=471a5e5f9928e2d324b2e10422a420f458bd63ff;p=ion3.git diff --git a/libmainloop/signal.h b/libmainloop/signal.h index 7e8682e..3eaa2fe 100644 --- a/libmainloop/signal.h +++ b/libmainloop/signal.h @@ -3,10 +3,7 @@ * * 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 */