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