]> git.decadent.org.uk Git - ion3.git/blobdiff - libmainloop/signal.h
[svn-upgrade] Integrating new upstream version, ion3 (20070608)
[ion3.git] / libmainloop / signal.h
index 7e8682e33c7b2d455e9756c6102b3a37a19ac6de..3eaa2fed3dccd9b26a55b48073dc8260a089dfd8 100644 (file)
@@ -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 */