From 731200111990fa8270781ffad2f060f9c214a12a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 13 Dec 2015 16:53:51 +0100 Subject: support margins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/kern.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/kern.h') diff --git a/src/kern.h b/src/kern.h index 5bd191c..3810c5f 100644 --- a/src/kern.h +++ b/src/kern.h @@ -55,14 +55,13 @@ char *get_fbpath (int altpath, int fbno); * Get the dimensions of a framebuffer. * * @param fbno The number of the framebuffer. - * @param fbpath The path to the framebuffer device.. + * @param fbfd File descriptor for framebuffer device. * @param width Output parameter for the width of the image. * @param height Output parameter for the height of the image. * @parma data Additional data to pass to `convert_fb_to_png`. * @return Zero on success, -1 on error. */ -int measure (int fbno, char *restrict fbpath, long *restrict width, - long *restrict height, void **restrict data); +int measure (int fbno, int fbfd, long *restrict width, long *restrict height, void **restrict data); /** * Convert read data from a framebuffer to PNG pixel data. -- cgit v1.2.3-70-g09d2