/* $Id$ * $URL$ * * expression evaluation * * Copyright (C) 2003 Michael Reinelt <michael@reinelt.co.at> * Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net> * * This file is part of LCD4Linux. * * LCD4Linux is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * LCD4Linux is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ #ifndef _EVALUATOR_H_ #define _EVALUATOR_H_ /* RESULT bitmask */ #define R_NUMBER 1 #define R_STRING 2 typedef struct { int type; int size; double number; char *string; } RESULT; /* strndup() may be not available on several platforms */ #ifndef HAVE_STRNDUP #include <string.h> char *strndup(const char *source, size_t len); #endif int SetVariable(const char *name, RESULT * value); int SetVariableNumeric(const char *name, const double value); int SetVariableString(const char *name, const char *value); int AddFunction(const char *name, const int argc, void (*func) ()); void DeleteVariables(void); void DeleteFunctions(void); void DelResult(RESULT * result); RESULT *SetResult(RESULT ** result, const int type, const void *value); RESULT *CopyResult(RESULT ** result, RESULT * value); double R2N(RESULT * result); char *R2S(RESULT * result); int Compile(const char *expression, void **tree); int Eval(void *tree, RESULT * result); void DelTree(void *tree); #endif range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/dtv-scan-tables.git/log/?showmsg=1&follow=1'>root</a>/<a href='/dtv-scan-tables.git/log/isdb-t?showmsg=1&follow=1'>isdb-t</a>/<a href='/dtv-scan-tables.git/log/isdb-t/br-ba-SaoMiguelDasMatas?showmsg=1&follow=1'>br-ba-SaoMiguelDasMatas</a> (<a href='/dtv-scan-tables.git/log/isdb-t/br-ba-SaoMiguelDasMatas?showmsg=1'>unfollow</a>)</div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/dtv-scan-tables.git/log/isdb-t/br-ba-SaoMiguelDasMatas?follow=1'>Collapse</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr> <tr class='logheader'><td><span title='2024-01-31 13:08:32 +0100'>2024-01-31</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/isdb-t/br-to-Tocantinopolis?id=e810c267c3a6960c8d57935bb1a9b334026038ed&follow=1'>isdb-t: Update Brazil channel lists</a></td><td>Mauro Carvalho Chehab</td><td>1935</td><td><span class='deletions'>-11312</span>/<span class='insertions'>+70605</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> Use the current lists from portalbsd.com. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> </td></tr> <tr class='logheader'><td><span title='2024-01-30 17:34:57 +0100'>2024-01-30</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-s/Trksat-3A4A-42.0E?id=76c5a9110f7ee40fd1c63eca8ca84b125a0ac11e&follow=1'>dvb-s: drop transponders that aren't there at Lyngsat anymore</a></td><td>Mauro Carvalho Chehab</td><td>50</td><td><span class='deletions'>-20357</span>/<span class='insertions'>+0</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> Those transponders may have been renamed or decommissioned. So, drop them. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> </td></tr> <tr class='logheader'><td><span title='2024-01-30 17:31:26 +0100'>2024-01-30</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-s/Yamal-601-49.0E?id=118e8c00436b524273499b6c01b0c4e77083a4b5&follow=1'>dvb-s: update from today's Lyngsat report</a></td><td>Mauro Carvalho Chehab</td><td>196</td><td><span class='deletions'>-15543</span>/<span class='insertions'>+15859</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> </td></tr> <tr class='logheader'><td><span title='2024-01-30 17:06:37 +0100'>2024-01-30</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-t/uk-WinterHill?id=fca403cc92717328bccb3b2a4c747a474632c0da&follow=1'>dtv-scan-tables: full uk transmitter update</a></td><td>Simon Liddicott</td><td>81</td><td><span class='deletions'>-500</span>/<span class='insertions'>+163</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> updates all transmitter files, removes discontinued muxes Link: https://lore.kernel.org/linux-media/20230216010528.5921-1-simon@liddicott.com Signed-off-by: Simon Liddicott <simon@liddicott.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> </td></tr> <tr class='logheader'><td><span title='2022-11-25 11:46:20 +0000'>2022-11-25</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-c/hu-Digikabel?id=833d4cc1dddb3560e93ef7dc6951ab5c204b5c13&follow=1'>dtv-scan-tables: hu-Digikabel changes</a></td><td>Hrotkó Gábor</td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+26</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> Modifications by: https://digi.hu/tv/csatornalista FREQUENCY = 121000000 Link: https://lore.kernel.org/linux-media/8c632dad-d428-402e-a171-baf7234f2d85@gmail.com Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> </td></tr> <tr class='logheader'><td><span title='2022-04-30 16:02:58 +0100'>2022-04-30</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-t/pt-All?id=57ed2982275045ea5e92ef2a40b9fa58255852e5&follow=1'>pt-All: fix modulation</a></td><td>Mauro Carvalho Chehab</td><td>1</td><td><span class='deletions'>-10</span>/<span class='insertions'>+10</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> </td></tr> <tr class='logheader'><td><span title='2022-04-30 15:50:08 +0100'>2022-04-30</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-t/pt-All?id=5f7b549da3c7ed1e9dfe4fcbbda742a9d7ee5aec&follow=1'>pt-All: Update Portugal channels</a></td><td>Mauro Carvalho Chehab</td><td>1</td><td><span class='deletions'>-34</span>/<span class='insertions'>+70</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> There were some changes at Portugal channel frequencies, mostly in 2020. Update the DVB-T channel list accordingly, in order to reflect the current list of emitters. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> </td></tr> <tr class='logheader'><td><span title='2022-03-07 17:34:29 +0100'>2022-03-07</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/isdb-t/br-to-Palmas?id=e403f83644167e240668c0668a8de04532060683&follow=1'>Update Brazilian ISDB-T tables</a></td><td>Mauro Carvalho Chehab</td><td>549</td><td><span class='deletions'>-2923</span>/<span class='insertions'>+13860</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> </td></tr> <tr class='logheader'><td><span title='2022-03-07 17:05:00 +0100'>2022-03-07</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-s/Intelsat-38-45.1E?id=0eb034356d9699799ed8633ac3fe01622d39e6ff&follow=1'>Update satellite channel lists from Lyngsat</a></td><td>Mauro Carvalho Chehab</td><td>54</td><td><span class='deletions'>-1882</span>/<span class='insertions'>+2326</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> </td></tr> <tr class='logheader'><td><span title='2021-12-14 12:36:28 +0100'>2021-12-14</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-t/uk-WinterHill?id=5acecf65ccd5633c50b8c199cce50fb734635097&follow=1'>dtv-scan-tables: latest UK changes</a></td><td>Simon Liddicott</td><td>4</td><td><span class='deletions'>-24</span>/<span class='insertions'>+24</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> only includes transmitters where there have been changes Link: https://lore.kernel.org/linux-media/20210128234622.75009-1-simon@liddicott.com Signed-off-by: Simon Liddicott <simon@liddicott.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> </td></tr> <tr class='logheader'><td><span title='2021-04-30 21:33:05 +0200'>2021-04-30</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/isdb-t/br-to-Tupirama?id=25ee9e0ce4bbacdb278d4cff306ceb6528c4f548&follow=1'>update Brazilian scan files</a></td><td>Mauro Carvalho Chehab</td><td>2476</td><td><span class='deletions'>-12805</span>/<span class='insertions'>+69312</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> Data updated according with https://portalbsd.com.br/. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> </td></tr> <tr class='logheader'><td><span title='2021-04-30 13:29:02 +0200'>2021-04-30</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-s/Yamal201-90.0E?id=66ec1eabbf6a596b42f6d4802b6aead3e8ba1ad5&follow=1'>Remove legacy entries</a></td><td>Mauro Carvalho Chehab</td><td>129</td><td><span class='deletions'>-24898</span>/<span class='insertions'>+0</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> There are several entries that used to be at Lyngsat. Several of them were merged with other entries. On others, there's no TV signal anymore. So, drop them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> </td></tr> <tr class='logheader'><td><span title='2021-04-30 13:28:58 +0200'>2021-04-30</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-s/Yamal-601-49.0E?id=f46e7874dd45f03f47b31e8cd56108f3f10711f8&follow=1'>Add new satellites from Lyngsat</a></td><td>Mauro Carvalho Chehab</td><td>75</td><td><span class='deletions'>-21</span>/<span class='insertions'>+29721</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> Those are are new satellite descriptions that didn't use to exist on Lyngsat. Add them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> </td></tr> <tr class='logheader'><td><span title='2021-04-30 10:31:15 +0200'>2021-04-30</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-s/Intelsat-38-45.1E?id=137a4b9176f8fb074c955a49ae97865d2fb85095&follow=1'>Rename a few satellites with two names and update frequencies</a></td><td>Mauro Carvalho Chehab</td><td>2</td><td><span class='deletions'>-283</span>/<span class='insertions'>+182</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> Those two satellites have two names. Use Just one of them. While here, update their frequencies from Lyngsat. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> </td></tr> <tr class='logheader'><td><span title='2021-04-30 10:29:42 +0200'>2021-04-30</span></td><td class='logsubject'><a href='/dtv-scan-tables.git/commit/dvb-s/Yamal-402-54.9E?id=cf6e4b502139112c82f092001eb6b9ac3912182a&follow=1'>Update frequencies from Lyngsat</a></td><td>Mauro Carvalho Chehab</td><td>188</td><td><span class='deletions'>-12304</span>/<span class='insertions'>+12666</span></td></tr> <tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> </td></tr>