aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-01-05[lcd4linux @ 2006-01-05 19:27:26 by reinelt]reinelt2-11/+55
HD44780 power supply from parport
2006-01-05[lcd4linux @ 2006-01-05 18:56:57 by reinelt]reinelt7-60/+100
more GPO stuff
2006-01-05[lcd4linux @ 2006-01-05 15:53:45 by nicowallmeier]nicowallmeier1-2/+5
fixed compatility with gcc 2.95
2006-01-03[lcd4linux @ 2006-01-03 13:20:05 by reinelt]reinelt8-5/+577
LUIse driver added
2006-01-03[lcd4linux @ 2006-01-03 06:13:44 by reinelt]reinelt10-228/+314
GPIO's for MatrixOrbital
2005-12-20[lcd4linux @ 2005-12-20 07:07:43 by reinelt]reinelt6-60/+134
further work on GPO's, HD44780 GPO support
2005-12-19[lcd4linux @ 2005-12-19 05:08:27 by reinelt]reinelt4-7<
/* $Id$
 * $URL$
 *
 * time plugin
 *
 * Copyright (C) 2003, 2004 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.
 *
 */

/* 
 * exported functions:
 *
 * int plugin_init_time (void)
 *  adds some handy time functions
 *
 */


#include "config.h"

#include <time.h>
#include <stdlib.h>
#include <string.h>

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


static void my_time(RESULT * result)
{
    double value = time(NULL);
    SetResult(&result, R_NUMBER, <
7-114/+268
LCD-Linux updated to 0.9.0
2005-08-22[lcd4linux @ 2005-08-22 05:44:43 by reinelt]reinelt10-45/+381
new driver 'WincorNixdorf' some fixes to the bar code
2005-08-21[lcd4linux @ 2005-08-21 08:18:56 by reinelt]reinelt3-73/+141
CrystalFontz ACK processing
2005-08-20[lcd4linux @ 2005-08-20 10:10:13 by reinelt]reinelt2-22/+63
TREFON patch from Stephan Trautvetter: drv_TF_init: CHAR0 set to 0 instead of 1 drv_TF_write: combine the GOTO and the data into one packet drv_TF_write: add GOTO-Case for resolutions 8x1/20x4 characters drv_TF_start: test for existing resolutions from TREFON USB-LCDs implemented the use of 'asc255bug 1' is recommendable
2005-07-06[lcd4linux @ 2005-07-06 04:40:18 by reinelt]reinelt3-10/+35
GCC-4 fixes
2005-06-19[lcd4linux @ 2005-06-19 17:57:06 by reinelt]reinelt2-20/+24
cosmetics...
2005-06-15[lcd4linux @ 2005-06-15 05:24:35 by reinelt]reinelt2-22/+44
updated LCD-Linux driver to version 0.8.9
2005-06-13[lcd4linux @ 2005-06-13 03:43:46 by reinelt]reinelt1-1/+6
undo PPEXCL activation...
2005-06-13[lcd4linux @ 2005-06-13 03:38:25 by reinelt]reinelt1-6/+9
try PPEXCL again, but ignore result
2005-06-11[lcd4linux @ 2005-06-11 10:57:45 by reinelt]reinelt2-12/+12
changed version to 0.10.1-CVS
2005-06-11[lcd4linux @ 2005-06-11 04:14:05 by reinelt]reinelt1-0/+7
final 0.10.0 release, Changelog updated
2005-06-10[lcd4linux @ 2005-06-10 11:22:28 by reinelt]reinelt3-5/+180
double-check for X11 headers (AC_PATH_XTRA is buggy)
2005-06-10[lcd4linux @ 2005-06-10 09:51:44 by reinelt]reinelt1-0/+0
depcomp removed
2005-06-10[lcd4linux @ 2005-06-10 05:02:28 by reinelt]reinelt1-1/+67
ChangeLog
2005-06-10[lcd4linux @ 2005-06-10 05:00:36 by reinelt]reinelt4-15/+16
version number set to 0.10.0
2005-06-10[lcd4linux @ 2005-06-10 04:54:10 by reinelt]reinelt1-6425/+0
removed ltmain.sh
2005-06-10[lcd4linux @ 2005-06-10 04:53:44 by reinelt]reinelt1-7040/+0
removed libtool and ltmain.sh
2005-06-09[lcd4linux @ 2005-06-09 17:41:47 by reinelt]reinelt3-160/+312
M50530 fixes (many thanks to Szymon Bieganski)
2005-06-06[lcd4linux @ 2005-06-06 09:24:07 by reinelt]reinelt2-6/+9
two bugs in plugin_mysql.c fixed
2005-06-03[lcd4linux @ 2005-06-03 17:04:52 by reinelt]reinelt3-205/+10
hopefully solved the AM_PYTHON_PATH issue finally
2005-06-03[lcd4linux @ 2005-06-03 04:45:57 by reinelt]reinelt3-4/+8
renamed AM_PYTHON to MY_PYTHON...
2005-06-01[lcd4linux @ 2005-06-01 12:50:25 by reinelt]reinelt1-184/+178
ifdef'ed unused function to avoid compiler warning
2005-06-01[lcd4linux @ 2005-06-01 12:46:31 by reinelt]reinelt4-22/+52
--with-python added to configure
2005-06-01[lcd4linux @ 2005-06-01 12:09:11 by reinelt]reinelt5-672/+641
removed ^M from lcd4linux_i2c.h; indent.sh run
2005-06-01[lcd4linux @ 2005-06-01 11:17:54 by pk_richman]pk_richman1-1497/+1500
marked unused parameters
2005-05-31[lcd4linux @ 2005-05-31 21:30:56 by lfcorreia]lfcorreia3-11/+14
fix my email address