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