#include <glib.h>
#include <glib-object.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <getopt.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <osso-log.h>
#include "alarmd.h"
#include "initialize.h"
#include "queue.h"
#include "rpc-osso.h"
#include "rpc-dbus.h"
Include dependency graph for alarmd.c:
Go to the source code of this file.
Defines | |
#define | ALARMD_LOCKFILE "/var/run/alarmd.pid" |
This file is part of alarmd. | |
#define | PRG_NAME "alarmd" |
Functions | |
static void | usage (void) |
static void | version (void) |
static gint | init_locales (const gchar *const name) |
static void | signal_handler (const gint signr) |
static void | daemonize (void) |
int | main (int argc, char **argv) |
Variables | |
int | optind |
char * | optarg |
static const gchar * | progname |
|
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 Definition at line 43 of file alarmd.c. Referenced by daemonize(). |
|
Definition at line 44 of file alarmd.c. Referenced by main(). |
|
Definition at line 160 of file alarmd.c. References ALARMD_LOCKFILE. Referenced by main(). |
|
Definition at line 93 of file alarmd.c. References _, bindtextdomain, progname, and textdomain. Referenced by main(). |
|
Definition at line 247 of file alarmd.c. References _, alarmd_type_init(), daemonize(), dbus_set_osso(), deinit_osso(), init_locales(), init_osso(), init_queue(), mainloop, optind, PRG_NAME, progname, set_osso_callbacks(), signal_handler(), usage(), and version(). |
|
Definition at line 135 of file alarmd.c. References mainloop. Referenced by main(). |
|
Definition at line 54 of file alarmd.c. Referenced by main(). |
|
Definition at line 71 of file alarmd.c. Referenced by main(). |
|
Referenced by main(), tool_add(), and tool_list(). |
|
Referenced by main(). |
|
Definition at line 49 of file alarmd.c. Referenced by init_locales(), main(), usage(), and version(). |