#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <gconf/gconf-client.h>
#include <osso-ic-gconf.h>
#include "icd_idle_timer.h"
#include "icd_log.h"
Defines | |
#define | ICD2_IDLE_TIMER_IPTABLES_PREFIX "icd2-idle-" |
Functions | |
static gboolean | icd_idle_timer_unset_rules (const char *interface) |
static gboolean | icd_idle_timer_set_rules (const gchar *interface, const guint timeout) |
static gboolean | icd_idle_timer_trigger (GIOChannel *source, GIOCondition condition, gpointer user_data) |
static gboolean | icd_idle_timer_start (struct icd_iap *iap, guint timeout) |
gboolean | icd_idle_timer_set (struct icd_iap *iap) |
gboolean | icd_idle_timer_unset (struct icd_iap *iap) |
static gboolean | icd_idle_timer_foreach_iap (struct icd_iap *iap, gpointer user_data) |
static void | icd_idle_timer_gconf_changed (GConfClient *client, guint cnxn_id, GConfEntry *entry, gpointer user_data) |
gboolean | icd_idle_timer_init (struct icd_context *icd_ctx) |
void | icd_idle_timer_remove (struct icd_context *icd_ctx) |