Commit Graph
46 Commits
Author SHA1 Message Date
mmdolze 02bcab3407 Fix case statement. 2013-01-17 21:29:56 +00:00
mmdolze c9c3272eba Header fixes:
* Do not include system headers in shared files (stdlib.h).
* Don't include lcd.h only once in each driver.
* Remove some unnecessary headers from driver (e.g. syslog.h)
* Include <poll.h> instead of <sys/poll.h>
* Spelling fixes.
2011-03-28 18:17:58 +00:00
mmdolze fd9b2ce713 Big cleanup: Remove trailing whitespace from files (except those imported
from external sources).
2010-10-30 18:04:21 +00:00
mmdolze b2348d5b53 Update doxygen doc for lcdexec and lcdvc. 2010-02-03 21:50:57 +00:00
mmdolze 66023939a1 Cleanup and documentation updates:
- Remove shared/str.h where not used.
- Remove shared/debug.h from all files as it has been completely replaced
  by shared/report.h (it will be removed later).
- Add more doxygen comments to shared/* and clients/lcdproc/*.
- Include static functions in doxygen output.
2010-02-02 23:20:29 +00:00
mmdolze 0f9206d36c Test the availability of SA_RESTART and use it conditionally. 2009-11-01 08:38:58 +00:00
mmdolze 362aa05fd2 Fix de-selecting of drivers in configure by removing non-portable switch to sed.
Silent some compiler and lint warnings.
2009-11-01 08:32:50 +00:00
mmdolze 10fba98c88 Check for getopt instead of getopt_long to decide if the system has a
working getopt implementation (we don't use getopt_long at all).
Include {topdir}/shared for the clients so they pull in our included
getopt.h. This fixes bulding on systems which have getopt(), but no getopt.h.
2009-06-06 16:01:38 +00:00
mmdolze 8e291370c3 Include strings.h which is needed for strcasemp. Some systems declare them
in string.h, but it should be possible to include both.
2009-05-30 11:20:16 +00:00
mmdolze b1ce0c1729 Update copyright dates 2009-05-19 06:51:32 +00:00
marschap c0f4a7008c use termination function on SIGPIPE (write to closed socket) too 2008-05-02 09:58:58 +00:00
marschap bdd5fd780a explicitely note & check whether a pidfile was written 2008-02-15 07:41:09 +00:00
marschap c68e1aca72 add PID file handling to clients (including signal handling to remove the files) 2008-01-06 17:03:51 +00:00
marschap b1ddc49221 lcdexec: parameter support using widgets enabled (currently only marginally
documented in lcdexec.conf)
2007-10-13 15:14:26 +00:00
marschap 898e21be25 lcdexec: Worked around parameter issue by automatically adding an Action entry
as last parameter menu entry.
2007-10-11 19:29:34 +00:00
marschap 6ecb4854b4 lcdexec: parameter support using widgets; hidden behind compile time option 2007-10-11 08:17:59 +00:00
marschap 6a6b44778c doxygenate a little more 2007-10-04 16:30:19 +00:00
marschap 5b55abd4f8 a little bit of Doxygen ... 2007-10-04 13:51:53 +00:00
marschap 41631e345f display info screen upon exit of a command invoked by lcdexec 2007-04-15 16:51:17 +00:00
marschap 28c7487ec7 add handler for SIG_CHLD 2007-04-14 19:21:36 +00:00
marschap a44091f6fe remove compile-time option to get configuration from LDAP 2007-04-14 07:54:27 +00:00
marschap dbecc44205 explicitely declare void function args and static functions 2007-04-11 11:54:55 +00:00
marschap 25c18aa3df explicitely declare void function args 2007-04-11 11:07:22 +00:00
marschap 53317eac47 allow compiling with LDFLAG "--as-needed" (Robert Buchholz) 2006-11-25 10:54:01 +00:00
marschap 9b7fa552a3 default to foreground=FALSE even without config file 2006-11-19 14:33:01 +00:00
marschap 8132527567 allow configuration of Shell in lcdexec.conf;
fall back to $SHELL if not set, and to /bin/sh if $SHELL is not set
2006-10-22 13:04:01 +00:00
marschap 3a57ecfda0 harmonize help messages 2006-09-30 20:32:14 +00:00
mmdolze 35efb1df57 Add typecast to execv call.
Declare function menu_dump.
2006-09-21 05:29:06 +00:00
marschap 29b70ee8d6 rely on #include "getopt" to provide getopt's global variables 2006-09-20 08:14:57 +00:00
marschap 255dbfd7ab use type large enough to hold getopt() return values 2006-09-19 08:02:20 +00:00
marschap cc2c84a7b8 declare constant function parameters const (as well as constant function return values) 2006-09-12 16:23:24 +00:00
marschap 89997fb68d align help screen descriptions 2006-06-18 20:53:32 +00:00
marschap 629b0a7c90 correct generation of sub-menus 2006-06-05 09:59:23 +00:00
marschap 5fc4dfc562 fix sock_connect() to return -1 on all errors (Frederick Nacino) 2006-05-07 10:08:31 +00:00
marschap 920d4e51d4 remove undocumented option 2006-04-29 20:01:37 +00:00
marschap c52083f2a5 reworked menu definition in config file to be more elegant and more flexible 2006-04-29 19:44:11 +00:00
marschap ecc9320b54 fix a few warnings; tighten arg checks; harmonize -f handling: it is a simple flag! 2006-04-28 17:10:25 +00:00
marschap ff0cb79b17 let lcdproc & lcdexec have their own private config file;
install server & client config files to $(sysconfdir) (using automake features)
2006-04-15 19:48:11 +00:00
marschap cf0e82ddf7 initialize counter variables to fix core dumpswhen reading config file -
patch provided by M. Dolze
2006-02-17 18:47:34 +00:00
marschap 5b4c15c2a6 remove duplicate "break" 2006-01-18 20:56:46 +00:00
marschap e0bc105759 add GNU getopti & check for it; prepare for use with getopt_long() 2006-01-16 19:53:28 +00:00
marschap aeffd250a1 require automake 1.7 in condifure.in; update all Makefile.am: add comments,
replace obsoleted INCLUDES by AM_CPPFLAGS
2006-01-16 19:36:58 +00:00
marschap 3771a8273e added .cvsignore files, thanks to Volker Boerchers for his contribution 2005-05-22 07:16:48 +00:00
reenoo 90f3da6cd4 fix compile error with gcc-3.4.1; patch courtesy of Klaus Fetscher 2004-07-16 20:12:28 +00:00
reenoo e4e948523f LDAP support added
- This patch enables LCDd to retrieve its configuration
  options from an LDAP directory.
- The code was tested with OpenLDAP 2.1.x (21<=x<=22) only.
- LDAP support is disabled by default and has to be enabled
  with ./configure --enable-ldap.
  (See ./configure --help for other options. Not all options
  have any effect yet.)
- Currently only anonymous LDAP binds are supported.
- The DN of the main configuration object has to be passed to LCDd
  instead of the configuration file location:
  LCDd -c "ldap://yourhost.yourcompany.com/cn=config1,cn=lcdproc,dc=yourcompany dc=COM"
  The basic idea behind the LCDproc object classes is that they
  are more or less verbatim copies of the corresponding sections in a
  generic LCDd.conf
- Unfortunately schema files cannot be provided yet, because LCDproc does
  not have a registered OID namespace and OID hijacking is prohibited.
2003-12-25 15:02:34 +00:00
robijn 6da4b44139 Added lcdexec 2002-08-19 20:47:52 +00:00