• Main Page
  • Data Structures
  • Files
  • File List
  • Globals

iliad_api.h

Go to the documentation of this file.
00001 /*  This source file is (c) 2010 - 2012 Volker Schatz
00002     It is licensed under Version 3 or later of the Gnu General Public License
00003     (see http://www.gnu.org/licenses/gpl.html for details)              */
00004 
00014 #ifndef ILIAD_API_H
00015 #define ILIAD_API_H
00016 
00017 #include <liberipc/eripc.h>
00018 
00019 #ifndef UAID
00020 #define UAID        1
00021 #endif
00022 
00023 #define ILIAD_NOERR 0
00024 #define ILIAD_ERR_CONN  1
00025 #define ILIAD_ERR_ERLIB 2
00026 #define ILIAD_ERR_RANGE 3
00027 
00028 #define LED_OFF     0
00029 #define LED_BLINK   1
00030 #define LED_ON      2
00031 
00032 erClientChannel_t busyd_channel();
00033 int set_led(int state);
00034 
00035 erClientChannel_t toolbar_channel();
00036 int init_icons(int *iconlist);
00037 
00038 erClientChannel_t pagebar_channel();
00039 int init_pagebar(int npages, int page, int pagepos, int zoom);
00040 int set_pagebar_page(int page, int pagepos);
00041 
00042 unsigned char *framebuffer();
00043 void unmap_framebuffer();
00044 
00045 #define DISP_4BIT   0
00046 #define DISP_2BIT   2
00047 #define DISP_1BIT   1
00048 #define DISP_IMMED  3   /*  update display immediately  */
00049 #define DISP_01SEC  2   /*  within 0.1 seconds, according to erdm.h  */
00050 #define DISP_05SEC  1   /*  within 0.5 sec  */
00051 #define DISP_15SEC  0   /*  within 1.5 sec  */
00052 
00053 void update_now4bit();
00054 int update_display(int quality, int priority);
00055 void clear_display();
00056 
00057 #endif
00058 

Generated on Sun Jan 29 2012 20:41:39 for Iliad API by  doxygen 1.7.1