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