From 76ffcfa4c6fb4cf45126bfd97c3ab0affe1e8e0d Mon Sep 17 00:00:00 2001 From: reinelt Date: Sat, 10 Jan 2004 17:45:26 +0000 Subject: [lcd4linux @ 2004-01-10 17:45:26 by reinelt] changed initialization order so cfg() gets initialized before plugins. This way a plugin's init() can use cfg_get(). Thanks to Xavier for reporting this one! git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@303 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- lcd4linux.c | 11 ++++++++--- plugin.c | 9 +++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/lcd4linux.c b/lcd4linux.c index 28e39ff..745c8e3 100644 --- a/lcd4linux.c +++ b/lcd4linux.c @@ -1,4 +1,4 @@ -/* $Id: lcd4linux.c,v 1.56 2004/01/09 17:03:07 reinelt Exp $ +/* $Id: lcd4linux.c,v 1.57 2004/01/10 17:45:26 reinelt Exp $ * * LCD4Linux * @@ -22,6 +22,11 @@ * * * $Log: lcd4linux.c,v $ + * Revision 1.57 2004/01/10 17:45:26 reinelt + * changed initialization order so cfg() gets initialized before plugins. + * This way a plugin's init() can use cfg_get(). + * Thanks to Xavier for reporting this one! + * * Revision 1.56 2004/01/09 17:03:07 reinelt * initiated transfer to new driver architecture * new file 'drv.c' will someday replace 'display.c' @@ -456,10 +461,10 @@ int main (int argc, char *argv[]) info ("invoked without full path; restart may not work!"); } - if (plugin_init()==-1) + if (cfg_init(cfg)==-1) exit (1); - if (cfg_init(cfg)==-1) + if (plugin_init()==-1) exit (1); display=cfg_get(NULL, "Display", NULL); diff --git a/plugin.c b/plugin.c index 0729a02..44363d3 100644 --- a/plugin.c +++ b/plugin.c @@ -1,4 +1,4 @@ -/* $Id: plugin.c,v 1.6 2004/01/10 17:36:56 reinelt Exp $ +/* $Id: plugin.c,v 1.7 2004/01/10 17:45:26 reinelt Exp $ * * plugin handler for the Evaluator * @@ -22,6 +22,11 @@ * * * $Log: plugin.c,v $ + * Revision 1.7 2004/01/10 17:45:26 reinelt + * changed initialization order so cfg() gets initialized before plugins. + * This way a plugin's init() can use cfg_get(). + * Thanks to Xavier for reporting this one! + * * Revision 1.6 2004/01/10 17:36:56 reinelt * * I2C Sensors plugin from Xavier added @@ -91,7 +96,7 @@ int plugin_init (void) plugin_init_math(); plugin_init_string(); plugin_init_xmms(); - plugin_init_i2c_sensors; + plugin_init_i2c_sensors(); return 0; } -- cgit v1.2.3 tv-scan-tables.git/log/isdb-t/br-pr-ItaunaDoSul?showmsg=1&follow=1'>Expand)AuthorFilesLines 2024-01-31isdb-t: Update Brazil channel listsMauro Carvalho Chehab1935-11312/+70605 2024-01-30dvb-s: drop transponders that aren't there at Lyngsat anymoreMauro Carvalho Chehab50-20357/+0 2024-01-30dvb-s: update from today's Lyngsat reportMauro Carvalho Chehab196-15543/+15859 2024-01-30dtv-scan-tables: full uk transmitter updateSimon Liddicott81-500/+163 2022-11-25dtv-scan-tables: hu-Digikabel changesHrotkó Gábor1-1/+26 2022-04-30pt-All: fix modulationMauro Carvalho Chehab1-10/+10 2022-04-30pt-All: Update Portugal channelsMauro Carvalho Chehab1-34/+70 2022-03-07Update Brazilian ISDB-T tablesMauro Carvalho Chehab549-2923/+13860 2022-03-07Update satellite channel lists from LyngsatMauro Carvalho Chehab54-1882/+2326 2021-12-14dtv-scan-tables: latest UK changesSimon Liddicott4-24/+24 2021-04-30update Brazilian scan filesMauro Carvalho Chehab2476-12805/+69312 2021-04-30Remove legacy entriesMauro Carvalho Chehab129-24898/+0 2021-04-30Add new satellites from LyngsatMauro Carvalho Chehab75-21/+29721 2021-04-30Rename a few satellites with two names and update frequenciesMauro Carvalho Chehab2-283/+182 2021-04-30Update frequencies from LyngsatMauro Carvalho Chehab188-12304/+12666