alarm_attr_t Struct Reference

Extra alarm attributes. More...


Data Fields

char * attr_name
int attr_type
union {
   char *   sval
   time_t   tval
   int   ival
attr_data


Detailed Description

Extra alarm attributes.

Some applications need to transfer more data to system ui alarm service than what basic alarm structure can convey. The alarm attributes can be used for this purpose, the alarm daemon itself does not use the attributes.

The attributes have a name and value. Currently the following types of attributes are supported:

See also:


Field Documentation

char* alarm_attr_t::attr_name

Attribute name, set by alarm_attr_create().

int alarm_attr_t::attr_type

Attribute type, see alarmattrtype.

union { ... } alarm_attr_t::attr_data

attribute data, access using the get/set methods


The documentation for this struct was generated from the following file:
Generated on Tue Feb 24 16:21:30 2009 for libalarm by  doxygen 1.5.1