[18190] | 1 | /*****************************************************/ |
---|
| 2 | /* this file is part of the tiTan / tiTanNIT Project */ |
---|
| 3 | /* and allowed only for use with this. */ |
---|
| 4 | /* */ |
---|
| 5 | /* copyright by NIT */ |
---|
| 6 | /*****************************************************/ |
---|
| 7 | |
---|
| 8 | #ifndef HEADER_H |
---|
| 9 | #define HEADER_H |
---|
| 10 | |
---|
[24422] | 11 | //infobar.h |
---|
| 12 | void screeninfobar(); |
---|
| 13 | |
---|
[23307] | 14 | //copyfile.h |
---|
| 15 | int screencopy(char* title, char* from, char* to, int flag); |
---|
| 16 | |
---|
[22772] | 17 | //httpdfunc.h |
---|
| 18 | char* webrectimersend(char* param, int fmt); |
---|
| 19 | |
---|
[22484] | 20 | //hwtest.h |
---|
| 21 | void screenhwtest(); |
---|
| 22 | |
---|
[22369] | 23 | //colorpicker.h |
---|
[22387] | 24 | char* screencolorpicker(char* color, int screencalc, int filelistview, int flag); |
---|
[22369] | 25 | |
---|
[22354] | 26 | //epgscanlist.h |
---|
| 27 | struct epgscanlist* addepgscanlist(char *line, int count, struct epgscanlist* last); |
---|
| 28 | |
---|
[22302] | 29 | //channelslot.h |
---|
| 30 | int writechannelslot(char *filename); |
---|
| 31 | int delchannelslot(int serviceid, uint64_t transponderid); |
---|
| 32 | struct channelslot* addchannelslot(char *line, int count, struct channelslot* last); |
---|
[22328] | 33 | struct channelslot* getchannelslot(int serviceid, uint64_t transponderid); |
---|
[22302] | 34 | |
---|
[21302] | 35 | //fancontrol.h |
---|
| 36 | void screenpanel_settings_fancontrol(); |
---|
| 37 | |
---|
[21300] | 38 | //pip.h |
---|
| 39 | int pipstop(struct service *node, int flag); |
---|
| 40 | int pipstart(struct channel* chnode, char* pin, int flag); |
---|
| 41 | |
---|
[20860] | 42 | //bgdownload.h |
---|
| 43 | void screenbgdownload(); |
---|
[20952] | 44 | int startbgdownload(char* host, char* page, int port, char* filename, char* auth, int timeout, int flag); |
---|
[20860] | 45 | |
---|
[20768] | 46 | //log.h |
---|
| 47 | void screenlog(); |
---|
| 48 | |
---|
[20407] | 49 | //timeshiftsettings.h |
---|
| 50 | void screentimeshiftsettings(); |
---|
| 51 | |
---|
[19328] | 52 | //tpchoice.h |
---|
| 53 | struct transponder* tpchoicescreen(int orbitalpos, int flag); |
---|
| 54 | |
---|
[19313] | 55 | //extepg.h |
---|
[19323] | 56 | int readmhw(struct stimerthread* self, struct channel* chnode, struct dvbdev* fenode, int flag); |
---|
| 57 | int readmhw2(struct stimerthread* self, struct channel* chnode, struct dvbdev* fenode, int flag); |
---|
| 58 | int readopentv(struct stimerthread* self, struct channel* chnode, struct dvbdev* fenode, int flag); |
---|
[19261] | 59 | |
---|
[18947] | 60 | //mediadbedit.h |
---|
[18991] | 61 | void screenmediadbedit(char* file, int id, int flag); |
---|
[18947] | 62 | |
---|
[18838] | 63 | //shortepg.h |
---|
| 64 | void screenshortepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
| 65 | |
---|
| 66 | //dirsort.h |
---|
| 67 | int screendirsort(); |
---|
| 68 | |
---|
[19454] | 69 | // newsletter.h |
---|
[18767] | 70 | void screennewsletter(); |
---|
[19454] | 71 | void newsletterthreadfunc(struct stimerthread* self); |
---|
[18767] | 72 | |
---|
[18672] | 73 | //oldentry.h |
---|
[22573] | 74 | struct oldentry* addoldentry(void* entry, int type, time_t del, struct oldentry* last); |
---|
[18672] | 75 | void deloldentry(struct oldentry *entry, int flag); |
---|
| 76 | |
---|
[18663] | 77 | //id3.h |
---|
| 78 | struct id3tag* getid3(char* file, char* id, int flag); |
---|
[18674] | 79 | void freeid3(struct id3tag* node); |
---|
[18663] | 80 | |
---|
[18403] | 81 | //sh4port.h and other ports |
---|
| 82 | int videodiscontinuityskip(struct dvbdev* node, int flag); |
---|
| 83 | |
---|
| 84 | //system_infos.h |
---|
[18190] | 85 | void screensystem_infos(int mode); |
---|
[18403] | 86 | |
---|
| 87 | //system_infos_sysinfo.h |
---|
[18190] | 88 | void screensystem_infos_sysinfo(int mode); |
---|
| 89 | |
---|
[18403] | 90 | //textinputhist.h |
---|
| 91 | char* textinputhist(char* title, char* text, char* histname); |
---|
| 92 | |
---|
[18302] | 93 | //unicable.h |
---|
[18311] | 94 | void screenunicable(struct skin* loftype, struct skin* lofl, struct skin* lofh, struct skin* satcr, struct skin* satcrfrequ2); |
---|
[18190] | 95 | |
---|
| 96 | //rc4.h |
---|
| 97 | void rc4(char *data, size_t dlen, char *key, size_t klen); |
---|
| 98 | |
---|
| 99 | //md5.h |
---|
| 100 | char* MDString (char *string); |
---|
| 101 | char* MDFile (char *string); |
---|
| 102 | char* MDPrint (unsigned char digest[16]); |
---|
| 103 | |
---|
| 104 | //unlock.h |
---|
| 105 | void screenunlock(); |
---|
| 106 | |
---|
| 107 | //serial.h |
---|
| 108 | void screenserial(); |
---|
| 109 | |
---|
| 110 | //ocrypt.h |
---|
| 111 | unsigned char* oencrypt(char* pw, char* buf, int len); |
---|
| 112 | unsigned char* odecrypt(char* pw, char* buf, int len); |
---|
| 113 | |
---|
| 114 | //mediadbcache.h |
---|
| 115 | struct mediadb* getmediadb(char* path, char* file, int flag); |
---|
| 116 | |
---|
| 117 | //mediadbsettings.h |
---|
| 118 | void screenmediadbsettings(); |
---|
| 119 | |
---|
| 120 | //mediadb.h |
---|
[19018] | 121 | int writemediadb(const char *filename, struct mediadb* cmediadb); |
---|
[18190] | 122 | int delmediadbfilter(struct mediadbfilter* mnode, int flag); |
---|
[18941] | 123 | struct mediadb* createmediadb(struct mediadb* update, char* id, int type, char* title, char* year, char* released, char* runtime, char* genre, char* director, char* writer, char* actors, char* plot, char* poster, char* rating, char* votes, char* path, char* file, char* shortname, char* fileinfo, int flag, int postercount); |
---|
[18190] | 124 | void freemediadbcontent(struct mediadb* node); |
---|
| 125 | int findfiles(char* dirname, int type, int onlydir, int onlycount, int first); |
---|
| 126 | struct mediadbfilter* getlastmediadbfilter(struct mediadbfilter* node, int flag); |
---|
| 127 | void getmediadbcounts(int* video, int* audio, int* picture); |
---|
| 128 | int readmediadb(const char* filename, int type, int flag); |
---|
| 129 | void mediadbscan(); |
---|
| 130 | int createmediadbfilter(int type, char* search, int flag); |
---|
| 131 | struct mediadbfilter* getmediadbfilterrandom(int maxentry); |
---|
| 132 | int getmediadbfiltercount(); |
---|
| 133 | void freemediadbfilter(int flag); |
---|
| 134 | void freemediadb(int flag); |
---|
| 135 | void freemediadbcategory(int flag); |
---|
| 136 | int delmediadb(struct mediadb* mnode, int flag); |
---|
[18678] | 137 | void mediadbfindfilecb(char* path, char* file, int type, char* id, int flag); |
---|
[18967] | 138 | char* createshortname(char* file, int *isrec, int *iscam, int flag); |
---|
[18190] | 139 | |
---|
| 140 | //eraseswap.h |
---|
| 141 | void screeneraseswap(); |
---|
| 142 | |
---|
| 143 | //softcam.h |
---|
| 144 | void screensoftcam(); |
---|
| 145 | |
---|
| 146 | //system_mixed.h |
---|
| 147 | void screensystem_eraseswap(); |
---|
| 148 | void screensystem_wizard(); |
---|
| 149 | |
---|
| 150 | // info.h |
---|
| 151 | void screengetserial(); |
---|
| 152 | void screensystem_info(int mode); |
---|
| 153 | |
---|
| 154 | //system_update.h |
---|
| 155 | void screensystem_update(int mode); |
---|
| 156 | |
---|
| 157 | //system_backup.h |
---|
| 158 | void screensystem_backup(); |
---|
| 159 | |
---|
| 160 | //system_backup_restore.h |
---|
| 161 | void screensystem_backup_restore(); |
---|
| 162 | |
---|
| 163 | //settings_bluebutton.h |
---|
| 164 | void screensettings_bluebutton(); |
---|
| 165 | |
---|
| 166 | //settings_redbutton.h |
---|
| 167 | void screensettings_redbutton(); |
---|
| 168 | |
---|
| 169 | //extensions.h |
---|
| 170 | void screenfeed(); |
---|
[22606] | 171 | void screenextensions(int mode, char* path, char* defentry, int first); |
---|
[18190] | 172 | void screenextensions_check(int flag); |
---|
| 173 | |
---|
| 174 | //...port.h |
---|
| 175 | void fbsave(); |
---|
| 176 | void fbrestore(); |
---|
[24715] | 177 | int setencoding(struct channel* chnode, struct dvbdev* videonode); |
---|
[18190] | 178 | |
---|
| 179 | //mostzap.h |
---|
[18431] | 180 | struct mostzap* createmostzap(int serviceid, uint64_t transponderid); |
---|
[18190] | 181 | int writemostzap(const char *filename); |
---|
[18431] | 182 | int delmostzap(int serviceid, uint64_t transponderid, int flag); |
---|
[18190] | 183 | void mostzaptobouquet(struct mainbouquet* mbouquet); |
---|
| 184 | |
---|
| 185 | //thumb.h |
---|
| 186 | char* checkthumb(char* path, char* file); |
---|
| 187 | |
---|
| 188 | //dvdplayer.h |
---|
| 189 | int dvdstop(); |
---|
| 190 | int dvdsetfb(); |
---|
[20337] | 191 | void playerresetts(); |
---|
[24422] | 192 | void playerinit(int argc, char* argv[]); |
---|
[18190] | 193 | |
---|
| 194 | //channelhistory.h |
---|
| 195 | void delchannelhistory(struct channel* chnode); |
---|
| 196 | void addchannelhistory(struct channel* chnode, char* channellist); |
---|
| 197 | void screenchannelhistory(); |
---|
[24154] | 198 | void freechannelhistory(); |
---|
[18190] | 199 | |
---|
| 200 | //channellist.h |
---|
| 201 | int screenchannellist(struct channel** retchannel, char** retchannellist, int flag); |
---|
| 202 | |
---|
| 203 | //rguid.h |
---|
| 204 | void rguidthreadfunc(struct stimerthread* timernode); |
---|
| 205 | |
---|
| 206 | //inadyn.h |
---|
| 207 | void screennetwork_inadyn(); |
---|
| 208 | |
---|
| 209 | //epgsearch.h |
---|
[19490] | 210 | void screenepgsearch(char* text); |
---|
[18190] | 211 | |
---|
| 212 | //sock.h |
---|
[19884] | 213 | char* gethttp(char* host, char* page, int port, char* filename, char* auth, int timeout, struct download* dnode, int redirect); |
---|
[18190] | 214 | char *get_ip(char *host); |
---|
| 215 | int sockportopen(int *fd, char* ip, int port, int tout); |
---|
| 216 | void sockclose(int *fd); |
---|
| 217 | int socksend(int *fd, unsigned char* data, int count, int timeout); |
---|
| 218 | int sockread(int fd, unsigned char *buf, int pos, int count, int tout, int flag); |
---|
| 219 | int sockcreate(int *fd, char* sockname, int maxconn); |
---|
| 220 | int sockaccept(int *fd, int flag); |
---|
[19839] | 221 | char* gethttpreal(char* host, char* page, int port, char* filename, char* auth, struct download* dnode, int redirect, char* header, long* clen, int timeout, int flag); |
---|
[18190] | 222 | int sockreceive(int *fd, unsigned char* data, int count, int timeout); |
---|
[19689] | 223 | void gethttpstruct(struct stimerthread* timernode, struct download* node, int flag); |
---|
[20906] | 224 | void gethttpstructmsg(struct stimerthread* timernode, struct download* node, int flag); |
---|
[18190] | 225 | |
---|
| 226 | //numinput.h |
---|
| 227 | char* numinput(char* title, char* num, char* mask, int isip); |
---|
| 228 | |
---|
| 229 | //frontenddev.h |
---|
| 230 | struct dvbdev* fegetdummy(); |
---|
[20356] | 231 | void settunerstatus(); |
---|
[18190] | 232 | |
---|
| 233 | //dvrdev.h |
---|
| 234 | void dvrclose(struct dvbdev* node, int fd); |
---|
| 235 | struct dvbdev* dvropen(struct dvbdev* fenode); |
---|
| 236 | |
---|
| 237 | //audiodev.h |
---|
| 238 | int audiopause(struct dvbdev* node); |
---|
| 239 | int audioplay(struct dvbdev* node); |
---|
| 240 | int audioclearbuffer(struct dvbdev* node); |
---|
[20767] | 241 | int audiostop(struct dvbdev* node); |
---|
[18190] | 242 | |
---|
| 243 | //textinput.h |
---|
| 244 | char* textinput(char* title, char* text); |
---|
| 245 | |
---|
| 246 | //httpdsettings.h |
---|
| 247 | void screenhttpdsettings(); |
---|
| 248 | |
---|
| 249 | //help.h |
---|
| 250 | void screenhelp(struct skin* node); |
---|
| 251 | |
---|
| 252 | //restoredefault.h |
---|
| 253 | void screenrestoredefault(); |
---|
[21724] | 254 | void screenrestoredefaultchoice(); |
---|
[18190] | 255 | |
---|
| 256 | //ca.h |
---|
| 257 | int getfreecasession(struct dvbdev* dvbnode, int type, int value); |
---|
| 258 | void caappmenu(struct dvbdev* dvbnode); |
---|
| 259 | |
---|
| 260 | //cam.h |
---|
| 261 | int getcaservicebyslot(struct caslot* caslot, int flag); |
---|
| 262 | void caservicedel(struct service* snode, struct caslot* caslot); |
---|
| 263 | void sendcapmt(struct service* node, int clear, int flag); |
---|
| 264 | |
---|
| 265 | //gmultiepg.h |
---|
[20348] | 266 | int screengmultiepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
[20409] | 267 | int selectchannelgmepg(struct skin* listbox); |
---|
[18190] | 268 | |
---|
| 269 | //multiepg.h |
---|
[20348] | 270 | int screenmultiepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
[18190] | 271 | |
---|
| 272 | //harddisk.h |
---|
[22627] | 273 | int hddfsck(char* dev); |
---|
[18190] | 274 | void hddformat(char* dev, char* filesystem); |
---|
| 275 | int addhddall(); |
---|
| 276 | |
---|
| 277 | //autores.h |
---|
| 278 | void autoresthreadfunc(struct stimerthread* self, char* text, int timeout); |
---|
| 279 | void screenautores(char* text, int timeout, int flag); |
---|
| 280 | |
---|
| 281 | // timeshift.h |
---|
[20407] | 282 | void timeshiftpause(); |
---|
[18190] | 283 | void timeshiftstop(int flag); |
---|
| 284 | |
---|
| 285 | // keyaktions.h |
---|
| 286 | void keyactions(int key, int flag); |
---|
| 287 | void keyactions_setres(); |
---|
| 288 | |
---|
| 289 | //dmxdev.h |
---|
| 290 | struct dvbdev* dmxgetlast(int adapter); |
---|
| 291 | |
---|
| 292 | // harddisk.h |
---|
| 293 | char* harddisk_listbox(char* defaultstr, char* str, char* skinname, char* skintitle, char* skinpath, int showpng); |
---|
| 294 | |
---|
| 295 | // videodev.h |
---|
| 296 | int videoreadqwidth(struct dvbdev* node); |
---|
| 297 | int videofreeze(struct dvbdev* node); |
---|
| 298 | int videocontinue(struct dvbdev* node); |
---|
| 299 | int videofastforward(struct dvbdev* node, int frames); |
---|
| 300 | int videoclearbuffer(struct dvbdev* node); |
---|
| 301 | int videogetpts(struct dvbdev* node, uint64_t* pts); |
---|
[19974] | 302 | int videoslowmotion(struct dvbdev* node, int frames); |
---|
[20767] | 303 | int videostop(struct dvbdev* node, int clearscreen); |
---|
| 304 | int videoplay(struct dvbdev* node); |
---|
[18190] | 305 | |
---|
| 306 | // scan.h |
---|
[19525] | 307 | unsigned int satblindscan(struct stimerthread* timernode, int onlycalc); |
---|
| 308 | unsigned int cableblindscan(struct stimerthread* timernode, int onlycalc); |
---|
| 309 | unsigned int terrblindscan(struct stimerthread* timernode, int onlycalc); |
---|
[20633] | 310 | int findchannel(struct dvbdev* fenode, struct transponder* tpnode, unsigned char *buf, uint8_t* lastsecnr, struct skin* scan, struct skin* listbox, int ichangename, int flag); |
---|
[18190] | 311 | void screenscanconfig(int flag); |
---|
| 312 | |
---|
| 313 | // screensaver.h |
---|
| 314 | int showscreensaver(); |
---|
| 315 | int initscreensaver(); |
---|
| 316 | int deinitscreensaver(); |
---|
| 317 | |
---|
| 318 | // screensaveradjust.h |
---|
| 319 | void screenscreensaveradjust(); |
---|
| 320 | |
---|
| 321 | //dir.h |
---|
| 322 | char* screendir(char* path, char* mask, char* selection, int *dirrcret, char* ext, char* b1, int rc1, char* b2, int rc2, char* b3, int rc3, char* b4, int rc4, int width, int prozwidth, int height, int prozheight, int flag); |
---|
[24385] | 323 | char* screendirreal(char* path, char* mask, char* selection, int *dirrcret, char* ext, char* b1, int rc1, char* b2, int rc2, char* b3, int rc3, char* b4, int rc4, int width, int prozwidth, int height, int prozheight, int holdselection, int flag); |
---|
[18190] | 324 | void readlabelext(struct skin* label, char* filename, char* ext); |
---|
| 325 | |
---|
| 326 | // mainplaylist.h |
---|
| 327 | int writeallplaylist(); |
---|
| 328 | int writemainplaylist(const char *filename); |
---|
| 329 | struct mainplaylist* getmainplaylistbyplaylistpointer(struct playlist* playlistnode); |
---|
| 330 | struct mainplaylist* screenmainplaylist(int flag); |
---|
| 331 | |
---|
| 332 | //playlist.h |
---|
| 333 | int getplaylistmax(struct playlist* plist); |
---|
| 334 | struct playlist* getplaylistrandom(struct playlist* plist, int max); |
---|
[19974] | 335 | void getplaylistmaxold(struct skin* playlist, int* maxdirs, int* maxfiles); |
---|
| 336 | struct skin* getplaylistrandomold(struct skin* playlist, int maxdirs, int maxfiles); |
---|
[18190] | 337 | |
---|
| 338 | // screensaveradjust.h |
---|
| 339 | void screensaveradjust(); |
---|
| 340 | |
---|
| 341 | //download.h |
---|
[19884] | 342 | int screendownload(char* title, char* host, char* page, int port, char* filename, char* auth, int timeout, int flag); |
---|
[18190] | 343 | |
---|
| 344 | // epgrecord.h |
---|
| 345 | void freeepgrecord(struct epgrecord** first); |
---|
| 346 | int recordstartreal(struct channel* chnode, int filefd, int recordfd, int type, time_t endtime, struct rectimer* rectimernode, int tssize); |
---|
| 347 | |
---|
| 348 | //titan.c |
---|
| 349 | void oshutdown(int exitcode, int flag); |
---|
| 350 | int createstartscreen(); |
---|
[21149] | 351 | struct channel *channel; |
---|
[18190] | 352 | |
---|
| 353 | // powerofftimer.h |
---|
| 354 | void screenpowerofftimer(void); |
---|
| 355 | |
---|
| 356 | // videosettings.h |
---|
| 357 | void screenvideosettings(); |
---|
| 358 | |
---|
| 359 | // harddisk.h |
---|
| 360 | void screenharddisk(int mode); |
---|
| 361 | void screenharddisksleep(); |
---|
| 362 | |
---|
| 363 | // network.h |
---|
| 364 | void screennetwork(int mode); |
---|
| 365 | void screennetwork_adapter(); |
---|
| 366 | void screennetwork_restart(struct inetwork* net, int flag); |
---|
| 367 | void screennetwork_test(); |
---|
| 368 | void screennetwork_wlan(); |
---|
| 369 | |
---|
| 370 | //channel.h |
---|
| 371 | int writechannel(const char *filename); |
---|
[18431] | 372 | struct channel* createchannel(char* name, uint64_t transponderid, int providerid, int serviceid, int servicetype, int flag, int videocodec, int audiocodec, int videopid, int audiopid, int protect); |
---|
| 373 | void delchannelbytransponder(uint64_t transponderid); |
---|
[18190] | 374 | struct channel* gettmpchannel(); |
---|
[18431] | 375 | int delchannel(int serviceid, uint64_t transponderid, int flag); |
---|
[18190] | 376 | int movechanneldown(struct channel* node); |
---|
| 377 | int movechannelup(struct channel* node); |
---|
[22442] | 378 | struct channel* sortchannel(); |
---|
[18190] | 379 | |
---|
| 380 | //transponder.h |
---|
[18431] | 381 | struct transponder* gettransponder(uint64_t transponderid); |
---|
[18190] | 382 | int writetransponder(const char *filename); |
---|
| 383 | void deltransponderbyorbitalpos(int orbitalpos); |
---|
| 384 | void deltransponder(struct transponder* tpnode); |
---|
| 385 | |
---|
| 386 | //sat.h |
---|
| 387 | int writesat(const char *filename); |
---|
| 388 | void delsat(char *name); |
---|
| 389 | struct sat* getsatbyorbitalpos(int orbitalpos); |
---|
| 390 | int movesatdown(struct sat* node); |
---|
| 391 | int movesatup(struct sat* node); |
---|
[24228] | 392 | int sat2bouquet(int orbitalpos, int flag); |
---|
[18190] | 393 | |
---|
| 394 | //provider.h |
---|
| 395 | int writeprovider(const char *filename); |
---|
| 396 | void delprovidernotused(struct provider* node); |
---|
| 397 | int moveproviderdown(struct provider* node); |
---|
| 398 | int moveproviderup(struct provider* node); |
---|
| 399 | |
---|
| 400 | //httpd.h |
---|
| 401 | void httpdthreadfunc(struct stimerthread* timernode); |
---|
| 402 | void sendoktext(int* connfd, char* text, int auth); |
---|
| 403 | |
---|
| 404 | //skinconfig.h |
---|
| 405 | int getskinconfigint(char *key, char *ext); |
---|
| 406 | char* getskinconfig(char *key, char *ext); |
---|
| 407 | |
---|
| 408 | //record.h |
---|
| 409 | struct service* getrecordbyname(char* recname, int type); |
---|
| 410 | int recordskipplay(struct service* servicenode, int sekunden); |
---|
| 411 | void recordffrwts(struct service* servicenode, int speed); |
---|
| 412 | |
---|
| 413 | //dvdplayer.h |
---|
| 414 | int dvdstart(char* filename); |
---|
| 415 | int dvdisplaying(); |
---|
| 416 | void dvdgotmessage(); |
---|
| 417 | int dvdkeypress(int key); |
---|
| 418 | int dvdmenuopen(); |
---|
| 419 | void dvdchangevideo(); |
---|
| 420 | void dvdafterend(); |
---|
| 421 | |
---|
| 422 | // play.h |
---|
| 423 | void playerffts(int speed); |
---|
[19953] | 424 | int screenplay(char* startfile, char* showname, int startfolder, int flag); |
---|
[18190] | 425 | void playrcstop(int playertype, int flag); |
---|
[19953] | 426 | void playwritevfd(char* file, char* showname); |
---|
[18190] | 427 | void playstartservice(); |
---|
[19953] | 428 | void screenplayinfobar(char* file, char* showname, int mode, int playertype, int flag); |
---|
| 429 | void playrcgreen(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
[20102] | 430 | int playrcred(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
[19953] | 431 | void playrcinfo(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 432 | void playrcff(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 433 | void playrcfr(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 434 | void playrcpause(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 435 | void playrcplay(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 436 | void playrcjumpr(char* file, char* showname, int sec, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
| 437 | void playrcjumpf(char* file, char* showname, int sec, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
[18973] | 438 | void get_mediadb_scan_info(); |
---|
[19975] | 439 | void playrcblue(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
| 440 | void playrcyellow(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
| 441 | void playrctext(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
| 442 | void playrcok(char* file, char* showname, int playinfobarstatus, int playertype, int flag); |
---|
[20192] | 443 | int playcheckdirrcret(char* file, int dirrcret); |
---|
[20848] | 444 | void playrcjumpto(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag); |
---|
[18190] | 445 | |
---|
| 446 | //inetwork.h |
---|
| 447 | struct inetwork* getinetworkbydevice(char* device); |
---|
[20685] | 448 | struct inetwork* getinetworkfirstwlan(); |
---|
[18190] | 449 | |
---|
| 450 | //fb.h |
---|
| 451 | void blitfb(int flag); |
---|
[24090] | 452 | void blitfb1(); |
---|
[20751] | 453 | void changefbresolution(char *value, int flag); |
---|
[18190] | 454 | void setfbtransparent(int value); |
---|
| 455 | struct fb* addfb(char *fbname, int dev, int width, int height, int colbytes, int fd, unsigned char* mmapfb, unsigned long fixfbsize); |
---|
| 456 | void blitfb2(struct fb* fbnode, int flag); |
---|
| 457 | void delfb(char *name); |
---|
| 458 | void fb2png_thread(); |
---|
| 459 | int fb2png(unsigned char *buf_p, int width, int height, char *outfile); |
---|
| 460 | void clearfball(); |
---|
| 461 | |
---|
| 462 | //timerthread.h |
---|
| 463 | struct stimerthread* addtimer(void* func, int aktion, int delay, int count, void* param1, void* param2, struct stimerthread* last); |
---|
[19612] | 464 | void deltimer(struct stimerthread *tnode, int flag); |
---|
[18190] | 465 | struct stimerthread* gettimerbythread(pthread_t thread); |
---|
| 466 | |
---|
| 467 | //epgscanlist.h |
---|
[18431] | 468 | struct epgscanlist* getepgscanlist(int serviceid, uint64_t transponderid); |
---|
[18190] | 469 | int writeepgscanlist(const char *filename); |
---|
[18431] | 470 | int delepgscanlist(int serviceid, uint64_t transponderid); |
---|
[18190] | 471 | |
---|
| 472 | //rectimer.h |
---|
| 473 | int readrectimer(char *filename); |
---|
| 474 | int writerectimer(const char *filename, int flag); |
---|
| 475 | int recordcheckcrypt(struct dvbdev* fenode, int servicetype); |
---|
| 476 | int recordstart(struct channel* chnode, int filefd, int recordfd, int type, time_t endtime, struct rectimer* rectimernode); |
---|
| 477 | char* recordcheckret(struct stimerthread* timernode, int ret, int flag); |
---|
| 478 | void checkrecepgret(int ret); |
---|
| 479 | int addrecepg(struct channel* chnode, struct epg* epgnode, char* channellist); |
---|
| 480 | struct rectimer* getrectimerbyservice(struct service* servicenode); |
---|
| 481 | void delrectimer(struct rectimer* rectimernode, int write, int flag); |
---|
| 482 | int rectimergetaktday(); |
---|
[20192] | 483 | int addrectimer(char *buf); |
---|
[21149] | 484 | struct rectimer* addrectimernode(char* line, struct rectimer* last); |
---|
| 485 | int checkrectimerconflict(struct rectimer* recnode); |
---|
[18190] | 486 | |
---|
| 487 | //dvb.h |
---|
| 488 | unsigned char* dvbgetsdt(struct dvbdev* fenode, int secnr, int timeout); |
---|
| 489 | int dvbreadfd(int fd, unsigned char *buf, int pos, int count, int tout, int flag); |
---|
| 490 | int dvbwrite(int fd, unsigned char* buf, int count, int tout); |
---|
| 491 | int dvbgetdate(time_t* time, int timeout); |
---|
| 492 | int dvbfindpmtpid(int fd, int16_t *pmtpid, int *serviceid, int tssize); |
---|
| 493 | int gettsinfo(int fd, unsigned long long* lenpts, unsigned long long* startpts, unsigned long long* endpts, unsigned long long* bitrate, int tssize); |
---|
| 494 | |
---|
| 495 | //pin.h |
---|
| 496 | int screenpincheck(int type, char* pin); |
---|
| 497 | void screenpin(); |
---|
| 498 | |
---|
| 499 | //videomode.h |
---|
| 500 | void screenvideomode(int flag); |
---|
| 501 | |
---|
| 502 | //pic.h |
---|
| 503 | void delpic(char* name); |
---|
| 504 | struct pic* getpic(char* name); |
---|
| 505 | void delmarkedpic(int del); |
---|
| 506 | struct pic* addpic(char *name, unsigned char* picbuf, int memfd, unsigned long width, unsigned long height, unsigned long rowbytes, int channels, int timeout, int del, struct pic* last); |
---|
| 507 | |
---|
| 508 | //showiframe.h |
---|
| 509 | int singlepicstart(const char *filename, int flag); |
---|
| 510 | |
---|
| 511 | //player.h |
---|
[19843] | 512 | void playerslowts(int speed); |
---|
[18190] | 513 | void playerff(int speed); |
---|
| 514 | void playerfr(int speed); |
---|
| 515 | void playercontinue(); |
---|
| 516 | void playerpause(); |
---|
| 517 | int playerstop(); |
---|
| 518 | void playerseek(float sec); |
---|
| 519 | int playerstart(char* file); |
---|
[18429] | 520 | unsigned long long playergetpts(); |
---|
[18190] | 521 | double playergetlength(); |
---|
| 522 | int playergetinfots(unsigned long long* lenpts, unsigned long long* startpts, unsigned long long* endpts, unsigned long long* aktpts, unsigned long long* bitrate, int flag); |
---|
| 523 | int playerisplaying(); |
---|
| 524 | void playerafterend(); |
---|
[19761] | 525 | int playergetbuffersize(); |
---|
| 526 | int playergetbufferstatus(); |
---|
[18190] | 527 | |
---|
| 528 | //filelist.h |
---|
| 529 | void getfilelist(struct skin* input, struct skin* filelistpath, struct skin* filelist, char* path, char* filemask, int tmpview, char* selection); |
---|
| 530 | int createfilelist(struct skin* screen, struct skin* node, int view); |
---|
[19974] | 531 | void getfilelistmax(struct skin* filelist, int* maxdirs, int* maxfiles); |
---|
| 532 | struct skin* getfilelistrandom(struct skin* filelist, int maxdirs, int maxfiles); |
---|
[23005] | 533 | int filelistflt(char* filter, char* name); |
---|
[18190] | 534 | |
---|
| 535 | //plugin.h |
---|
| 536 | struct skin* getplugin(char* pluginname); |
---|
| 537 | int loadplugin(); |
---|
| 538 | |
---|
| 539 | //listbox.h |
---|
| 540 | int setlistboxselection(struct skin* listbox, char* childname); |
---|
| 541 | |
---|
| 542 | //list.h |
---|
| 543 | struct clist* addlist(struct clist **clist, char *key1, char *value1); |
---|
| 544 | void freelist(struct clist** clist); |
---|
| 545 | struct clist* addlisttmp(struct clist **clist, char *key1, char *value1); |
---|
| 546 | |
---|
| 547 | //choicebox.h |
---|
| 548 | int setchoiceboxselection(struct skin* choicebox, char* value); |
---|
| 549 | int addchoicebox(struct skin* choicebox, char* value, char* text); |
---|
| 550 | |
---|
| 551 | //ownconfig.h |
---|
| 552 | char* getownconfig(char *key); |
---|
| 553 | char* getownconfigq(char *key); |
---|
| 554 | struct clist* addownconfigscreentmp(char *key, struct skin *node); |
---|
| 555 | struct clist* addownconfigscreenqtmp(char *key, struct skin *node); |
---|
| 556 | struct clist* addownconfigscreentmpcheck(char *key, struct skin *node, char* check); |
---|
| 557 | int writeownconfigtmp(); |
---|
| 558 | void delownconfigtmpall(); |
---|
| 559 | struct clist* addownconfig(char *key, char *value); |
---|
| 560 | |
---|
| 561 | //infobar.h |
---|
| 562 | void fillinfobar(); |
---|
| 563 | |
---|
| 564 | //menulist.h |
---|
| 565 | void freemenulist(struct menulist* mlist, int delparam); |
---|
| 566 | void addmenulistall(struct menulist** mlist, char* allname, char* pic, int deaktiv, char* defaultentry); |
---|
| 567 | struct menulist* addmenulist(struct menulist** mlist, char* name, char* text, char* pic, int deaktiv, int defaultentry); |
---|
| 568 | struct menulist* menulistbox(struct menulist* mlist, char* paramskinname, char* skintitle, char* paramskinpath, char* defaultpic, int showpng, int flag); |
---|
| 569 | struct menulist* menulistboxext(struct menulist* mlist, char* paramskinname, char* skintitle, char* paramskinpath, char* defaultpic, int showpng, int* rcreturn, int flag); |
---|
| 570 | void setmenulistdefault(struct menulist* mlist, char* defaultentry); |
---|
[23288] | 571 | void changemenulistparam(struct menulist* mlist, char* param, char* param1, char* param2, char* param3); |
---|
[18190] | 572 | |
---|
| 573 | //skinfunc.h |
---|
| 574 | char* gettime(struct skin* node, char* format); |
---|
| 575 | char* getepgakttitle(struct skin* node); |
---|
| 576 | |
---|
| 577 | //skin.h |
---|
[20245] | 578 | void* convertfunc(char *value, uint8_t *rettype); |
---|
[18190] | 579 | void restorescreennofree(char* buf, struct skin* node); |
---|
| 580 | unsigned char *loadjpg(char *filename, unsigned long *width, unsigned long *height, unsigned long *rowbytes, int *channels, int denom); |
---|
| 581 | int changeselectpic(struct skin* node, char* text); |
---|
| 582 | void calcautoscale(int width, int height, int mwidth, int mheight, int* scalewidth, int* scaleheight); |
---|
| 583 | void blitscale(int posx, int posy, int width, int height, int scalewidth, int scaleheight, int flag); |
---|
| 584 | unsigned char* scale(unsigned char* buf, int width, int height, int channels, int newwidth, int newheight, int free1); |
---|
| 585 | void blitrect(int posx, int posy, int width, int height, long color, int transparent, int mode); |
---|
| 586 | void fillrect(int posx, int posy, int width, int height, long color, int transparent); |
---|
| 587 | int setnodeattr(struct skin* node, struct skin* parent, int screencalc); |
---|
| 588 | void clearscreennolock(struct skin* node); |
---|
| 589 | void clearshadow(struct skin* node); |
---|
| 590 | char* savescreen(struct skin* node); |
---|
| 591 | void restorescreen(char* buf, struct skin* node); |
---|
| 592 | char* changepicpath(char* picname); |
---|
| 593 | long convertcol(char *value); |
---|
| 594 | void delmarkedscreen(int del); |
---|
| 595 | void delscreen(struct skin *node); |
---|
| 596 | void delscreennode(struct skin *node, char* nodename); |
---|
| 597 | int readscreen(char *filename, int del, int flag); |
---|
| 598 | int readjpg(const char* filename, unsigned long* width, unsigned long* height, unsigned long* rowbytes, int* channels, unsigned char **mem, int *memfd); |
---|
| 599 | unsigned char* readpng(const char* filename, unsigned long* width, unsigned long* height, unsigned long* rowbytes, int* channels, int posx, int posy, int mwidth, int mheight, int halign, int valign); |
---|
| 600 | void delmarkedscreennodes(struct skin* node, int mark); |
---|
| 601 | void clearscreen(struct skin* node); |
---|
| 602 | struct skin* getscreennode(struct skin *node, char* nodename); |
---|
[23090] | 603 | struct skin* checkscreennode(struct skin *node, char* nodename); |
---|
[18190] | 604 | struct skin* getscreen(char* screenname); |
---|
| 605 | int calcrheight(struct skin* node, struct skin* parent); |
---|
| 606 | int drawscreen(struct skin* node, int screencalc, int flag); |
---|
| 607 | struct skin* addscreennode(struct skin* node, char* line, struct skin* last); |
---|
| 608 | int changetext(struct skin* node, char* text); |
---|
| 609 | int changetext2(struct skin* node, char* text); |
---|
| 610 | int changeinput(struct skin* node, char* text); |
---|
| 611 | int changename(struct skin* node, char* text); |
---|
| 612 | int changeret(struct skin* node, char* text); |
---|
| 613 | int changepic(struct skin* node, char* text); |
---|
| 614 | int changetitle(struct skin* node, char* text); |
---|
| 615 | int changefont(struct skin* node, char* text); |
---|
| 616 | int changemask(struct skin* node, char* text); |
---|
| 617 | int changepicmem(struct skin* node, char* text, int timeout, int del); |
---|
| 618 | int convertxmlentry(char *value, uint8_t *proz); |
---|
| 619 | unsigned char* savejpg(char* filename, int width, int height, int channels, int newwidth, int newheight, int quality, unsigned char *buf); |
---|
| 620 | |
---|
| 621 | //volume.h |
---|
| 622 | void screenvolumeup(); |
---|
| 623 | void screenvolumedown(); |
---|
| 624 | |
---|
[18430] | 625 | //mute.h |
---|
| 626 | void screenmute(struct skin* screen, struct skin* node, int flag); |
---|
| 627 | |
---|
[18190] | 628 | //menu.h |
---|
| 629 | int menucall(struct skin* menunode, struct skin* menuentry, int check); |
---|
| 630 | |
---|
| 631 | //textbox.h |
---|
| 632 | int textbox(char* title, char* text, char* b1, int rc1, char* b2, int rc2, char* b3, int rc3, char* b4, int rc4, int width, int height, int timeout, int flag); |
---|
| 633 | |
---|
| 634 | //config.h |
---|
| 635 | struct clist* addconfig(char *key, char *value); |
---|
| 636 | void delconfigtmpall(); |
---|
| 637 | struct clist* addconfigscreencheck(char *key, struct skin *node, char* check); |
---|
[19974] | 638 | struct clist* addconfigscreen(char *key, struct skin *node); |
---|
[18190] | 639 | struct clist* addconfigdef(char *key, char *value); |
---|
| 640 | struct clist* addconfigtmp(char *key, char *value); |
---|
| 641 | char* getconfig(char *key, char *ext); |
---|
| 642 | char* getconfignotmp(char *key, char *ext); |
---|
| 643 | int getconfigint(char *key, char* ext); |
---|
| 644 | void delconfig(char *key); |
---|
| 645 | void delconfigtmp(char *key); |
---|
| 646 | struct clist* addconfiginttmp(char *key, int value); |
---|
| 647 | int writeconfigtmp(); |
---|
| 648 | int readconfig(const char *filename, struct clist** tmpconfig); |
---|
| 649 | struct clist* addconfigint(char *key, int value); |
---|
| 650 | |
---|
| 651 | //rc.h |
---|
| 652 | int waitrcext(struct skin* owner, unsigned int timeout, int screencalc, int filelistview); |
---|
| 653 | int waitrc(struct skin* owner, unsigned int timeout, int flag); |
---|
| 654 | void delownerrc(struct skin* owner); |
---|
[18431] | 655 | struct rc* addrc(int key, void *func, struct skin* screen, struct skin *screennode); |
---|
[18190] | 656 | void delrc(int key, struct skin* owner, struct skin* screennode); |
---|
| 657 | int flushrc(unsigned int timeout); |
---|
[19974] | 658 | int writerc(int keycode); |
---|
[18190] | 659 | |
---|
| 660 | //rcfunc.h |
---|
| 661 | void inputboxchar(struct skin* screen, struct skin* inputbox, char zeichen, int screencalc, int filelistview, int flag); |
---|
| 662 | void inputboxff(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 663 | void inputboxfr(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 664 | void inputboxright(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 665 | void inputboxleft(struct skin* screen, struct skin* inputbox, int screencalc, int filelistview, int flag); |
---|
| 666 | int addscreenrc(struct skin* screen, struct skin* node); |
---|
| 667 | void checkinputboxnumright(struct skin* inputbox); |
---|
| 668 | int delscreenrc(struct skin* screen, struct skin* node); |
---|
| 669 | |
---|
| 670 | //spinner.h |
---|
| 671 | void screenspinner(); |
---|
| 672 | |
---|
| 673 | //global.h |
---|
[24422] | 674 | char* getmacfromcmdline(); |
---|
[24036] | 675 | char* createpluginpath(char* text, int flag); |
---|
[23305] | 676 | void delspezchar(char* text, int flag); |
---|
[21758] | 677 | int osystem(char* cmd, int timeout); |
---|
[19543] | 678 | char* mask(char* input, int count, char* maskchar); |
---|
[19478] | 679 | char* getboxtype(); |
---|
[18934] | 680 | char* getfilenameext(char* filename); |
---|
[18216] | 681 | void startnet(); |
---|
[18190] | 682 | int checkdirext(char* dir, char* ext); |
---|
| 683 | char* string_replace_all(char *search, char *replace, char *string, int free1); |
---|
| 684 | struct tm* olocaltime(time_t *value); |
---|
| 685 | void setskinnodeslocked(int flag); |
---|
| 686 | char* stringreplacecharonce(char *str, char c1, char c2); |
---|
| 687 | int getrandom(int max); |
---|
| 688 | int clearbit(int value, int bitpos); |
---|
| 689 | int checkbit(int value, int bitpos); |
---|
| 690 | char* addmountpart(char* filename, int free1); |
---|
| 691 | char* string_removechar(char *str); |
---|
| 692 | unsigned int gethash(char* str); |
---|
| 693 | char* oregex(char* regex, char* str); |
---|
| 694 | int resettvpic(); |
---|
| 695 | unsigned long readsysul(const char *filename, int line); |
---|
| 696 | char* oitoax(int value); |
---|
| 697 | void closeonexec(int fd); |
---|
| 698 | char* ostrstrcase(char* str, char* sub); |
---|
| 699 | char* getdevcontent(char* devconfig); |
---|
| 700 | char* getxmlentry(char *line, char *searchstr); |
---|
[20730] | 701 | void debugstack(int sig, void* address, void* address1); |
---|
[18190] | 702 | char* string_strip_whitechars(char *text); |
---|
| 703 | int ounzip(char* inbuf, int inlen, char** outbuf, int* outlen, int maxbuf, int flag); |
---|
| 704 | int ozip(char* inbuf, int inlen, char** outbuf, int* outlen, int level); |
---|
| 705 | int delallfiles(char* dir, char* ext); |
---|
| 706 | unsigned long getfilecount(char* dir); |
---|
| 707 | char* readfiletomem(const char* filename, int flag); |
---|
[19831] | 708 | char* readbintomem(const char* filename, size_t size); |
---|
[18190] | 709 | int setbit(int value, int bitpos); |
---|
| 710 | char* changefilenameext(char* filename, char* ext); |
---|
| 711 | void destroy(); |
---|
| 712 | void htmldecode(char* to, char* from); |
---|
| 713 | void setosdtransparent(int value); |
---|
| 714 | char* string_shortname(char *tmpfilename, int mode); |
---|
| 715 | off64_t getfilesize(char* name); |
---|
| 716 | struct splitstr* strsplit(char *str, char *tok, int* count); |
---|
| 717 | char* strstrip(char *text); |
---|
| 718 | char* fixip(char* ipinput, int flag); |
---|
| 719 | void m_lock(pthread_mutex_t *mutex, int flag); |
---|
| 720 | void m_unlock(pthread_mutex_t *mutex, int flag); |
---|
[23979] | 721 | int setcolorformat(char* value, int flag); |
---|
[18190] | 722 | int setvideomode(char* value, int flag); |
---|
| 723 | char* convert_timesec(int sec); |
---|
| 724 | int writesys(const char *filename, char *value, int flag); |
---|
| 725 | int setsystime(time_t* newtime); |
---|
| 726 | int checkbox(char* box); |
---|
| 727 | int setpolicy(char* value); |
---|
| 728 | char* getpolicy(); |
---|
| 729 | char* string_newline(char* str); |
---|
| 730 | char* get_label(char* device); |
---|
| 731 | char* string_quote(char* str); |
---|
| 732 | int file_exist(char* filename); |
---|
| 733 | char* ostrstr(char* str, char* search); |
---|
| 734 | char* createpath(char* dir, char* file); |
---|
| 735 | char* get_ipk_install(char* ipk); |
---|
| 736 | char* get_ipk_tmpinstall(char* path, char* ipk); |
---|
| 737 | char* get_ipk_listinstall(); |
---|
| 738 | char* get_ipk_tmplistinstall(); |
---|
| 739 | char* string_toupper(char *str); |
---|
| 740 | char* get_ipk_remove(char* ipk); |
---|
| 741 | char* get_ipk_section(); |
---|
| 742 | char* get_ipk_list(char* section); |
---|
| 743 | char* string_tolower(char *str); |
---|
| 744 | int isfile(char* name); |
---|
| 745 | char* command(char* input); |
---|
| 746 | char* oitoa(int value); |
---|
| 747 | char* olutoa(unsigned long value); |
---|
[18431] | 748 | char* ollutoa(uint64_t value); |
---|
[18190] | 749 | int ostrcmp(char* value1, char* value2); |
---|
| 750 | int ostrcasecmp(char* value1, char* value2); |
---|
[19467] | 751 | char* ostrshrink(char* value); |
---|
[18190] | 752 | char* ostrcat(char* value1, char* value2, int free1, int free2); |
---|
[24441] | 753 | void ostrcatbig(char** value1, char* value2, int* maxlen, int* pos); |
---|
[18190] | 754 | int ostrncmp(char* value1, char* value2, int count); |
---|
| 755 | char* readsys(const char *filename, int line); |
---|
| 756 | char* string_replace_remove_last_chars(char *search, char *replace, char *string, int free1); |
---|
| 757 | char* string_replace(char *search, char *replace, char *string, int free1); |
---|
| 758 | int writesysint(const char *filename, int value, int flag); |
---|
| 759 | char* string_remove_whitechars(char *text); |
---|
| 760 | void setfanspeed(int speed, int aktion); |
---|
| 761 | int writeallconfig(int flag); |
---|
| 762 | int checkemu(); |
---|
| 763 | int setvol(int value); |
---|
| 764 | int getvol(); |
---|
| 765 | char* stringreplacechar(char *str, char c1, char c2); |
---|
| 766 | char* getcpuid(); |
---|
| 767 | void get_ipk_update(); |
---|
| 768 | char* string_decode(char* input, int flag); |
---|
| 769 | char* string_striptags(char* filename); |
---|
| 770 | char* string_resub(char* str, char* str2, char* input, int dir); |
---|
| 771 | int cmpfilenameext(char* filename, char* ext); |
---|
| 772 | void killnet(); |
---|
| 773 | void checkserial(char* input); |
---|
| 774 | int checkprozess(char* input); |
---|
| 775 | struct regex* regexstruct(char* regex, char* str); |
---|
| 776 | void freeregexstruct(struct regex* node); |
---|
| 777 | char fromhex(char c); |
---|
[18936] | 778 | char* unhexlify(char *hexstr); |
---|
[18190] | 779 | int isdir(char* name); |
---|
| 780 | void htmldecode3(char* to, char* from); |
---|
| 781 | char* string_deltags(char* str); |
---|
| 782 | char* readfromlinetoline(char* str, int start, int end, int flag); |
---|
[18209] | 783 | int checkdev(char* dev); |
---|
[18987] | 784 | char* getvideomode(); |
---|
[19304] | 785 | int checkinternet(); |
---|
[19535] | 786 | struct splitstr* oregexsplit(char* regex, char *str, char *tok, int* count); |
---|
| 787 | void freeoregexsplit(struct splitstr* tmparray, int len); |
---|
[19935] | 788 | char* fixport(char* input, int flag); |
---|
[20190] | 789 | char* getispip(); |
---|
[21618] | 790 | int getlfiletype(char* filename); |
---|
[21680] | 791 | unsigned long long getfreespace(char* dir); |
---|
[23003] | 792 | char* getfilenamepng(char* filename); |
---|
[24253] | 793 | char* htmlencode(char* from); |
---|
[24423] | 794 | void waitmsgbar(int sec, int exit, char* text, int flag); |
---|
[18190] | 795 | |
---|
| 796 | //rcconfig.h |
---|
| 797 | int getrcconfigint(char *key, char* ext); |
---|
| 798 | char* getrcconfig(char *key, char *ext); |
---|
| 799 | int reloadconfig(char *filename); |
---|
| 800 | |
---|
| 801 | //service.h |
---|
[20510] | 802 | struct service* getservicebyrecname(char* recname, int type, int flag); |
---|
[18190] | 803 | struct service* getservicebyservice(struct service* node, int flag); |
---|
| 804 | struct service* getservicebychannel(struct channel* chnode); |
---|
| 805 | struct service* checkservice(struct service* node); |
---|
| 806 | struct service* addservice(struct service* last); |
---|
| 807 | void delservice(struct service* snode, int flag); |
---|
| 808 | int servicestop(struct service *node, int clear, int flag); |
---|
| 809 | int servicestart(struct channel* chnode, char* channellist, char* pin, int flag); |
---|
| 810 | void serviceresetchannelinfo(struct channel* chnode); |
---|
| 811 | struct service* getservice(int type, int flag); |
---|
| 812 | char* servicecheckret(int ret, int flag); |
---|
| 813 | |
---|
| 814 | //mainbouquets.h |
---|
| 815 | int writemainbouquet(const char *filename); |
---|
| 816 | int writeallbouquet(); |
---|
| 817 | struct mainbouquet* getmainbouquetbybouquetpointer(struct bouquet* bouquetnode); |
---|
| 818 | int movemainbouquetdown(struct mainbouquet* node); |
---|
| 819 | int movemainbouquetup(struct mainbouquet* node); |
---|
| 820 | struct mainbouquet* addmainbouquet(char *line, int count, struct mainbouquet* last); |
---|
[22342] | 821 | struct mainbouquet* screenmainbouquet(); |
---|
[22343] | 822 | int mainbouquet2epgscanlist(struct mainbouquet* mnode); |
---|
| 823 | int mainbouquet2channelslot(struct mainbouquet* mnode, int slot); |
---|
[24228] | 824 | void delmainbouquet(char *name, int flag); |
---|
[18190] | 825 | |
---|
| 826 | //listbox.h |
---|
| 827 | struct skin* addlistbox(struct skin* screen, struct skin* listbox, struct skin* last, int del); |
---|
| 828 | |
---|
| 829 | //bouquets.h |
---|
[18431] | 830 | void delbouquetbychannel(int serviceid, uint64_t transponderid); |
---|
| 831 | struct bouquet* getbouquetbychannelmain(int serviceid, uint64_t transponderid); |
---|
[18190] | 832 | void recalcbouquetnr(); |
---|
[18431] | 833 | void setbouquetchanneltonullmain(int serviceid, uint64_t transponderid); |
---|
| 834 | void delbouquet(int serviceid, uint64_t transponderid, struct bouquet** firstnode); |
---|
[18190] | 835 | int movebouquetdown(struct bouquet* node); |
---|
| 836 | int movebouquetup(struct bouquet* node); |
---|
| 837 | struct bouquet* addbouquet(struct bouquet **firstnode, char *line, int type, int count, struct bouquet* last); |
---|
[22458] | 838 | struct bouquet* sortbouquet(struct bouquet **nodeaddr); |
---|
[18190] | 839 | |
---|
| 840 | //audiotrack.h |
---|
| 841 | void screenaudiotrack(); |
---|
| 842 | struct audiotrack* addaudiotrack(struct channel* chnode, char* langdesc, int pid, int audiocodec, struct audiotrack* last); |
---|
| 843 | void freeaudiotrack(struct channel* chnode); |
---|
| 844 | |
---|
| 845 | //subtitle.h |
---|
| 846 | void screensubtitle(); |
---|
| 847 | struct subtitle* addsubtitle(struct channel* chnode, int subtype, char* langdesc, int pid, int type, int id1, int id2, struct subtitle* last); |
---|
| 848 | void freesubtitle(struct channel* chnode); |
---|
| 849 | int subtitlestop(int flag); |
---|
| 850 | int subtitlepause(int flag); |
---|
[24620] | 851 | void changelastsubtitle(struct lastsubtitle* lsnode, int pid, int id1, int id2); |
---|
[20233] | 852 | void dellastsubtitle(struct lastsubtitle* lsnode); |
---|
| 853 | struct lastsubtitle* addlastsubtitle(char* line, int count, struct lastsubtitle* last); |
---|
| 854 | struct lastsubtitle* getlastsubtitle(uint64_t transponderid, int serviceid); |
---|
[20280] | 855 | int subtitlestartlast(); |
---|
| 856 | int writelastsubtitle(const char *filename); |
---|
[18190] | 857 | |
---|
| 858 | //linkedchannel.h |
---|
[21072] | 859 | struct linkedchannel* addlinkedchannel(struct channel* chnode, int serviceid, uint64_t transponderid, time_t starttime, time_t endtime, struct linkedchannel* last); |
---|
[18190] | 860 | void freelinkedchannel(struct channel* chnode); |
---|
| 861 | void screenlinkedchannel(); |
---|
[21072] | 862 | struct linkedchannel* getlinkedchannel(struct channel* chnode, int serviceid, uint64_t transponderid, time_t starttime, time_t endtime); |
---|
| 863 | void dellinkedchannel(struct channel* chnode, struct linkedchannel* lnode, int flag); |
---|
| 864 | void deloldlinkedchannel(); |
---|
[18190] | 865 | |
---|
| 866 | //zap.h |
---|
| 867 | void zapup(); |
---|
| 868 | void zapdown(); |
---|
| 869 | |
---|
| 870 | //epg.h |
---|
[20348] | 871 | int screensingleepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
| 872 | int screenepg(struct channel* chnode, struct epg* epgnode, int flag); |
---|
[19251] | 873 | |
---|
| 874 | //eit.h |
---|
[19253] | 875 | void epgthreadfunc(struct stimerthread* self); |
---|
[19251] | 876 | struct epg* getepgnext(struct channel* chnode); |
---|
[18190] | 877 | int writeepg(const char* filename); |
---|
| 878 | void freeepg(struct channel* chnode); |
---|
| 879 | struct epg* getepgakt(struct channel* chnode); |
---|
| 880 | struct epg* getepgbytime(struct channel* chnode, time_t akttime); |
---|
| 881 | char* epgdescunzip(struct epg* epgnode); |
---|
[18571] | 882 | struct epg* addoldentryepg(struct channel* chnode, struct epg* newnode, int flag); |
---|
| 883 | void deloldentryepg(struct epg* node); |
---|
[18673] | 884 | void clearepgentry(struct epg* node); |
---|
[18190] | 885 | |
---|
| 886 | //standby.h |
---|
| 887 | void screenstandby(); |
---|
| 888 | |
---|
| 889 | //channelcache.h |
---|
[18431] | 890 | void delchannelcache(int serviceid, uint64_t transponderid); |
---|
| 891 | struct channelcache* modifychannelcache(int serviceid, uint64_t transponderid, struct channel*); |
---|
| 892 | struct channel* getchannel(int serviceid, uint64_t transponderid); |
---|
[18190] | 893 | |
---|
| 894 | // vfd.h |
---|
| 895 | int setvfdicon(vfdicons id, int onoff); |
---|
| 896 | int writevfd(char *value); |
---|
[21191] | 897 | int writevfdmenu(char *value); |
---|
[18190] | 898 | |
---|
| 899 | //skinfunc.h |
---|
| 900 | char* getaktchannelname(); |
---|
| 901 | char* getrec(); |
---|
| 902 | |
---|
[19651] | 903 | //marker.h |
---|
| 904 | struct marker* addmarkernode(off64_t pos); |
---|
[19652] | 905 | int delmarkernode(off64_t pos); |
---|
[19681] | 906 | int delmarker(char* timetext); |
---|
[19662] | 907 | int getmarker(char* dateiname); |
---|
| 908 | int putmarker(char* dateiname); |
---|
[19663] | 909 | int setmarker(); |
---|
[19680] | 910 | int jumpmarker(char* timetext); |
---|
| 911 | void screenmarker(); |
---|
[19651] | 912 | |
---|
[19680] | 913 | |
---|
[18190] | 914 | #endif |
---|