Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

snt.h

00001 /***
00002  * This file is part of OpenHome, an open source home automation system.
00003  * Copyright (C) 2003 Jan Klötzke
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation; either version 2 of the License, or
00008  * (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018  */
00019 
00020 #ifndef __SNT_H
00021 #define __SNT_H
00022 
00023 #include <inttypes.h>
00024 
00025 typedef struct {
00026                 uint8_t state;
00027                 uint8_t value;
00028         } snt_switch;
00029 
00030 typedef enum {
00031                 SB_SWITCH,
00032                 SB_DIMMER
00033         } sw_behav_e;
00034 
00035 struct snt_time_stamp {
00036         uint8_t second, minute, hour, day, dow, month;
00037         uint16_t year;
00038 };
00039 
00040 #endif

Generated on Fri Oct 17 16:45:54 2003 for OpenHome by doxygen 1.3.3