aboutsummaryrefslogtreecommitdiffstats
path: root/dvb-t/se-Dadran
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2014-12-28 13:19:47 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2014-12-28 13:19:47 +0000
commit4500e42b1bd162ca4a91c5096918fc56410de30f (patch)
treed5bce950aa9716404298f4cd75d2a3b0b7c83bf0 /dvb-t/se-Dadran
parent6a4826f9d965ba04738085602e80a867c78c81f1 (diff)
downloaddtv-scan-tables-4500e42b1bd162ca4a91c5096918fc56410de30f.tar.gz
Imported Upstream version 0+git20141218.b46a22cupstream/0+git20141218.b46a22c
Diffstat (limited to '')
-rw-r--r--dvb-t/se-Dadran1
1 files changed, 0 insertions, 1 deletions
diff --git a/dvb-t/se-Dadran b/dvb-t/se-Dadran
index 8550d04..a9733eb 100644
--- a/dvb-t/se-Dadran
+++ b/dvb-t/se-Dadran
@@ -1,5 +1,4 @@
# Sweden - Dådran
-# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy
[CHANNEL]
DELIVERY_SYSTEM = DVBT
FREQUENCY = 754000000
light .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/* $Id$
 * $URL$
 *
 * expression evaluation
 *
 * Copyright (C) 2003 Michael Reinelt <reinelt@eunet.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;

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);

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