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

Attribute name, set by alarm_attr_create().

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 Mon Feb 22 09:43:04 2010 for libalarm by  doxygen 1.5.6