13 changed files with 0 additions and 4682 deletions
@ -1,57 +0,0 @@ |
|||
#ifndef HEADER_AES_H |
|||
#define HEADER_AES_H |
|||
|
|||
#define AES_ENCRYPT 1 |
|||
#define AES_DECRYPT 0 |
|||
|
|||
/* Because array size can't be a const in C, the following two are macros.
|
|||
Both sizes are in bytes. */ |
|||
#define AES_MAXNR 14 |
|||
#define AES_BLOCK_SIZE 16 |
|||
|
|||
#ifdef __cplusplus |
|||
extern "C" { |
|||
#endif |
|||
|
|||
#if defined(_MSC_VER) && !defined(OPENSSL_SYS_WINCE) |
|||
# define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) |
|||
# define GETU32(p) SWAP(*((u32 *)(p))) |
|||
# define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } |
|||
#else |
|||
# define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)[3])) |
|||
# define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); } |
|||
#endif |
|||
|
|||
typedef unsigned long u32; |
|||
typedef unsigned short u16; |
|||
typedef unsigned char u8; |
|||
|
|||
#define MAXKC (256/32) |
|||
#define MAXKB (256/8) |
|||
#define MAXNR 14 |
|||
|
|||
/* This controls loop-unrolling in aes_core.c */ |
|||
#undef FULL_UNROLL |
|||
|
|||
/* This should be a hidden type, but EVP requires that the size be known */ |
|||
struct aes_key_st { |
|||
unsigned long rd_key[4 *(AES_MAXNR + 1)]; |
|||
int rounds; |
|||
}; |
|||
typedef struct aes_key_st AES_KEY; |
|||
|
|||
static int AES_set_encrypt_key(const unsigned char *userKey, const int bits, |
|||
AES_KEY *key); |
|||
static int AES_set_decrypt_key(const unsigned char *userKey, const int bits, |
|||
AES_KEY *key); |
|||
|
|||
static void AES_encrypt(const unsigned char *in, unsigned char *out, |
|||
const AES_KEY *key); |
|||
static void AES_decrypt(const unsigned char *in, unsigned char *out, |
|||
const AES_KEY *key); |
|||
|
|||
#ifdef __cplusplus |
|||
} |
|||
#endif |
|||
|
|||
#endif /* !HEADER_AES_H */ |
File diff suppressed because it is too large
@ -1,87 +0,0 @@ |
|||
/* crc32.c -- compute the CRC-32 of a data stream
|
|||
* Copyright (C) 1995-1996 Mark Adler |
|||
* For conditions of distribution and use, see copyright notice in zlib.h |
|||
*/ |
|||
|
|||
/* $Id: crc32.c,v 1.1.1.1 1997/03/19 15:06:37 kivinen Exp $ */ |
|||
|
|||
/* ========================================================================
|
|||
* Table of CRC-32's of all single-byte values (made by make_crc_table) |
|||
*/ |
|||
static unsigned long crc_table[256] = { |
|||
0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L, |
|||
0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L, |
|||
0xe0d5e91eL, 0x97d2d988L, 0x09b64c2bL, 0x7eb17cbdL, 0xe7b82d07L, |
|||
0x90bf1d91L, 0x1db71064L, 0x6ab020f2L, 0xf3b97148L, 0x84be41deL, |
|||
0x1adad47dL, 0x6ddde4ebL, 0xf4d4b551L, 0x83d385c7L, 0x136c9856L, |
|||
0x646ba8c0L, 0xfd62f97aL, 0x8a65c9ecL, 0x14015c4fL, 0x63066cd9L, |
|||
0xfa0f3d63L, 0x8d080df5L, 0x3b6e20c8L, 0x4c69105eL, 0xd56041e4L, |
|||
0xa2677172L, 0x3c03e4d1L, 0x4b04d447L, 0xd20d85fdL, 0xa50ab56bL, |
|||
0x35b5a8faL, 0x42b2986cL, 0xdbbbc9d6L, 0xacbcf940L, 0x32d86ce3L, |
|||
0x45df5c75L, 0xdcd60dcfL, 0xabd13d59L, 0x26d930acL, 0x51de003aL, |
|||
0xc8d75180L, 0xbfd06116L, 0x21b4f4b5L, 0x56b3c423L, 0xcfba9599L, |
|||
0xb8bda50fL, 0x2802b89eL, 0x5f058808L, 0xc60cd9b2L, 0xb10be924L, |
|||
0x2f6f7c87L, 0x58684c11L, 0xc1611dabL, 0xb6662d3dL, 0x76dc4190L, |
|||
0x01db7106L, 0x98d220bcL, 0xefd5102aL, 0x71b18589L, 0x06b6b51fL, |
|||
0x9fbfe4a5L, 0xe8b8d433L, 0x7807c9a2L, 0x0f00f934L, 0x9609a88eL, |
|||
0xe10e9818L, 0x7f6a0dbbL, 0x086d3d2dL, 0x91646c97L, 0xe6635c01L, |
|||
0x6b6b51f4L, 0x1c6c6162L, 0x856530d8L, 0xf262004eL, 0x6c0695edL, |
|||
0x1b01a57bL, 0x8208f4c1L, 0xf50fc457L, 0x65b0d9c6L, 0x12b7e950L, |
|||
0x8bbeb8eaL, 0xfcb9887cL, 0x62dd1ddfL, 0x15da2d49L, 0x8cd37cf3L, |
|||
0xfbd44c65L, 0x4db26158L, 0x3ab551ceL, 0xa3bc0074L, 0xd4bb30e2L, |
|||
0x4adfa541L, 0x3dd895d7L, 0xa4d1c46dL, 0xd3d6f4fbL, 0x4369e96aL, |
|||
0x346ed9fcL, 0xad678846L, 0xda60b8d0L, 0x44042d73L, 0x33031de5L, |
|||
0xaa0a4c5fL, 0xdd0d7cc9L, 0x5005713cL, 0x270241aaL, 0xbe0b1010L, |
|||
0xc90c2086L, 0x5768b525L, 0x206f85b3L, 0xb966d409L, 0xce61e49fL, |
|||
0x5edef90eL, 0x29d9c998L, 0xb0d09822L, 0xc7d7a8b4L, 0x59b33d17L, |
|||
0x2eb40d81L, 0xb7bd5c3bL, 0xc0ba6cadL, 0xedb88320L, 0x9abfb3b6L, |
|||
0x03b6e20cL, 0x74b1d29aL, 0xead54739L, 0x9dd277afL, 0x04db2615L, |
|||
0x73dc1683L, 0xe3630b12L, 0x94643b84L, 0x0d6d6a3eL, 0x7a6a5aa8L, |
|||
0xe40ecf0bL, 0x9309ff9dL, 0x0a00ae27L, 0x7d079eb1L, 0xf00f9344L, |
|||
0x8708a3d2L, 0x1e01f268L, 0x6906c2feL, 0xf762575dL, 0x806567cbL, |
|||
0x196c3671L, 0x6e6b06e7L, 0xfed41b76L, 0x89d32be0L, 0x10da7a5aL, |
|||
0x67dd4accL, 0xf9b9df6fL, 0x8ebeeff9L, 0x17b7be43L, 0x60b08ed5L, |
|||
0xd6d6a3e8L, 0xa1d1937eL, 0x38d8c2c4L, 0x4fdff252L, 0xd1bb67f1L, |
|||
0xa6bc5767L, 0x3fb506ddL, 0x48b2364bL, 0xd80d2bdaL, 0xaf0a1b4cL, |
|||
0x36034af6L, 0x41047a60L, 0xdf60efc3L, 0xa867df55L, 0x316e8eefL, |
|||
0x4669be79L, 0xcb61b38cL, 0xbc66831aL, 0x256fd2a0L, 0x5268e236L, |
|||
0xcc0c7795L, 0xbb0b4703L, 0x220216b9L, 0x5505262fL, 0xc5ba3bbeL, |
|||
0xb2bd0b28L, 0x2bb45a92L, 0x5cb36a04L, 0xc2d7ffa7L, 0xb5d0cf31L, |
|||
0x2cd99e8bL, 0x5bdeae1dL, 0x9b64c2b0L, 0xec63f226L, 0x756aa39cL, |
|||
0x026d930aL, 0x9c0906a9L, 0xeb0e363fL, 0x72076785L, 0x05005713L, |
|||
0x95bf4a82L, 0xe2b87a14L, 0x7bb12baeL, 0x0cb61b38L, 0x92d28e9bL, |
|||
0xe5d5be0dL, 0x7cdcefb7L, 0x0bdbdf21L, 0x86d3d2d4L, 0xf1d4e242L, |
|||
0x68ddb3f8L, 0x1fda836eL, 0x81be16cdL, 0xf6b9265bL, 0x6fb077e1L, |
|||
0x18b74777L, 0x88085ae6L, 0xff0f6a70L, 0x66063bcaL, 0x11010b5cL, |
|||
0x8f659effL, 0xf862ae69L, 0x616bffd3L, 0x166ccf45L, 0xa00ae278L, |
|||
0xd70dd2eeL, 0x4e048354L, 0x3903b3c2L, 0xa7672661L, 0xd06016f7L, |
|||
0x4969474dL, 0x3e6e77dbL, 0xaed16a4aL, 0xd9d65adcL, 0x40df0b66L, |
|||
0x37d83bf0L, 0xa9bcae53L, 0xdebb9ec5L, 0x47b2cf7fL, 0x30b5ffe9L, |
|||
0xbdbdf21cL, 0xcabac28aL, 0x53b39330L, 0x24b4a3a6L, 0xbad03605L, |
|||
0xcdd70693L, 0x54de5729L, 0x23d967bfL, 0xb3667a2eL, 0xc4614ab8L, |
|||
0x5d681b02L, 0x2a6f2b94L, 0xb40bbe37L, 0xc30c8ea1L, 0x5a05df1bL, |
|||
0x2d02ef8dL |
|||
}; |
|||
|
|||
#define DO1(buf) crc = crc_table[((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8); |
|||
#define DO2(buf) DO1(buf); DO1(buf); |
|||
#define DO4(buf) DO2(buf); DO2(buf); |
|||
#define DO8(buf) DO4(buf); DO4(buf); |
|||
|
|||
static unsigned long crc32(crc, buf, len) |
|||
unsigned long crc; |
|||
const unsigned char *buf; |
|||
unsigned int len; |
|||
{ |
|||
if (!buf) return(0L); |
|||
crc = crc ^ 0xffffffffL; |
|||
while (len >= 8) |
|||
{ |
|||
DO8(buf); |
|||
len -= 8; |
|||
} |
|||
if (len) do { |
|||
DO1(buf); |
|||
} while (--len); |
|||
return(crc^0xffffffffL); |
|||
} |
@ -1,22 +0,0 @@ |
|||
# FlatTV's Gedankenstütze |
|||
|
|||
nc -u 192.168.99.90 988 |
|||
login user pwd |
|||
|
|||
commands |
|||
[SB4000]commands: login |
|||
[S-4001]commands: exit |
|||
[S-4002]commands: log |
|||
[S-4003]commands: status |
|||
[S-4004]commands: shutdown |
|||
[S-4005]commands: reload |
|||
[S-4006]commands: details |
|||
[S-4007]commands: version |
|||
[S-4008]commands: debug |
|||
[S-4009]commands: getuser |
|||
[S-4010]commands: setuser |
|||
[S-4011]commands: setserver |
|||
[S-4012]commands: commands |
|||
[S-4013]commands: keepalive |
|||
[S-4014]commands: reread |
|||
[SE4015]commands: restart |
@ -1,595 +0,0 @@ |
|||
static unsigned char icon_plus[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_minus[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_power_button[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x33, 0x33, 0x33, 0x33, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x03, 0x33, 0x33, 0x3f, 0xf3, 0x33, 0x33, 0x30, 0x00, 0x00, |
|||
0x00, 0x00, 0x33, 0x33, 0x33, 0x3f, 0xf3, 0x33, 0x33, 0x33, 0x00, 0x00, |
|||
0x00, 0x33, 0x33, 0x33, 0xf3, 0x3f, 0xf3, 0x3f, 0x33, 0x33, 0x33, 0x00, |
|||
0x03, 0x33, 0x33, 0x3f, 0xf3, 0x3f, 0xf3, 0x3f, 0xf3, 0x33, 0x33, 0x30, |
|||
0x03, 0x33, 0x33, 0xff, 0xf3, 0x3f, 0xf3, 0x3f, 0xff, 0x33, 0x33, 0x30, |
|||
0x33, 0x33, 0x3f, 0xff, 0x33, 0x33, 0x33, 0x33, 0xff, 0xf3, 0x33, 0x33, |
|||
0x33, 0x33, 0x3f, 0xf3, 0x33, 0x33, 0x33, 0x33, 0x3f, 0xf3, 0x33, 0x33, |
|||
0x33, 0x33, 0x3f, 0xf3, 0x33, 0x33, 0x33, 0x33, 0x3f, 0xf3, 0x33, 0x33, |
|||
0x33, 0x33, 0x3f, 0xf3, 0x33, 0x33, 0x33, 0x33, 0x3f, 0xf3, 0x33, 0x33, |
|||
0x33, 0x33, 0x3f, 0xf3, 0x33, 0x33, 0x33, 0x33, 0x3f, 0xf3, 0x33, 0x33, |
|||
0x33, 0x33, 0x3f, 0xff, 0x33, 0x33, 0x33, 0x33, 0xff, 0xf3, 0x33, 0x33, |
|||
0x03, 0x33, 0x33, 0xff, 0xf3, 0x33, 0x33, 0x3f, 0xff, 0x33, 0x33, 0x30, |
|||
0x03, 0x33, 0x33, 0x3f, 0xff, 0x33, 0x33, 0xff, 0xf3, 0x33, 0x33, 0x30, |
|||
0x00, 0x33, 0x33, 0x33, 0xff, 0xff, 0xff, 0xff, 0x33, 0x33, 0x33, 0x00, |
|||
0x00, 0x00, 0x33, 0x33, 0x3f, 0xff, 0xff, 0xf3, 0x33, 0x33, 0x00, 0x00, |
|||
0x00, 0x00, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x33, 0x33, 0x33, 0x33, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_help[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_info[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x0d, |
|||
0xdd, 0xdd, 0xdd, 0xdd, 0xdd, 0xdd, 0xdd, 0xdd, 0xdd, 0xdd, 0xdd, 0xdd, |
|||
0xdd, 0xdd, 0xdd, 0xdd, 0xdd, 0xdd, 0x8d, 0xdd, 0xdd, 0xdd, 0xdd, 0xdd, |
|||
0xdd, 0xdd, 0xdd, 0xdd, 0xdd, 0xd0, 0x08, 0xdd, 0xdd, 0xdd, 0xdd, 0xdd, |
|||
0xdd, 0xdd, 0xdd, 0xdd, 0xdd, 0x0f, 0xb0, 0x8d, 0xdd, 0xdd, 0xdd, 0xdd, |
|||
0xdd, 0xdd, 0xdd, 0xdd, 0xd0, 0xfb, 0xfb, 0x08, 0xdd, 0xdd, 0xdd, 0xdd, |
|||
0xdd, 0xdd, 0xdd, 0xdd, 0x0f, 0xbf, 0xbf, 0xb0, 0x8d, 0xdd, 0xdd, 0xdd, |
|||
0xdd, 0xdd, 0xdd, 0xd0, 0xfb, 0xfb, 0xfb, 0xfb, 0x08, 0xdd, 0xdd, 0xdd, |
|||
0xdd, 0xdd, 0xdd, 0x0f, 0xbf, 0x44, 0x44, 0xbf, 0xb0, 0x8d, 0xdd, 0xdd, |
|||
0xdd, 0xdd, 0xd0, 0xfb, 0xfb, 0x44, 0x44, 0xfb, 0xf7, 0x08, 0xdd, 0xdd, |
|||
0xdd, 0xdd, 0x0f, 0xbf, 0xbf, 0xbf, 0xbf, 0xbf, 0xbf, 0xb0, 0x8d, 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, 0xdd, 0xdd, 0xdd }; |
|||
|
|||
static unsigned char icon_mute_small[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0xf8, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xf8, 0xf8, 0xf8, 0x88, 0xf8, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0x88, 0xf8, 0x8f, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0xff, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0xff, 0xf8, 0xf8, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0xff, 0xf8, 0xf8, 0x88, 0xf8, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0xff, 0xf8, 0xf8, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0xff, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x8f, 0x88, 0xf8, 0x8f, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xf8, 0xf8, 0xf8, 0x88, 0xf8, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0xf8, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_up[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_down[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_left[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_right[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_play[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_forward[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x8f, 0x88, 0x88, 0x8f, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0x88, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0xf8, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0xf8, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0x88, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x8f, 0x88, 0x88, 0x8f, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_rewind[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xf8, 0x88, 0x88, 0xf8, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xf8, 0x88, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0xf8, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x8f, 0xff, 0xf8, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xf8, 0x88, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xf8, 0x88, 0x88, 0xf8, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_lock[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0xbb, 0xbb, 0xb0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x0b, 0xbb, 0xbb, 0xbb, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x0b, 0xbb, 0xbb, 0xbb, 0xb0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0x00, |
|||
0xbb, 0x00, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xb0, |
|||
0xbb, 0x00, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xb0, |
|||
0xbb, 0x00, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0x00, |
|||
0xbb, 0xbb, 0xbb, 0xbb, 0xb0, 0xbb, 0xb0, 0x00, 0xbb, 0xb0, 0xb0, 0x00, |
|||
0x0b, 0xbb, 0xbb, 0xbb, 0xb0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x0b, 0xbb, 0xbb, 0xbb, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0xbb, 0xbb, 0xb0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
#ifdef NOT_USED_NOW |
|||
static unsigned char icon_dbox[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0xf8, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0xf8, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0xff, 0xf8, 0xff, 0xf8, 0x88, 0xff, 0x88, 0xf8, 0xf8, 0x88, |
|||
0x88, 0x8f, 0x88, 0xf8, 0xf8, 0x8f, 0x8f, 0x88, 0xf8, 0x8f, 0x88, 0x88, |
|||
0x88, 0x8f, 0x88, 0xf8, 0xf8, 0x8f, 0x8f, 0x88, 0xf8, 0x8f, 0x88, 0x88, |
|||
0x88, 0x88, 0xff, 0xf8, 0xff, 0xf8, 0x88, 0xff, 0x88, 0xf8, 0xf8, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_ok[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0xff, 0xff, 0xf8, 0x8f, 0xf8, 0x8f, 0xf8, 0x88, 0x80, |
|||
0x88, 0x88, 0x8f, 0xf8, 0x88, 0xff, 0x8f, 0xf8, 0xff, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x8f, 0xf8, 0x88, 0xff, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x8f, 0xf8, 0x88, 0xff, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x8f, 0xf8, 0x88, 0xff, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x8f, 0xf8, 0x88, 0xff, 0x8f, 0xf8, 0xff, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0xff, 0xff, 0xf8, 0x8f, 0xf8, 0x8f, 0xf8, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_lame[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x01, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x10, 0x00, 0x00, |
|||
0x00, 0x00, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, |
|||
0x00, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x00, |
|||
0x01, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x10, |
|||
0x01, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x10, |
|||
0x11, 0xf1, 0x11, 0x11, 0xff, 0xf1, 0xf1, 0x11, 0xf1, 0xff, 0xff, 0x11, |
|||
0x11, 0xf1, 0x11, 0x1f, 0x11, 0xf1, 0xff, 0x1f, 0xf1, 0xf1, 0x11, 0x11, |
|||
0x11, 0xf1, 0x11, 0x1f, 0x11, 0xf1, 0xf1, 0xf1, 0xf1, 0xff, 0xf1, 0x11, |
|||
0x11, 0xf1, 0x11, 0x1f, 0xff, 0xf1, 0xf1, 0xf1, 0xf1, 0xf1, 0x11, 0x11, |
|||
0x11, 0xf1, 0x11, 0x1f, 0x11, 0xf1, 0xf1, 0xf1, 0xf1, 0xf1, 0x11, 0x11, |
|||
0x11, 0xff, 0xff, 0x1f, 0x11, 0xf1, 0xf1, 0xf1, 0xf1, 0xff, 0xff, 0x11, |
|||
0x01, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x10, |
|||
0x01, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x10, |
|||
0x00, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x00, |
|||
0x00, 0x00, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, |
|||
0x00, 0x00, 0x01, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x10, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
#endif |
|||
|
|||
static unsigned char icon_home[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x8f, 0x88, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x8f, 0x88, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x8f, 0xff, 0xf8, 0x8f, 0xf8, 0x8f, 0xff, 0xf8, 0x88, 0xf8, 0x88, |
|||
0x88, 0x8f, 0x88, 0xf8, 0xf8, 0x8f, 0x8f, 0x8f, 0x8f, 0x8f, 0x8f, 0x88, |
|||
0x88, 0x8f, 0x88, 0xf8, 0xf8, 0x8f, 0x8f, 0x8f, 0x8f, 0x8f, 0x88, 0x88, |
|||
0x88, 0x8f, 0x88, 0xf8, 0x8f, 0xf8, 0x8f, 0x8f, 0x8f, 0x88, 0xff, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_ni[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, |
|||
0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_1[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_2[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
|||
|
|||
static unsigned char icon_3[]={ |
|||
0x18, 0x00, 0x18, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xff, 0x88, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x8f, 0xf8, 0x88, 0x88, 0x88, 0x88, |
|||
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x88, |
|||
0x08, 0x88, 0x88, 0x88, 0x8f, 0xff, 0xff, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x08, 0x88, 0x88, 0x88, 0x88, 0xff, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x80, |
|||
0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, |
|||
0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, |
|||
0x00, 0x00, 0x08, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x80, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
@ -1,413 +0,0 @@ |
|||
/* md5.c - Functions to compute MD5 message digest of files or memory blocks
|
|||
according to the definition of MD5 in RFC 1321 from April 1992. |
|||
Copyright (C) 1995, 1996 Free Software Foundation, Inc. |
|||
NOTE: The canonical source of this file is maintained with the GNU C |
|||
Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. |
|||
|
|||
This program is free software; you can redistribute it and/or modify it |
|||
under the terms of the GNU General Public License as published by the |
|||
Free Software Foundation; either version 2, or (at your option) any |
|||
later version. |
|||
|
|||
This program is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
|
|||
You should have received a copy of the GNU General Public License |
|||
along with this program; if not, write to the Free Software Foundation, |
|||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
|||
|
|||
/* Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. */ |
|||
|
|||
#ifdef HAVE_CONFIG_H |
|||
# include <config.h> |
|||
#endif |
|||
|
|||
#include <sys/types.h> |
|||
|
|||
#include <stdlib.h> |
|||
#include <string.h> |
|||
|
|||
#include "md5.h" |
|||
|
|||
#ifdef HAVE_ENDIAN_H |
|||
# include <endian.h> |
|||
# if __BYTE_ORDER == __BIG_ENDIAN |
|||
# define WORDS_BIGENDIAN 1 |
|||
# endif |
|||
#endif |
|||
|
|||
#ifdef WORDS_BIGENDIAN |
|||
# define SWAP(n) \ |
|||
(((n) << 24) | (((n) & 0xff00) << 8) | (((n) >> 8) & 0xff00) | ((n) >> 24)) |
|||
#else |
|||
# define SWAP(n) (n) |
|||
#endif |
|||
|
|||
|
|||
/* This array contains the bytes used to pad the buffer to the next
|
|||
64-byte boundary. (RFC 1321, 3.1: Step 1) */ |
|||
static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ... */ }; |
|||
|
|||
|
|||
/* Initialize structure containing state of computation.
|
|||
(RFC 1321, 3.3: Step 3) */ |
|||
void |
|||
md5_init_ctx (ctx) |
|||
struct md5_ctx *ctx; |
|||
{ |
|||
ctx->A = 0x67452301; |
|||
ctx->B = 0xefcdab89; |
|||
ctx->C = 0x98badcfe; |
|||
ctx->D = 0x10325476; |
|||
|
|||
ctx->total[0] = ctx->total[1] = 0; |
|||
ctx->buflen = 0; |
|||
} |
|||
|
|||
/* Put result from CTX in first 16 bytes following RESBUF. The result
|
|||
must be in little endian byte order. |
|||
|
|||
IMPORTANT: On some systems it is required that RESBUF is correctly |
|||
aligned for a 32 bits value. */ |
|||
void * |
|||
md5_read_ctx (ctx, resbuf) |
|||
const struct md5_ctx *ctx; |
|||
void *resbuf; |
|||
{ |
|||
((md5_uint32 *) resbuf)[0] = SWAP (ctx->A); |
|||
((md5_uint32 *) resbuf)[1] = SWAP (ctx->B); |
|||
((md5_uint32 *) resbuf)[2] = SWAP (ctx->C); |
|||
((md5_uint32 *) resbuf)[3] = SWAP (ctx->D); |
|||
|
|||
return resbuf; |
|||
} |
|||
|
|||
/* Process the remaining bytes in the internal buffer and the usual
|
|||
prolog according to the standard and write the result to RESBUF. |
|||
|
|||
IMPORTANT: On some systems it is required that RESBUF is correctly |
|||
aligned for a 32 bits value. */ |
|||
void * |
|||
md5_finish_ctx (ctx, resbuf) |
|||
struct md5_ctx *ctx; |
|||
void *resbuf; |
|||
{ |
|||
/* Take yet unprocessed bytes into account. */ |
|||
md5_uint32 bytes = ctx->buflen; |
|||
size_t pad; |
|||
|
|||
/* Now count remaining bytes. */ |
|||
ctx->total[0] += bytes; |
|||
if (ctx->total[0] < bytes) |
|||
++ctx->total[1]; |
|||
|
|||
pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes; |
|||
memcpy (&ctx->buffer[bytes], fillbuf, pad); |
|||
|
|||
/* Put the 64-bit file length in *bits* at the end of the buffer. */ |
|||
*(md5_uint32 *) &ctx->buffer[bytes + pad] = SWAP (ctx->total[0] << 3); |
|||
*(md5_uint32 *) &ctx->buffer[bytes + pad + 4] = SWAP ((ctx->total[1] << 3) | |
|||
(ctx->total[0] >> 29)); |
|||
|
|||
/* Process last bytes. */ |
|||
md5_process_block (ctx->buffer, bytes + pad + 8, ctx); |
|||
|
|||
return md5_read_ctx (ctx, resbuf); |
|||
} |
|||
|
|||
/* Compute MD5 message digest for bytes read from STREAM. The
|
|||
resulting message digest number will be written into the 16 bytes |
|||
beginning at RESBLOCK. */ |
|||
int |
|||
md5_stream (stream, resblock) |
|||
FILE *stream; |
|||
void *resblock; |
|||
{ |
|||
/* Important: BLOCKSIZE must be a multiple of 64. */ |
|||
#define BLOCKSIZE 4096 |
|||
struct md5_ctx ctx; |
|||
char buffer[BLOCKSIZE + 72]; |
|||
size_t sum; |
|||
|
|||
/* Initialize the computation context. */ |
|||
md5_init_ctx (&ctx); |
|||
|
|||
/* Iterate over full file contents. */ |
|||
while (1) |
|||
{ |
|||
/* We read the file in blocks of BLOCKSIZE bytes. One call of the
|
|||
computation function processes the whole buffer so that with the |
|||
next round of the loop another block can be read. */ |
|||
size_t n; |
|||
sum = 0; |
|||
|
|||
/* Read block. Take care for partial reads. */ |
|||
do |
|||
{ |
|||
n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); |
|||
|
|||
sum += n; |
|||
} |
|||
while (sum < BLOCKSIZE && n != 0); |
|||
if (n == 0 && ferror (stream)) |
|||
return 1; |
|||
|
|||
/* If end of file is reached, end the loop. */ |
|||
if (n == 0) |
|||
break; |
|||
|
|||
/* Process buffer with BLOCKSIZE bytes. Note that
|
|||
BLOCKSIZE % 64 == 0 |
|||
*/ |
|||
md5_process_block (buffer, BLOCKSIZE, &ctx); |
|||
} |
|||
|
|||
/* Add the last bytes if necessary. */ |
|||
if (sum > 0) |
|||
md5_process_bytes (buffer, sum, &ctx); |
|||
|
|||
/* Construct result in desired memory. */ |
|||
md5_finish_ctx (&ctx, resblock); |
|||
return 0; |
|||
} |
|||
|
|||
/* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
|
|||
result is always in little endian byte order, so that a byte-wise |
|||
output yields to the wanted ASCII representation of the message |
|||
digest. */ |
|||
void * |
|||
md5_buffer (buffer, len, resblock) |
|||
const char *buffer; |
|||
size_t len; |
|||
void *resblock; |
|||
{ |
|||
struct md5_ctx ctx; |
|||
|
|||
/* Initialize the computation context. */ |
|||
md5_init_ctx (&ctx); |
|||
|
|||
/* Process whole buffer but last len % 64 bytes. */ |
|||
md5_process_bytes (buffer, len, &ctx); |
|||
|
|||
/* Put result in desired memory area. */ |
|||
return md5_finish_ctx (&ctx, resblock); |
|||
} |
|||
|
|||
|
|||
void |
|||
md5_process_bytes (buffer, len, ctx) |
|||
const void *buffer; |
|||
size_t len; |
|||
struct md5_ctx *ctx; |
|||
{ |
|||
/* When we already have some bits in our internal buffer concatenate
|
|||
both inputs first. */ |
|||
if (ctx->buflen != 0) |
|||
{ |
|||
size_t left_over = ctx->buflen; |
|||
size_t add = 128 - left_over > len ? len : 128 - left_over; |
|||
|
|||
memcpy (&ctx->buffer[left_over], buffer, add); |
|||
ctx->buflen += add; |
|||
|
|||
if (left_over + add > 64) |
|||
{ |
|||
md5_process_block (ctx->buffer, (left_over + add) & ~63, ctx); |
|||
/* The regions in the following copy operation cannot overlap. */ |
|||
memcpy (ctx->buffer, &ctx->buffer[(left_over + add) & ~63], |
|||
(left_over + add) & 63); |
|||
ctx->buflen = (left_over + add) & 63; |
|||
} |
|||
|
|||
buffer = (const char *) buffer + add; |
|||
len -= add; |
|||
} |
|||
|
|||
/* Process available complete blocks. */ |
|||
if (len > 64) |
|||
{ |
|||
md5_process_block (buffer, len & ~63, ctx); |
|||
buffer = (const char *) buffer + (len & ~63); |
|||
len &= 63; |
|||
} |
|||
|
|||
/* Move remaining bytes in internal buffer. */ |
|||
if (len > 0) |
|||
{ |
|||
memcpy (ctx->buffer, buffer, len); |
|||
ctx->buflen = len; |
|||
} |
|||
} |
|||
|
|||
|
|||
/* These are the four functions used in the four steps of the MD5 algorithm
|
|||
and defined in the RFC 1321. The first function is a little bit optimized |
|||
(as found in Colin Plumbs public domain implementation). */ |
|||
/* #define FF(b, c, d) ((b & c) | (~b & d)) */ |
|||
#define FF(b, c, d) (d ^ (b & (c ^ d))) |
|||
#define FG(b, c, d) FF (d, b, c) |
|||
#define FH(b, c, d) (b ^ c ^ d) |
|||
#define FI(b, c, d) (c ^ (b | ~d)) |
|||
|
|||
/* Process LEN bytes of BUFFER, accumulating context into CTX.
|
|||
It is assumed that LEN % 64 == 0. */ |
|||
|
|||
void |
|||
md5_process_block (buffer, len, ctx) |
|||
const void *buffer; |
|||
size_t len; |
|||
struct md5_ctx *ctx; |
|||
{ |
|||
md5_uint32 correct_words[16]; |
|||
const md5_uint32 *words = buffer; |
|||
size_t nwords = len / sizeof (md5_uint32); |
|||
const md5_uint32 *endp = words + nwords; |
|||
md5_uint32 A = ctx->A; |
|||
md5_uint32 B = ctx->B; |
|||
md5_uint32 C = ctx->C; |
|||
md5_uint32 D = ctx->D; |
|||
|
|||
/* First increment the byte count. RFC 1321 specifies the possible
|
|||
length of the file up to 2^64 bits. Here we only compute the |
|||
number of bytes. Do a double word increment. */ |
|||
ctx->total[0] += len; |
|||
if (ctx->total[0] < len) |
|||
++ctx->total[1]; |
|||
|
|||
/* Process all bytes in the buffer with 64 bytes in each round of
|
|||
the loop. */ |
|||
while (words < endp) |
|||
{ |
|||
md5_uint32 *cwp = correct_words; |
|||
md5_uint32 A_save = A; |
|||
md5_uint32 B_save = B; |
|||
md5_uint32 C_save = C; |
|||
md5_uint32 D_save = D; |
|||
|
|||
/* First round: using the given function, the context and a constant
|
|||
the next context is computed. Because the algorithms processing |
|||
unit is a 32-bit word and it is determined to work on words in |
|||
little endian byte order we perhaps have to change the byte order |
|||
before the computation. To reduce the work for the next steps |
|||
we store the swapped words in the array CORRECT_WORDS. */ |
|||
|
|||
#define OP(a, b, c, d, s, T) \ |
|||
do \ |
|||
{ \ |
|||
a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ |
|||
++words; \ |
|||
CYCLIC (a, s); \ |
|||
a += b; \ |
|||
} \ |
|||
while (0) |
|||
|
|||
/* It is unfortunate that C does not provide an operator for
|
|||
cyclic rotation. Hope the C compiler is smart enough. */ |
|||
#define CYCLIC(w, s) (w = (w << s) | (w >> (32 - s))) |
|||
|
|||
/* Before we start, one word to the strange constants.
|
|||
They are defined in RFC 1321 as |
|||
|
|||
T[i] = (int) (4294967296.0 * fabs (sin (i))), i=1..64 |
|||
*/ |
|||
|
|||
/* Round 1. */ |
|||
OP (A, B, C, D, 7, 0xd76aa478); |
|||
OP (D, A, B, C, 12, 0xe8c7b756); |
|||
OP (C, D, A, B, 17, 0x242070db); |
|||
OP (B, C, D, A, 22, 0xc1bdceee); |
|||
OP (A, B, C, D, 7, 0xf57c0faf); |
|||
OP (D, A, B, C, 12, 0x4787c62a); |
|||
OP (C, D, A, B, 17, 0xa8304613); |
|||
OP (B, C, D, A, 22, 0xfd469501); |
|||
OP (A, B, C, D, 7, 0x698098d8); |
|||
OP (D, A, B, C, 12, 0x8b44f7af); |
|||
OP (C, D, A, B, 17, 0xffff5bb1); |
|||
OP (B, C, D, A, 22, 0x895cd7be); |
|||
OP (A, B, C, D, 7, 0x6b901122); |
|||
OP (D, A, B, C, 12, 0xfd987193); |
|||
OP (C, D, A, B, 17, 0xa679438e); |
|||
OP (B, C, D, A, 22, 0x49b40821); |
|||
|
|||
/* For the second to fourth round we have the possibly swapped words
|
|||
in CORRECT_WORDS. Redefine the macro to take an additional first |
|||
argument specifying the function to use. */ |
|||
#undef OP |
|||
#define OP(f, a, b, c, d, k, s, T) \ |
|||
do \ |
|||
{ \ |
|||
a += f (b, c, d) + correct_words[k] + T; \ |
|||
CYCLIC (a, s); \ |
|||
a += b; \ |
|||
} \ |
|||
while (0) |
|||
|
|||
/* Round 2. */ |
|||
OP (FG, A, B, C, D, 1, 5, 0xf61e2562); |
|||
OP (FG, D, A, B, C, 6, 9, 0xc040b340); |
|||
OP (FG, C, D, A, B, 11, 14, 0x265e5a51); |
|||
OP (FG, B, C, D, A, 0, 20, 0xe9b6c7aa); |
|||
OP (FG, A, B, C, D, 5, 5, 0xd62f105d); |
|||
OP (FG, D, A, B, C, 10, 9, 0x02441453); |
|||
OP (FG, C, D, A, B, 15, 14, 0xd8a1e681); |
|||
OP (FG, B, C, D, A, 4, 20, 0xe7d3fbc8); |
|||
OP (FG, A, B, C, D, 9, 5, 0x21e1cde6); |
|||
OP (FG, D, A, B, C, 14, 9, 0xc33707d6); |
|||
OP (FG, C, D, A, B, 3, 14, 0xf4d50d87); |
|||
OP (FG, B, C, D, A, 8, 20, 0x455a14ed); |
|||
OP (FG, A, B, C, D, 13, 5, 0xa9e3e905); |
|||
OP (FG, D, A, B, C, 2, 9, 0xfcefa3f8); |
|||
OP (FG, C, D, A, B, 7, 14, 0x676f02d9); |
|||
OP (FG, B, C, D, A, 12, 20, 0x8d2a4c8a); |
|||
|
|||
/* Round 3. */ |
|||
OP (FH, A, B, C, D, 5, 4, 0xfffa3942); |
|||
OP (FH, D, A, B, C, 8, 11, 0x8771f681); |
|||
OP (FH, C, D, A, B, 11, 16, 0x6d9d6122); |
|||
OP (FH, B, C, D, A, 14, 23, 0xfde5380c); |
|||
OP (FH, A, B, C, D, 1, 4, 0xa4beea44); |
|||
OP (FH, D, A, B, C, 4, 11, 0x4bdecfa9); |
|||
OP (FH, C, D, A, B, 7, 16, 0xf6bb4b60); |
|||
OP (FH, B, C, D, A, 10, 23, 0xbebfbc70); |
|||
OP (FH, A, B, C, D, 13, 4, 0x289b7ec6); |
|||
OP (FH, D, A, B, C, 0, 11, 0xeaa127fa); |
|||
OP (FH, C, D, A, B, 3, 16, 0xd4ef3085); |
|||
OP (FH, B, C, D, A, 6, 23, 0x04881d05); |
|||
OP (FH, A, B, C, D, 9, 4, 0xd9d4d039); |
|||
OP (FH, D, A, B, C, 12, 11, 0xe6db99e5); |
|||
OP (FH, C, D, A, B, 15, 16, 0x1fa27cf8); |
|||
OP (FH, B, C, D, A, 2, 23, 0xc4ac5665); |
|||
|
|||
/* Round 4. */ |
|||
OP (FI, A, B, C, D, 0, 6, 0xf4292244); |
|||
OP (FI, D, A, B, C, 7, 10, 0x432aff97); |
|||
OP (FI, C, D, A, B, 14, 15, 0xab9423a7); |
|||
OP (FI, B, C, D, A, 5, 21, 0xfc93a039); |
|||
OP (FI, A, B, C, D, 12, 6, 0x655b59c3); |
|||
OP (FI, D, A, B, C, 3, 10, 0x8f0ccc92); |
|||
OP (FI, C, D, A, B, 10, 15, 0xffeff47d); |
|||
OP (FI, B, C, D, A, 1, 21, 0x85845dd1); |
|||
OP (FI, A, B, C, D, 8, 6, 0x6fa87e4f); |
|||
OP (FI, D, A, B, C, 15, 10, 0xfe2ce6e0); |
|||
OP (FI, C, D, A, B, 6, 15, 0xa3014314); |
|||
OP (FI, B, C, D, A, 13, 21, 0x4e0811a1); |
|||
OP (FI, A, B, C, D, 4, 6, 0xf7537e82); |
|||
OP (FI, D, A, B, C, 11, 10, 0xbd3af235); |
|||
OP (FI, C, D, A, B, 2, 15, 0x2ad7d2bb); |
|||
OP (FI, B, C, D, A, 9, 21, 0xeb86d391); |
|||
|
|||
/* Add the starting values of the context. */ |
|||
A += A_save; |
|||
B += B_save; |
|||
C += C_save; |
|||
D += D_save; |
|||
} |
|||
|
|||
/* Put checksum in context given as argument. */ |
|||
ctx->A = A; |
|||
ctx->B = B; |
|||
ctx->C = C; |
|||
ctx->D = D; |
|||
} |
@ -1,146 +0,0 @@ |
|||
/* md5.h - Declaration of functions and data types used for MD5 sum
|
|||
computing library functions. |
|||
Copyright (C) 1995, 1996 Free Software Foundation, Inc. |
|||
NOTE: The canonical source of this file is maintained with the GNU C |
|||
Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. |
|||
|
|||
This program is free software; you can redistribute it and/or modify it |
|||
under the terms of the GNU General Public License as published by the |
|||
Free Software Foundation; either version 2, or (at your option) any |
|||
later version. |
|||
|
|||
This program is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
|
|||
You should have received a copy of the GNU General Public License |
|||
along with this program; if not, write to the Free Software Foundation, |
|||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
|||
|
|||
#ifndef _MD5_H |
|||
#define _MD5_H 1 |
|||
|
|||
#include <stdio.h> |
|||
|
|||
#if defined HAVE_LIMITS_H || _LIBC |
|||
# include <limits.h> |
|||
#endif |
|||
|
|||
/* The following contortions are an attempt to use the C preprocessor
|
|||
to determine an unsigned integral type that is 32 bits wide. An |
|||
alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but |
|||
doing that would require that the configure script compile and *run* |
|||
the resulting executable. Locally running cross-compiled executables |
|||
is usually not possible. */ |
|||
|
|||
#ifdef _LIBC |
|||
# include <sys/types.h> |
|||
typedef u_int32_t md5_uint32; |
|||
#else |
|||
# if defined __STDC__ && __STDC__ |
|||
# define UINT_MAX_32_BITS 4294967295U |
|||
# else |
|||
# define UINT_MAX_32_BITS 0xFFFFFFFF |
|||
# endif |
|||
|
|||
/* If UINT_MAX isn't defined, assume it's a 32-bit type.
|
|||
This should be valid for all systems GNU cares about because |
|||
that doesn't include 16-bit systems, and only modern systems |
|||
(that certainly have <limits.h>) have 64+-bit integral types. */ |
|||
|
|||
# ifndef UINT_MAX |
|||
# define UINT_MAX UINT_MAX_32_BITS |
|||
# endif |
|||
|
|||
# if UINT_MAX == UINT_MAX_32_BITS |
|||
typedef unsigned int md5_uint32; |
|||
# else |
|||
# if USHRT_MAX == UINT_MAX_32_BITS |
|||
typedef unsigned short md5_uint32; |
|||
# else |
|||
# if ULONG_MAX == UINT_MAX_32_BITS |
|||
typedef unsigned long md5_uint32; |
|||
# else |
|||
/* The following line is intended to evoke an error.
|
|||
Using #error is not portable enough. */ |
|||
"Cannot determine unsigned 32-bit data type." |
|||
# endif |
|||
# endif |
|||
# endif |
|||
#endif |
|||
|
|||
#undef __P |
|||
#if defined (__STDC__) && __STDC__ |
|||
#define __P(x) x |
|||
#else |
|||
#define __P(x) () |
|||
#endif |
|||
|
|||
/* Structure to save state of computation between the single steps. */ |
|||
struct md5_ctx |
|||
{ |
|||
md5_uint32 A; |
|||
md5_uint32 B; |
|||
md5_uint32 C; |
|||
md5_uint32 D; |
|||
|
|||
md5_uint32 total[2]; |
|||
md5_uint32 buflen; |
|||
char buffer[128]; |
|||
}; |
|||
|
|||
/*
|
|||
* The following three functions are build up the low level used in |
|||
* the functions `md5_stream' and `md5_buffer'. |
|||
*/ |
|||
|
|||
/* Initialize structure containing state of computation.
|
|||
(RFC 1321, 3.3: Step 3) */ |
|||
extern void md5_init_ctx __P ((struct md5_ctx *ctx)); |
|||
|
|||
/* Starting with the result of former calls of this function (or the
|
|||
initialization function update the context for the next LEN bytes |
|||
starting at BUFFER. |
|||
It is necessary that LEN is a multiple of 64!!! */ |
|||
extern void md5_process_block __P ((const void *buffer, size_t len, |
|||
struct md5_ctx *ctx)); |
|||
|
|||
/* Starting with the result of former calls of this function (or the
|
|||
initialization function update the context for the next LEN bytes |
|||
starting at BUFFER. |
|||
It is NOT required that LEN is a multiple of 64. */ |
|||
extern void md5_process_bytes __P ((const void *buffer, size_t len, |
|||
struct md5_ctx *ctx)); |
|||
|
|||
/* Process the remaining bytes in the buffer and put result from CTX
|
|||
in first 16 bytes following RESBUF. The result is always in little |
|||
endian byte order, so that a byte-wise output yields to the wanted |
|||
ASCII representation of the message digest. |
|||
|
|||
IMPORTANT: On some systems it is required that RESBUF is correctly |
|||
aligned for a 32 bits value. */ |
|||
extern void *md5_finish_ctx __P ((struct md5_ctx *ctx, void *resbuf)); |
|||
|
|||
|
|||
/* Put result from CTX in first 16 bytes following RESBUF. The result is
|
|||
always in little endian byte order, so that a byte-wise output yields |
|||
to the wanted ASCII representation of the message digest. |
|||
|
|||
IMPORTANT: On some systems it is required that RESBUF is correctly |
|||
aligned for a 32 bits value. */ |
|||
extern void *md5_read_ctx __P ((const struct md5_ctx *ctx, void *resbuf)); |
|||
|
|||
|
|||
/* Compute MD5 message digest for bytes read from STREAM. The
|
|||
resulting message digest number will be written into the 16 bytes |
|||
beginning at RESBLOCK. */ |
|||
extern int md5_stream __P ((FILE *stream, void *resblock)); |
|||
|
|||
/* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
|
|||
result is always in little endian byte order, so that a byte-wise |
|||
output yields to the wanted ASCII representation of the message |
|||
digest. */ |
|||
extern void *md5_buffer __P ((const char *buffer, size_t len, void *resblock)); |
|||
|
|||
#endif |
File diff suppressed because it is too large
@ -1,3 +0,0 @@ |
|||
type=2 |
|||
name=DOSCam-Monitor |
|||
desc=DOSCam-Monitor |
@ -1,4 +0,0 @@ |
|||
smallfont=0 |
|||
startwithip=0 |
|||
hidemonitor=1 |
|||
server=oscammon://monitor:monitor@127.0.0.1:988?label=DOSCam |
@ -1,432 +0,0 @@ |
|||
/******************************************************************************
|
|||
* <<< MPCSMon - Monitor for MPCS >>> (w) by dukat 2006 |
|||
* |
|||
* DEZ 2010 - FlatTV - MPCSMON goes to OSCAMMON on Coolstream |
|||
******************************************************************************/ |
|||
#define MPCSMON_DREAM_7025 |
|||
#define MPCSMON_FB_32BPP |
|||
|
|||
#define CFGFILE "/var/tuxbox/config/oscammon.conf" |
|||
|
|||
#include <errno.h> |
|||
#include <fcntl.h> |
|||
#include <signal.h> |
|||
#include <stdio.h> |
|||
#include <stdlib.h> |
|||
#include <stdarg.h> |
|||
#include <string.h> |
|||
#include <ctype.h> |
|||
#include <unistd.h> |
|||
#include <linux/fb.h> |
|||
#include <sys/ioctl.h> |
|||
#include <sys/mman.h> |
|||
#include <sys/socket.h> |
|||
#include <sys/un.h> |
|||
#include <sys/types.h> |
|||
#include <sys/stat.h> |
|||
#include <netinet/in.h> |
|||
#include <netdb.h> |
|||
#include <time.h> |
|||
|
|||
#include <ft2build.h> |
|||
#include FT_FREETYPE_H |
|||
#include FT_CACHE_H |
|||
#include FT_CACHE_SMALL_BITMAPS_H |
|||
|
|||
#include <linux/input.h> |
|||
struct input_event ev; |
|||
|
|||
#define RC_0 '0' |
|||
#define RC_1 '1' |
|||
#define RC_2 '2' |
|||
#define RC_3 '3' |
|||
#define RC_4 '4' |
|||
#define RC_5 '5' |
|||
#define RC_6 '6' |
|||
#define RC_7 '7' |
|||
#define RC_8 '8' |
|||
#define RC_9 '9' |
|||
|
|||
#define RC_RIGHT 0x0191 |
|||
#define RC_LEFT 0x0192 |
|||
#define RC_UP 0x0193 |
|||
#define RC_DOWN 0x0194 |
|||
#define RC_PLUS 0x0195 |
|||
#define RC_MINUS 0x0196 |
|||
|
|||
#define RC_OK 0x0D |
|||
#define RC_STANDBY 0x1C |
|||
#define RC_ESC RC_HOME |
|||
|
|||
#define RC_HOME 0x01B1 |
|||
#define RC_MUTE 0x01B2 |
|||
#define RC_HELP 0x01B3 |
|||
#define RC_DBOX 0x01B4 |
|||
#define RC_INFO RC_HELP |
|||
|
|||
#define RC_GREEN 0x01A1 |
|||
#define RC_YELLOW 0x01A2 |
|||
#define RC_RED 0x01A3 |
|||
#define RC_BLUE 0x01A4 |
|||
|
|||
#define RC_PAUSE RC_HELP |
|||
#define RC_ALTGR 0x12 |
|||
#define RC_BS 0x7F |
|||
#define RC_POS1 RC_HOME |
|||
#define RC_END 0x13 |
|||
#define RC_INS 0x10 |
|||
#define RC_ENTF 0x11 |
|||
#define RC_STRG 0x00 |
|||
#define RC_LSHIFT 0x0E |
|||
#define RC_RSHIFT 0x0E |
|||
#define RC_ALT 0x0F |
|||
#define RC_NUM RC_DBOX |
|||
#define RC_ROLLEN 0x00 |
|||
#define RC_F5 RC_DBOX |
|||
#define RC_F6 RC_HELP |
|||
#define RC_F7 RC_MUTE |
|||
#define RC_F8 0x01C8 |
|||
#define RC_F9 0x01C9 |
|||
#define RC_F10 0x01CA |
|||
#define RC_RET 0x0D |
|||
#define RC_RET1 0x01CC |
|||
#define RC_CAPSLOCK 0x01CD |
|||
#define RC_ON 0x01CE |
|||
|
|||
#define RC_F1 RC_RED |
|||
#define RC_F2 RC_GREEN |
|||
#define RC_F3 RC_YELLOW |
|||
#define RC_F4 RC_BLUE |
|||
#define RC_PAGEUP RC_PLUS |
|||
#define RC_PAGEDOWN RC_MINUS |
|||
|
|||
//#define RC_PAUSE 0x77
|
|||
#define RC_STOP 0x80 |
|||
#define RC_TIME 0x8B |
|||
#define RC_FORWARD 0x9F |
|||
#define RC_REWIND 0xA8 |
|||
#define RC_PLAY 0xCF |
|||
|
|||
//freetype stuff
|
|||
|
|||
#define FONT "/share/fonts/pakenham.ttf" |
|||
|
|||
enum {LEFT, CENTER, RIGHT}; |
|||
enum {SMALL, BIG}; |
|||
|
|||
//framebuffer stuff
|
|||
static struct fb_fix_screeninfo fix_screeninfo; |
|||
static struct fb_var_screeninfo var_screeninfo; |
|||
|
|||
enum {FILL, GRID}; |
|||
enum {TRANSP, |
|||
BLACK, RED , GREEN , BROWN , BLUE , MAGENTA , CYAN , B_GRAY, |
|||
GRAY , B_RED, B_GREEN, YELLOW, B_BLUE, B_MAGENTA, B_CYAN, WHITE , |
|||
BLUE0, BLUE1, BLUE2, BLUE3, ORANGE, NGDARK, L_NGDARK}; |
|||
|
|||
static unsigned char bgra[][4] = { |
|||
"\x00\x00\x00\x00","\x00\x00\x00\xFF","\x00\x00\x80\xFF","\x00\x80\x00\xFF", |
|||
"\x00\x48\xA0\xFF","\x80\x00\x00\xFF","\x80\x00\x80\xFF","\x80\x80\x00\xFF", |
|||
"\xA0\xA0\xA0\xFF","\x50\x50\x50\xFF","\x00\x00\xFF\xFF","\x00\xFF\x00\xFF", |
|||
"\x00\xFF\xFF\xFF","\xFF\x00\x00\xFF","\xFF\x00\xFF\xFF","\xFF\xFF\x00\xFF", |
|||
"\xFF\xFF\xFF\xFF","\xFF\x80\x00\xF0","\x80\x00\x00\xF0","\xFF\x80\x00\xFF", |
|||
"\x40\x20\x00\xFF","\x00\xC0\xFF\xFF","\x0C\x0C\x0C\xF7","\x10\x10\x10\xF7" |
|||
}; |
|||
|
|||
char circle[] = |
|||
{ |
|||
0,0,0,0,0,9,9,9,9,9,0,0,0,0,0, |
|||
0,0,0,9,9,9,9,9,9,9,9,9,0,0,0, |
|||
0,0,9,9,9,1,1,1,1,1,9,9,9,0,0, |
|||
0,9,9,1,1,1,1,1,1,1,1,1,9,9,0, |
|||
0,9,9,1,1,1,1,1,1,1,1,1,9,9,0, |
|||
9,9,1,1,1,1,1,1,1,1,1,1,1,9,9, |
|||
9,9,1,1,1,1,1,1,1,1,1,1,1,9,9, |
|||
9,9,1,1,1,1,1,1,1,1,1,1,1,9,9, |
|||
9,9,1,1,1,1,1,1,1,1,1,1,1,9,9, |
|||
9,9,1,1,1,1,1,1,1,1,1,1,1,9,9, |
|||
0,9,9,1,1,1,1,1,1,1,1,1,9,9,0, |
|||
0,9,9,1,1,1,1,1,1,1,1,1,9,9,0, |
|||
0,0,9,9,9,1,1,1,1,1,9,9,9,0,0, |
|||
0,0,0,9,9,9,9,9,9,9,9,9,0,0,0, |
|||
0,0,0,0,0,9,9,9,9,9,0,0,0,0,0 |
|||
}; |
|||
|
|||
#ifdef NOT_USED_YET |
|||
char scroll_up[] = |
|||
{ |
|||
BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, |
|||
BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, |
|||
BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, |
|||
WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, |
|||
WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE |
|||
}; |
|||
|
|||
char scroll_dn[] = |
|||
{ |
|||
WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, |
|||
WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, |
|||
BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, |
|||
BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, |
|||
BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, |
|||
BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, WHITE, WHITE, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1, BLUE1 |
|||
}; |
|||
|
|||
//lcd stuff
|
|||
|
|||
unsigned char lcd_buffer[] = |
|||
{ |
|||
0xE0, 0xF8, 0xFC, 0xFE, 0xFE, 0xFF, 0x7F, 0x7F, 0x7F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F, 0xFF, 0xFF, 0xFF, 0xC7, 0xBB, 0x3B, 0xFB, 0xFB, 0x3B, 0x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F, 0x7F, 0x7F, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7F, 0x7F, 0xFF, |
|||
0xFF, 0x00, 0x00, 0x00, 0xF8, 0xFC, 0x04, 0xFC, 0xF8, 0x00, 0xFC, 0xFC, 0x30, 0x60, 0xFC, 0xFC, 0x00, 0xFC, 0xFC, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x40, 0xC0, 0x00, 0xC0, 0x40, 0xC0, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x30, 0xE0, 0x00, 0x00, 0x00, 0xFE, 0x00, 0x00, 0x00, 0xE0, 0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x30, 0xE0, 0x00, 0x00, 0x00, 0xE0, 0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x30, 0xE0, 0x00, 0x00, 0x00, 0xC0, 0x20, 0x20, 0x20, 0x20, 0xC0, 0x00, 0x00, 0x00, 0xE0, 0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x30, 0xE0, 0x00, 0x00, 0x00, 0xE0, 0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x30, 0xE0, 0x00, 0x00, 0x00, 0xFF, |
|||
0xFF, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x80, 0xC0, 0xE1, 0x31, 0x18, 0x09, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x77, 0x55, 0xDD, 0x00, 0xDD, 0x55, 0xDD, 0x00, 0xDD, 0x55, 0x77, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xE3, 0x14, 0x14, 0x14, 0x14, 0xE3, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, |
|||
0xFF, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x81, 0x83, 0x9F, 0x9E, 0x8F, 0x87, 0x81, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0xFF, 0x80, 0x80, 0x80, 0x80, 0x80, 0x81, 0x81, 0x81, 0x80, 0x81, 0x81, 0x81, 0x80, 0x80, 0x80, 0x80, 0x83, 0x86, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x86, 0x83, 0x80, 0x80, 0x80, 0xFF, 0x80, 0x80, 0x80, 0x83, 0x86, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x86, 0x83, 0x80, 0x80, 0x80, 0x83, 0x86, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x86, 0x83, 0x80, 0x80, 0x80, 0x81, 0x82, 0x82, 0x82, 0x82, 0x81, 0x80, 0x80, 0x80, 0x83, 0x86, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x86, 0x83, 0x80, 0x80, 0x80, 0x83, 0x86, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x86, 0x83, 0x80, 0x00, 0x00, 0xFF, |
|||
0xFF, 0x00, 0x00, 0x00, 0xE0, 0x60, 0x60, 0xA0, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0xA0, 0x60, 0x60, 0xE0, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x30, 0xE0, 0x00, 0x00, 0x00, 0xE0, 0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x30, 0xE0, 0x00, 0x00, 0x00, 0xE0, 0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x30, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x10, 0x10, 0x10, 0x10, 0xE0, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x30, 0xE0, 0x00, 0x00, 0x00, 0xE0, 0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x30, 0xE0, 0x00, 0x00, 0x00, 0xE0, 0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x30, 0xE0, 0x00, 0x00, 0x00, 0xFF, |
|||
0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x80, 0x40, 0x21, 0x11, 0x0A, 0x06, 0x04, 0x08, 0x08, 0x04, 0x06, 0x0A, 0x11, 0x21, 0x40, 0x80, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x3E, 0x01, 0x00, 0x00, 0xC0, 0x3E, 0x01, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, |
|||
0x07, 0x18, 0x20, 0x40, 0x43, 0x83, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x83, 0x83, 0x80, 0x80, 0x80, 0x80, 0x83, 0x86, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x86, 0x83, 0x80, 0x80, 0x80, 0x83, 0x86, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x86, 0x83, 0x80, 0x80, 0x80, 0x83, 0x86, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x86, 0x83, 0x80, 0x80, 0x80, 0x80, 0x83, 0x84, 0x84, 0x84, 0x84, 0x83, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x83, 0x86, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x86, 0x83, 0x80, 0x80, 0x80, 0x83, 0x86, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x86, 0x83, 0x80, 0x80, 0x80, 0x83, 0x86, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x86, 0x43, 0x40, 0x20, 0x18, 0x07 |
|||
}; |
|||
|
|||
char lcd_status[] = |
|||
{ |
|||
1,1,1,1,0,0,1,1,1,1,1,0,1,1,0,1,1, /* PAU */ |
|||
1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1, |
|||
1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1, |
|||
1,1,1,1,0,0,1,1,1,1,1,0,1,1,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
0,0,0,0,1,1,0,0,1,1, |
|||
0,0,0,0,0,1,1,1,1,0, |
|||
|
|||
0,1,1,1,1,1,1,1,1,0, |
|||
1,1,0,0,0,0,0,0,1,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,0,0,0,1,1,0,0,0,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,1,0,0,0,0,0,0,1,1, |
|||
0,1,1,0,0,0,0,1,1,0, |
|||
1,1,0,0,0,0,0,0,1,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,0,0,0,1,1,0,0,0,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,1,0,0,0,0,0,0,1,1, |
|||
0,1,1,1,1,1,1,1,1,0, |
|||
|
|||
0,1,1,1,1,1,1,1,1,0, |
|||
1,1,0,0,0,0,0,0,1,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,0,0,0,1,1,0,0,0,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,1,0,0,0,0,0,0,0,1, |
|||
0,1,1,1,1,0,0,0,0,1, |
|||
1,1,0,0,0,0,0,0,0,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,0,0,0,0,0,0,0,0,1, |
|||
1,1,0,0,0,0,0,0,1,1, |
|||
0,1,1,1,1,1,1,1,1,0, |
|||
}; |
|||
|
|||
#endif |
Before Width: | Height: | Size: 1.5 KiB |
@ -1,54 +0,0 @@ |
|||
/*
|
|||
* $Id$ |
|||
* |
|||
* shellexec - d-box2 linux project |
|||
* |
|||
* This program is free software; you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation; either version 2 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License along |
|||
* with this program; if not, write to the Free Software Foundation, Inc., |
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|||
* |
|||
*/ |
|||
|
|||
#include <stdio.h> |
|||
#include <stdlib.h> |
|||
#include <unistd.h> |
|||
#include <sys/wait.h> |
|||
#include <plugin.h> |
|||
#define SCRIPT "oscammon" |
|||
|
|||
int main() |
|||
{ |
|||
int ret, pid, status; |
|||
pid=vfork(); |
|||
if (pid == -1) { |
|||
fprintf(stderr, "[%s.so] vfork\n", SCRIPT); |
|||
return; |
|||
} else |
|||
if (pid == 0) { |
|||
fprintf(stderr, "[%s.so] forked, executing %s\n", SCRIPT, SCRIPT); |
|||
for (ret=3 ; ret < 255; ret++) |
|||
close (ret); |
|||
ret = execlp(SCRIPT, SCRIPT, NULL); |
|||
if (ret) |
|||
fprintf(stderr, "[%s.so] script return code: %d (%m)\n", SCRIPT, ret); |
|||
else |
|||
fprintf(stderr, "[%s.so] script return code: %d\n", SCRIPT, ret); |
|||
_exit(ret); |
|||
} |
|||
fprintf(stderr, "[%s.so] parent, waiting for child with pid %d...\n", SCRIPT, pid); |
|||
waitpid(pid, &status, 0); |
|||
fprintf(stderr, "[%s.so] parent, waitpid() returned..\n", SCRIPT); |
|||
if (WIFEXITED(status)) |
|||
fprintf(stderr, "[%s.so] child returned with status %d\n", SCRIPT, WEXITSTATUS(status)); |
|||
return (status); |
|||
} |
Loading…
Reference in new issue