* include/hbextern.ch
* source/rtl/dateshb.c
+ Added HB_UTCOFFSET() -> <nSecs> core function to return UTC offset
as signed number in seconds.
* contrib/hbwin/win_misc.c
+ Copied WIN_SYSREFRESH() from httpsrv. Bit reworked (types, goto,
64-bit compatibility, unnecessary outer loop), pls review.
* examples/httpsrv/uhttpd.hbp
- examples/httpsrv/uhttpdc.c
* examples/httpsrv/uhttpd.prg
* HB_UTCOFFSET() renamed to UHTTPD_UTCOFFSET() and rewritten as .prg.
! Using __PLATFORM__WINDOWS to enable WIN_SYSREFRESH() calls.
/* * $Id$ */ uHTTPD micro web server Build it without GD: hbmk2 uhttpd.hbp Build it with GD: hbmk2 uhttpdgd.hbp [ This one needs bgd.dll. Please download it from: http://www.libgd.org/releases/gd-latest-win32.zip ] Add -DUSE_HB_INET to command line if you want to use Harbour's built-in socket functions. To see accepted parameters run: uhttpd -? Parameters can also be defined using uhttpd.ini file. Before starting please build modules using: hbmk2 modules.hbp Once started connect to uhttpd using: http://localhost:8082 to see default index page. Francesco