3cd989bc63
bapm is an APM meter for Blackbox, which shows the battery status of your laptop in a decorated window, simulating the look of the Blackbox toolbar. bbapm is based on bbsload. This package is based on the FreeBSD port and the OpenBSD patches posted to http://bbtools.windsofstorm.net written by Michael Henson (mike at axl dot net). Various changes by yours truly.
25 lines
538 B
Text
25 lines
538 B
Text
$NetBSD: patch-ak,v 1.1.1.1 2002/09/07 20:22:54 jschauma Exp $
|
|
|
|
--- /dev/null Sat Sep 7 13:47:40 2002
|
|
+++ net_apm.h Sat Sep 7 14:09:49 2002
|
|
@@ -0,0 +1,20 @@
|
|
+/* based on OpenBSD patch available form http://bbtools.windsofstorm.net */
|
|
+#ifndef _NET_APM_H
|
|
+#define _NET_APM_H
|
|
+
|
|
+#include <stdio.h>
|
|
+#include <sys/file.h>
|
|
+#include <sys/ioctl.h>
|
|
+#include <string.h>
|
|
+#include <i386/apmvar.h>
|
|
+
|
|
+typedef struct apm_power_info apm_info;
|
|
+
|
|
+extern int apm_desc;
|
|
+extern int errno;
|
|
+
|
|
+void apm_init();
|
|
+
|
|
+int apm_read( apm_info* );
|
|
+
|
|
+#endif
|