comparison src/rocklight/rocklight.h @ 411:78a5e9c37469 trunk

[svn] - Rework and clean up code - Add generic support for /sys/class/leds/ LEDs, used for Apple PMU and SMU - Make rocklight configurable in configure
author hansmi
date Sat, 06 Jan 2007 07:40:46 -0800
parents src/rocklight/thinklight.h@3da1b8942b8b
children
comparison
equal deleted inserted replaced
410:4333f0bbcc55 411:78a5e9c37469
1 /*
2 * Copyright (C) 2004 Benedikt 'Hunz' Heinz <rocklight@hunz.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18
19 #ifndef _ROCKLIGHT_H
20 #define _ROCKLIGHT_H
21
22 int thinklight_set(int fd, int state);
23 int thinklight_get(int fd);
24
25 int sysled_set(int fd, int state);
26 int sysled_get(int fd);
27
28 #endif