Changeset 18302


Ignore:
Timestamp:
10/19/12 18:36:28 (11 years ago)
Author:
nit
Message:

[titan] add unicable assistent

Location:
titan/titan
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/header.h

    r18216 r18302  
    1212void screensystem_infos_sysinfo(int mode);
    1313
    14 char* gethttpreal(char* host, char* page, int port, char* filename, char* auth, struct download* dnode, int redirect, char* header, long* clen);
    15 int sockreceive(int *fd, unsigned char* data, int count, int timeout);
     14//unicable.h
     15void screenunicable(struct skin* loftype, struct skin* lofl, struct skin* lofh, struct skin* satcr, struct skin* satcrfrequ2)
    1616
    1717//rc4.h
  • titan/titan/lnbconfig.h

    r16511 r18302  
    193193                }
    194194
     195                if(rcret == getrcconfigint("rcred", NULL))
     196                {
     197                        screenunicable(loftype, lofl, lofh, satcr, satcrfrequ2);
     198                        changeloftype(lofl, lofh, threshold, satcr, satcrfrequ1, satcrfrequ2, loftype->ret);
     199                }
     200
    195201                addconfigscreentmpcheck(voltagemode->name, voltagemode, "0");
    196202                addconfigscreentmpcheck(tonemode->name, tonemode, "0");
  • titan/titan/menulist.h

    r16982 r18302  
    7878
    7979        free(tmpstr); tmpstr = NULL;
     80}
     81
     82struct menulist* getmenulist(struct menulist* mlist, char* name)
     83{
     84        while(mlist != NULL)
     85        {
     86                if(ostrcmp(name, mlist->name) == 0)
     87                        return mlist;
     88                mlist = mlist->next;
     89        }
     90        return NULL;
    8091}
    8192
  • titan/titan/struct.h

    r18271 r18302  
    189189enum {FUNCTEXT, FUNCPIC, FUNCPROGRESS};
    190190enum {CASESSIONCREATE, CASESSIONBUSY, CASESSIONDEL, CASESSIONSTART, CASESSIONFINAL, CARESFIRSTENQUIRY, CARESCHANGE, CARESENQUIRY, CADATETIMESEND, CAMMIIDLE, CAMMIDISPLAYREPLAY, CAMMIFAKEOK};
     191
     192struct unicable
     193{
     194        char* manufacturer;
     195        char* product;
     196        int scr1;
     197        int scr2;
     198        int scr3;
     199        int scr4;
     200        int scr5;
     201        int scr6;
     202        int scr7;
     203        int scr8;
     204        int lofl;
     205        int lofh;
     206        struct unicable* next;
     207        struct unicable* prev;
     208};
    191209
    192210struct id3tag
  • titan/titan/titan.c

    r18291 r18302  
    4646struct mediadb* mediadb = NULL;
    4747struct mediadbcache* mediadbcache[MEDIADBCACHEMAX] = {NULL};
     48struct unicable* unicable = NULL;
    4849
    4950#ifdef SH4
     
    206207#include "system_infos.h"
    207208#include "system_infos_sysinfo.h"
     209#include "unicable.h"
    208210
    209211//#include "cardreader.h"
Note: See TracChangeset for help on using the changeset viewer.