summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-09-02 20:36:32 +0000
committerLennart Poettering <lennart@poettering.net>2007-09-02 20:36:32 +0000
commit2f7b6fead11e781e6071df09ea1c3ae2cadb845c (patch)
treef5cf42be31b56a1c31c4cfe1252fa20787768873 /src/pulsecore/core-util.h
parent8cf822a3d9d73f3c273ac64976995b8d3fc1fa47 (diff)
add new pa_will_need() API for paging in memory
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1745 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/core-util.h')
-rw-r--r--src/pulsecore/core-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/core-util.h b/src/pulsecore/core-util.h
index 54749280..fcafe63d 100644
--- a/src/pulsecore/core-util.h
+++ b/src/pulsecore/core-util.h
@@ -100,6 +100,8 @@ char *pa_truncate_utf8(char *c, size_t l);
char *pa_getcwd(void);
char *pa_make_path_absolute(const char *p);
+void *pa_will_need(const void *p, size_t l);
+
static inline int pa_is_power_of_two(unsigned n) {
return !(n & (n - 1));
}