[PATCH] updates for examples/VFS/*

Stefan (metze) Metzmacher metze at metzemix.de
Fri Aug 8 10:26:54 GMT 2003


(sorry missed the attachment last time :-( )

Hi Jelmer,

here's my patch for examples/VFS/*

1) configure autodetect the samba version from include/version.h
this can be overwritten with configure --with-samba-version="3.0.0rc1cvs"
for vendors which changed include/version.h

there
SAMBA_VERSION_MAJOR
SAMBA_VERSION_MINOR
SAMBA_VERSION_REALEASE
...
macros is module_config.h defined  then

2) I add a skel_compat module which compiles on 2.2.* and 3.0.*

3) the skel_* modules include module_config.h (which holds SAMBA_VERSION_* 
defines) now
and I add the skel_sendfile function which were missing

Enjoy your flight!:-)



metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3_0-vfs-examples-01.diff
Type: application/octet-stream
Size: 83589 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030808/509739a4/3_0-vfs-examples-01.obj


More information about the samba-technical mailing list