Add default subbuf sizes getter functions
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 13 Nov 2012 19:28:42 +0000 (14:28 -0500)
committerChristian Babeux <christian.babeux@efficios.com>
Fri, 7 Dec 2012 20:17:55 +0000 (15:17 -0500)
commitf9f8d0f43862bb36c6c807eb5d7aa7175981d300
treea8219e258b14702a8ee6264160e7764c9bbb5177
parentb33f89bf07e0eaf5742f6c7738d7d20e260dd620
Add default subbuf sizes getter functions

commit 8b3bd7a32e514aae56e718491a10f582b03140c3 upstream.

This patch adds functions to retrieve defaults subbuf sizes. It uses the
DEFAULT_*_SUBBUF_SIZE defines from defaults.h but also make sure that
the values are at least as big as the page size.

The functions are defined as static inline in defaults.h.

[ Edit by Christian Babeux: Resolved conflict in src/common/Makefile.am
  and src/common/defaults.h ]

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
src/common/Makefile.am
src/common/defaults.c [new file with mode: 0644]
src/common/defaults.h
This page took 0.02465 seconds and 4 git commands to generate.