summaryrefslogtreecommitdiffstats
path: root/src/pulse/timeval.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-10-27 12:57:57 +0000
committerLennart Poettering <lennart@poettering.net>2007-10-27 12:57:57 +0000
commitca744a4ac55e5ef5d1894a0ddfd404ec237a43b6 (patch)
treefb75b22c8954ad5c66a8bc1d102692048e0c7f4b /src/pulse/timeval.h
parentce5250e3e4ef228164a6764a97ca92875291cd8f (diff)
add pa_timeval_load() API
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1954 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulse/timeval.h')
-rw-r--r--src/pulse/timeval.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pulse/timeval.h b/src/pulse/timeval.h
index a7d3ba33..65a0e513 100644
--- a/src/pulse/timeval.h
+++ b/src/pulse/timeval.h
@@ -56,9 +56,12 @@ pa_usec_t pa_timeval_age(const struct timeval *tv);
/** Add the specified time inmicroseconds to the specified timeval structure */
struct timeval* pa_timeval_add(struct timeval *tv, pa_usec_t v) PA_GCC_PURE;
-/** Store the specified uec value in the timeval struct */
+/** Store the specified uec value in the timeval struct. \since 0.9.7 */
struct timeval* pa_timeval_store(struct timeval *tv, pa_usec_t v);
+/** Load the specified tv value and return it in usec. \since 0.9.7 */
+pa_usec_t pa_timeval_load(const struct timeval *tv);
+
PA_C_DECL_END
#endif