summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-09-18 04:07:12 +0200
committerLennart Poettering <lennart@poettering.net>2009-09-18 04:14:37 +0200
commitf7d38965b355b4932e7a17774e4625f57248f845 (patch)
treed6e22b408dc420f472c8f1b090ae6aad7dbcc9dc
parent56f217f3f8b43a02a72bf28e049f9a20738843c8 (diff)
timeval: introduce PA_USEC_MAX
-rw-r--r--src/pulse/timeval.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pulse/timeval.h b/src/pulse/timeval.h
index 48c6cdb3..3cea5d3b 100644
--- a/src/pulse/timeval.h
+++ b/src/pulse/timeval.h
@@ -51,12 +51,15 @@ PA_C_DECL_BEGIN
/** The number of nanoseconds in a microsecond */
#define PA_NSEC_PER_USEC ((unsigned long long) 1000ULL)
-/** Invalid time in usec */
+/** Invalid time in usec. \since 0.9.15 */
#define PA_USEC_INVALID ((pa_usec_t) -1)
+/** Biggest time in usec. \since 0.9.18 */
+#define PA_USEC_MAX ((pa_usec_t) -2)
+
struct timeval;
-/** Return the current timestamp, just like UNIX gettimeofday() */
+/** Return the current wallclock timestamp, just like UNIX gettimeofday(). */
struct timeval *pa_gettimeofday(struct timeval *tv);
/** Calculate the difference between the two specified timeval