aboutsummaryrefslogtreecommitdiffstats
path: root/dvb-t/se-Langshyttan_Engelsfors (follow)
AgeCommit message (Collapse)AuthorFilesLines
2007-05-16overall whitespace & encoding fixesChristoph Pfister1-1/+1
patch from Matthias Schwarzott: - use utf8 everywhere for files & file names additionally by me: - remove empty lines at the beginning of the files - remove any control character (< 0x20) except \n and \t - remove trailing whitespace - exactly one newline at the end of the files - remove junk from dvb-t/au-Melbourne-Upwey
2006-11-16Updates for Sweden from Richard LithvallAndrew de Quincey1-0/+3
2004-01-17DVB apps/utils from old "DVB" CVS tree, mildly edited to makeJohannes Stezenbach1-3/+0
them compile with the dvb-kernel DVB API includes (uint32_t etc.) --- Makefile | 8 TODO | 3 util/scan/dvb-c/at-Vienna | 3 util/scan/dvb-c/ch-unknown | 3 util/scan/dvb-c/de-Berlin | 4 util/scan/dvb-c/de-iesy | 3 util/scan/dvb-c/fi-3ktv | 3 util/scan/dvb-c/fi-vaasa-oncable | 13 + util/scan/dvb-s/Astra-19.2E | 3 util/scan/dvb-s/Hispasat-30.0W | 6 util/scan/dvb-s/Hotbird-13.0E | 3 util/scan/dvb-s/PAS-43.0W | 6 util/scan/dvb-s/Sirius-5.0E | 5 util/scan/dvb-s/Telecom2-8.0W | 4 util/scan/dvb-s/Telstar12-15.0W | 4 util/scan/dvb-s/Thor-1.0W | 8 util/scan/dvb-s/Turksat-42.0E | 4 util/scan/dvb-t/au-Darwin | 5 util/scan/dvb-t/au-canberra | 12 + util/scan/dvb-t/au-sydney_north_shore | 12 + util/scan/dvb-t/au-unknown | 3 util/scan/dvb-t/de-Berlin | 5 util/scan/dvb-t/es-Collserola | 6 util/scan/dvb-t/fi-Espoo | 3 util/scan/dvb-t/fi-Turku | 3 util/scan/dvb-t/uk-BlackHill | 3 util/scan/dvb-t/uk-CrystalPalace | 3 util/scan/dvb-t/uk-Hannington | 3 util/scan/dvb-t/uk-Oxford | 3 util/scan/dvb-t/uk-PontopPike | 3 util/scan/dvb-t/uk-Redruth | 3 util/scan/dvb-t/uk-Reigate | 3 util/scan/dvb-t/uk-Rowridge | 3 util/scan/dvb-t/uk-SandyHeath | 3 util/scan/dvb-t/uk-Storeton | 3 util/scan/dvb-t/uk-WinterHill | 3 util/szap/channels.conf-dvbc-berlin | 171 +++++++++++++++++++++ util/szap/channels.conf-dvbs-astra | 226 ++++++++++++++++++++++++++++ util/szap/channels.conf-dvbt-australia | 31 +++ util/szap/channels.conf-dvbt-berlin | 51 ++++++ util/szap/channels.conf-dvbt-collserola | 25 +++ util/szap/channels.conf-dvbt-crystal-palace | 70 ++++++++ util/szap/channels.conf-dvbt-hannington | 28 +++ util/szap/channels.conf-dvbt-madrid | 16 + util/szap/channels.conf-dvbt-oxford | 41 +++++ util/szap/channels.conf-dvbt-reigate | 51 ++++++ util/szap/channels.conf-dvbt-sandy_heath | 13 + 47 files changed, 888 insertions(+) +++ scanscan/dvb-c/at-Vienna @@ -0,0 +1,3 @@ +# Kabel Vienna +# freq sr fec mod +C 377750000 6900000 NONE QAM256
2007-05-16overall whitespace & encoding fixesChristoph Pfister1-1/+1
patch from Matthias Schwarzott: - use utf8 everywhere for files & file names additionally by me: - remove empty lines at the beginning of the files - remove any control character (< 0x20) except \n and \t - remove trailing whitespace - exactly one newline at the end of the files - remove junk from dvb-t/au-Melbourne-Upwey
2006-11-16Updates for Sweden from Richard LithvallAndrew de Quincey1-0/+3
.w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .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: plugin_uname.c,v 1.5 2005/01/18 06:30:23 reinelt Exp $
 *
 * plugin for uname() syscall
 *
 * 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.
 *
 *
 * $Log: plugin_uname.c,v $
 * Revision 1.5  2005/01/18 06:30:23  reinelt
 * added (C) to all copyright statements
 *
 * Revision 1.4  2005/01/09 10:53:24  reinelt
 * small type in plugin_uname fixed
 * new homepage lcd4linux.bulix.org
 *
 * Revision 1.3  2004/03/03 03:47:04  reinelt
 * big patch from Martin Hejl:
 * - use qprintf() where appropriate
 * - save CPU cycles on gettimeofday()
 * - add quit() functions to free allocated memory
 * - fixed lots of memory leaks
 *
 * Revision 1.2  2004/01/29 04:40:02  reinelt
 * every .c file includes "config.h" now
 *
 * Revision 1.1  2004/01/14 11:33:00  reinelt
 * new plugin 'uname' which does what it's called
 * text widget nearly finished
 * first results displayed on MatrixOrbital
 *
 */

/* 
 * exported functions:
 *
 * int plugin_init_uname (void)
 *  adds uname() functions
 *
 */


#include "config.h"

#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/utsname.h>

#include "debug.h"
#include "plugin.h"



static void my_uname (RESULT *result, RESULT *arg1)
{
  struct utsname utsbuf;
  char *key, *value;
  
  key=R2S(arg1);
  
  if (uname(&utsbuf)!=0) {
    error("uname() failed: %s", strerror(errno));
    SetResult(&result, R_STRING, ""); 
    return;
  }

  if (strcasecmp(key, "sysname")==0) {
    value=utsbuf.sysname;
  } else if  (strcasecmp(key, "nodename")==0) {
    value=utsbuf.nodename;
  } else if  (strcasecmp(key, "release")==0) {
    value=utsbuf.release;
  } else if  (strcasecmp(key, "version")==0) {
    value=utsbuf.version;
  } else if  (strcasecmp(key, "machine")==0) {
    value=utsbuf.machine;
#ifdef _GNU_SOURCE
  } else if  (strcasecmp(key, "domainname")==0) {
    value=utsbuf.domainname;
#endif
  } else {
    error("uname: unknown field '%s'", key);
    value="";
  }

  SetResult(&result, R_STRING, value); 
}


int plugin_init_uname (void)
{
  AddFunction ("uname",   1, my_uname);
  return 0;
}

void plugin_exit_uname(void) 
{
}