Commit Graph
22 Commits
Author SHA1 Message Date
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 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 b197729ad8 Include <errno.h> instead of <sys/errno.h> everywhere (found by S. Klauer). 2009-10-17 19:19:09 +00:00
mmdolze 6e781ed0a0 Teach all drivers to use local report.h instead of shared/report.h.
Remove all references to shared/debug.h as well (was unused in all cases).
2009-09-14 18:36:44 +00:00
mmdolze e33ba1b41b Update drivers to return 0 (zero) on success. 2009-07-07 21:36:37 +00:00
marschap b284a94751 keep structure declarations confined to the file where they are used 2008-12-21 13:01:33 +00:00
marschap 065fb021fe Doxygen-ize 2008-12-21 12:57:46 +00:00
marschap 81ebe5ae88 first step in Doxygen-ization 2008-12-21 10:04:37 +00:00
marschap 1899ff755c make including config.h always depend on HAVE_CONFIG_H; replace printf() by debug() 2007-06-17 10:20:55 +00:00
marschap 9b111eeac4 cleanup: remove unnecessary (=invisible) leading spaces 2006-04-27 15:01:49 +00:00
marschap a92603f96e harmonize messages 2006-04-08 17:29:44 +00:00
marschap 743871cff3 make get_key() result const char *, so that it is not modified 2006-04-06 13:25:14 +00:00
marschap 17914dfbf6 update irman driver to v0.5 API, lirc as well 2006-04-05 20:04:39 +00:00
marschap 0ec83bdc66 get rid of old cruft: remove args argument from the modules' init() routines 2005-07-02 13:38:51 +00:00
marschap f562bb6c57 added patch from Lucian Muresan to make irman driver compile again
(note: nobody said it works ;-)
2005-05-26 19:49:01 +00:00
marschap b3230cf90f - update drivers to use new API
(get rid of those pseudo options named 'Arguments' in the config file)
- replace printf / printf calls by debug / report calls in some drivers
- sort and extend LCDd.conf
2005-01-29 18:49:29 +00:00
robijn dba163c4a4 Drivers are now being loaded as modules. 2002-02-21 22:50:12 +00:00
ppokorny 00cc9fca23 + Changed protocol to 0.3 because we now accept both -foo and foo
as argument introducers.  in 0.4-pre10, these were changed
   from foo to -foo and this broke many clients.  This change
   should fix that and be backward/forward compatible.
 + Added a noop function to the protocol.  This is useful for writing
   shell script clients of LCDproc.
 + Changed the shared sock_send_string function to NOT send the
   ending NUL ('\0') byte with the string.  This was confusing
   in Perl clients which saw NUL's as the first character of
   each reply.  WARNING: The LCDPROC client depended on this
   behavior, your client may too.  Use the newline instead.
   See the code in clients/lcdproc/main.c (look for "switch(buf[i])")
   to see one way to handle this.  This should allow new clients
   to connect to old servers and vice-versa.
 + Messed with include structure in .c files.  It should no longer
   be necessary to specify ../.. to get to shared code headers.
   Also, since we are using automake, the global config.h can be
   found with just #include "config.h" as it's location is included
   in a -I to the compilers.  As a result "make distcheck" now works.
2001-05-25 03:14:27 +00:00
William Ferrell 6a115b4446 More formatting changes, new tags file. 2000-04-03 22:13:57 +00:00
William Ferrell ddfd41f53e More formatting updates. Reduced whitespace, looks even better. 2000-03-30 20:43:33 +00:00
William Ferrell f5a5e9653b Removed lcddriver.c (doesn't do anything, isn't in any makefiles, etc.).
Passed *every* piece of source in this project through indent. I'm setting
things up with ctags soon and am actually going to *gasp* use a nice
programming environment to continue development in. :)
2000-03-30 20:20:41 +00:00
William Ferrell 2635c3085d Initial revision 1999-12-09 23:15:14 +00:00