aboutsummaryrefslogtreecommitdiffstats
path: root/src/kern.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-13 16:53:51 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-13 16:53:51 +0100
commit731200111990fa8270781ffad2f060f9c214a12a (patch)
treecb00fbfd4af4a8ea7cdc8e128412ff8a48428776 /src/kern.h
parentm (diff)
downloadscrotty-731200111990fa8270781ffad2f060f9c214a12a.tar.gz
scrotty-731200111990fa8270781ffad2f060f9c214a12a.tar.bz2
scrotty-731200111990fa8270781ffad2f060f9c214a12a.tar.xz
support margins
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--src/kern.h5
1 files changed, 2 insertions, 3 deletions
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.