scribble/src/erbusy.c File Reference

#include <liberipc/eripc.h>
#include <liberipc/eripcbusyd.h>
#include "ScribbleLog.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 ()

Variables

static erClientChannel_t erbusyChannel


Detailed Description

Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.

Copyright (C) 2006 iRex Technologies

Definition in file erbusy.c.


Function Documentation

void erbusy_blink ( void   ) 

Definition at line 54 of file erbusy.c.

00055 {
00056     erbusy_request(ccBusyState_Blink);
00057 }

Here is the call graph for this function:

void erbusy_init (  ) 

Open communication channel with erbusy deamon counts on the fact that erbusy is running

Returns:
void

Definition at line 35 of file erbusy.c.

00036 {
00037     SB_IPCPRINTF("entry");
00038     erIpcStartClient(ER_BUSYD_CHANNEL, &erbusyChannel);
00039 }

void erbusy_off ( void   ) 

request from contentlister

Returns:
-

Definition at line 49 of file erbusy.c.

00050 {
00051     erbusy_request(ccBusyState_Off);
00052 }

Here is the call graph for this function:

void erbusy_on ( void   ) 

Definition at line 59 of file erbusy.c.

00060 {
00061     erbusy_request(ccBusyState_On);
00062 }

Here is the call graph for this function:

static void erbusy_request ( eCcBusyState  busy  )  [static]

Definition at line 42 of file erbusy.c.

00043 {
00044     SB_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 }

Here is the call graph for this function:


Variable Documentation

erClientChannel_t erbusyChannel [static]

Definition at line 33 of file erbusy.c.


Generated on Sun Dec 14 17:14:31 2008 by  doxygen 1.5.6