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

initialize.h File Reference

#include "queue.h"
#include "glib/gtypes.h"

Include dependency graph for initialize.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

AlarmdQueueinit_queue (const gchar *queue_file, const gchar *next_time_file, const gchar *next_mode_file)
 init_queue: : The file the queue should be loaded from.
void alarmd_type_init (void)
 alarmd_type_init:


Function Documentation

void alarmd_type_init void   ) 
 

alarmd_type_init:

Initializes all types used in alarmd. This is needed due to design. The types need to be registered to Glib type system.

Definition at line 134 of file initialize.c.

References ALARMD_TYPE_ACTION, ALARMD_TYPE_ACTION_DBUS, ALARMD_TYPE_ACTION_EXEC, and ALARMD_TYPE_EVENT_RECURRING.

Referenced by main().

AlarmdQueue* init_queue const gchar *  queue_file,
const gchar *  next_time_file,
const gchar *  next_mode_file
 

init_queue: : The file the queue should be loaded from.

: The file the time of next alarm should be saved to. : The file the mode of next alarm should be saved to.

Initializes alarm queue from the given file. Returns: New AlarmdQueue filled with events.

Definition at line 51 of file initialize.c.

References _free_data(), _queue_changed(), _write_data(), ALARMD_EVENT, alarmd_gparameterv_free(), ALARMD_IS_EVENT, alarmd_queue_add_event(), alarmd_queue_new(), close_timer_plugins(), DEBUG, elements_to_parameters(), load_timer_plugins(), files_t::next_mode_file, files_t::next_time_file, object_factory(), files_t::queue, files_t::queue_file, files_t::timer_id, timer_plugins_set_startup(), and timers_get_plugin().

Referenced by main().


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