#include <liberipc/eripc.h>
#include <liberipc/eripcbusyd.h>
#include "connectionMgrLog.h"
#include "erbusy.h"
Go to the source code of this file.
Functions | |
void | erbusy_init () |
static void | erbusy_request (eCcBusyState busy) |
void | erbusy_off () |
void | erbusy_blink () |
void | erbusy_on () |
void | erbusy_shutdown () |
gboolean | delay_erbusy_blink (gpointer data) |
Variables | |
static erClientChannel_t | erbusyChannel |
Copyright (C) 2007 iRex Technologies BV.
Definition in file erbusy.c.
gboolean delay_erbusy_blink | ( | gpointer | data | ) |
Definition at line 69 of file erbusy.c.
00070 { 00071 erbusy_blink(); 00072 return FALSE; 00073 }
void erbusy_blink | ( | void | ) |
Definition at line 54 of file erbusy.c.
00055 { 00056 erbusy_request(ccBusyState_Blink); 00057 }
void erbusy_init | ( | ) |
Open communication channel with erbusy deamon counts on the fact that erbusy is running
Definition at line 35 of file erbusy.c.
00036 { 00037 CN_IPCPRINTF("entry"); 00038 erIpcStartClient(ER_BUSYD_CHANNEL, &erbusyChannel); 00039 }
void erbusy_off | ( | void | ) |
request from contentlister
Definition at line 49 of file erbusy.c.
00050 { 00051 erbusy_request(ccBusyState_Off); 00052 }
void erbusy_on | ( | void | ) |
Definition at line 59 of file erbusy.c.
00060 { 00061 erbusy_request(ccBusyState_On); 00062 }
static void erbusy_request | ( | eCcBusyState | busy | ) | [static] |
Definition at line 42 of file erbusy.c.
00043 { 00044 CN_IPCPRINTF("entry %d", busy); 00045 busySetBusy(erbusyChannel, busy); 00046 return; 00047 }
void erbusy_shutdown | ( | void | ) |
Definition at line 64 of file erbusy.c.
00065 { 00066 erbusy_request(ccBusyState_Shutdown); 00067 }
erClientChannel_t erbusyChannel [static] |