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

alarmcheck.c File Reference

#include <cal.h>
#include <time.h>
#include <alarmd/alarm_data.h>

Include dependency graph for alarmcheck.c:

Go to the source code of this file.

Defines

#define TIME_T_24H   24 * 60 * 60

Enumerations

enum  alarmretval {
  ALARM_ERR = -1,
  ALARM_NORMAL = 0,
  ALARM_ACTDEAD = 1,
  ALARM_FUTURE = 2
}
 This file is part of alarmd. More...

Functions

static int check_alarm_status (void)


Define Documentation

#define TIME_T_24H   24 * 60 * 60
 

Definition at line 35 of file alarmcheck.c.

Referenced by check_alarm_status().


Enumeration Type Documentation

enum alarmretval
 

This file is part of alarmd.

Contact Person: David Weinehall <david.weinehall@nokia.com>

Copyright (C) 2006 Nokia Corporation alarmd and libalarm are free software; you can redistribute them and/or modify them under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.

alarmd and libalarm are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this software; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Enumeration values:
ALARM_ERR 
ALARM_NORMAL 
ALARM_ACTDEAD 
ALARM_FUTURE 

Definition at line 26 of file alarmcheck.c.


Function Documentation

static int check_alarm_status void   )  [static]
 

Definition at line 44 of file alarmcheck.c.

References ALARM_ACTDEAD, ALARM_ACTION_ACTDEAD, ALARM_ACTION_INVALID, ALARM_ACTION_NORMAL, ALARM_ERR, ALARM_FUTURE, ALARM_NORMAL, and TIME_T_24H.


Generated on Thu Dec 21 18:23:30 2006 for Alarmd by  doxygen 1.4.2