#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include <signal.h>
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <glib-object.h>
#include "config.h"
#include "icd_log.h"
#include "icd_pid.h"
#include "icd_args.h"
#include "icd_signal.h"
#include "icd_context.h"
#include "icd_exec.h"
#include "icd_scan.h"
#include "icd_network_api.h"
#include "icd_request.h"
#include "icd_policy_api.h"
#include "icd_osso_ic.h"
#include "icd_name_owner.h"
#include "icd_idle_timer.h"
#include "icd_gconf.h"
#include "icd_script.h"
#include "icd_dbus_api.h"
#include "icd_srv_provider.h"
#include "icd_network_priority.h"
Defines | |
#define | _GNU_SOURCE |
#define | PIDFILE "/var/run/icd2.pid" |
#define | ICD_SHUTDOWN_TIMEOUT 100 |
Functions | |
static gboolean | icd_exec_shutdown_check (gpointer data) |
static void | icd_exec_shutdown (struct icd_context *icd_ctx) |
static void | icd_exec_signal_cb (int sig) |
int | main (int argc, char *argv[]) |