diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-02-09 16:51:46 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-02-09 16:51:46 +0100 |
commit | 9b366d703210b493aa1389bbdd288a2b00958766 (patch) | |
tree | 12acaf89af2c6bd2610018d267e2d8030d9b4bd6 /examples | |
parent | 6d139ca4680abcbda5110f2f0886aa038ff62088 (diff) | |
parent | 1dadf17be847e3f93b72988bcc7e8620a8d5908c (diff) | |
download | samba-9b366d703210b493aa1389bbdd288a2b00958766.tar.gz samba-9b366d703210b493aa1389bbdd288a2b00958766.tar.bz2 samba-9b366d703210b493aa1389bbdd288a2b00958766.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/Makefile.in | 12 | ||||
-rw-r--r-- | examples/VFS/configure.in | 8 | ||||
-rw-r--r-- | examples/VFS/skel_opaque.c | 6 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 6 |
4 files changed, 17 insertions, 15 deletions
diff --git a/examples/VFS/Makefile.in b/examples/VFS/Makefile.in index 4de0efd29e..8fe414a9e8 100644 --- a/examples/VFS/Makefile.in +++ b/examples/VFS/Makefile.in @@ -9,12 +9,14 @@ SHLIBEXT = @SHLIBEXT@ OBJEXT = @OBJEXT@ FLAGS = $(CFLAGS) $(CPPFLAGS) -fPIC \ -Iinclude -I$(SAMBA_SOURCE)/include \ - -I$(SAMBA_SOURCE)/popt \ - -I$(SAMBA_SOURCE)/lib/replace \ - -I$(SAMBA_SOURCE)/lib/talloc \ - -I$(SAMBA_SOURCE)/lib/tdb/include \ - -I$(SAMBA_SOURCE)/smbwrapper \ + -I$(SAMBA_SOURCE)/../popt \ + -I$(SAMBA_SOURCE)/../lib/replace \ + -I$(SAMBA_SOURCE)/../lib/talloc \ + -I$(SAMBA_SOURCE)/../lib/tevent \ + -I$(SAMBA_SOURCE)/../lib/tdb/include \ -I$(SAMBA_SOURCE)/librpc \ + -I$(SAMBA_SOURCE)/../librpc \ + -I$(SAMBA_SOURCE)/../ \ -I$(SAMBA_SOURCE) -I. diff --git a/examples/VFS/configure.in b/examples/VFS/configure.in index b8e10d482b..4e9d46544d 100644 --- a/examples/VFS/configure.in +++ b/examples/VFS/configure.in @@ -27,11 +27,11 @@ AC_ARG_WITH(fhs, AC_SUBST(libdir) -SAMBA_SOURCE="../../source" +SAMBA_SOURCE="../../source3" #################################################### # set the location location of the samba source tree AC_ARG_WITH(samba-source, -[ --with-samba-source=DIR Where is the samba source tree (../../source)], +[ --with-samba-source=DIR Where is the samba source tree (../../source3)], [ case "$withval" in yes|no) # @@ -337,11 +337,11 @@ AC_CACHE_CHECK([whether building shared libraries actually works], ac_cv_shlib_works=no # try building a trivial shared library if test "$PICSUFFIX" = "po"; then - $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.po ${srcdir-.}/../../source/tests/shlib.c && + $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.po ${srcdir-.}/../../tests/shlib.c && $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o "shlib.$SHLIBEXT" shlib.po && ac_cv_shlib_works=yes else - $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.$PICSUFFIX ${srcdir-.}/tests/shlib.c && + $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.$PICSUFFIX ${srcdir-.}/../../tests/shlib.c && mv shlib.$PICSUFFIX shlib.po && $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o "shlib.$SHLIBEXT" shlib.po && ac_cv_shlib_works=yes diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 48b497922a..2eb7a94776 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -52,9 +52,9 @@ static void skel_disconnect(vfs_handle_struct *handle, connection_struct *conn) return; } -static SMB_BIG_UINT skel_disk_free(vfs_handle_struct *handle, const char *path, - bool small_query, SMB_BIG_UINT *bsize, - SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) +static uint64_t skel_disk_free(vfs_handle_struct *handle, const char *path, + bool small_query, uint64_t *bsize, + uint64_t *dfree, uint64_t *dsize) { return vfswrap_disk_free(NULL, path, small_query, bsize, dfree, dsize); diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index f5562a5f44..5670965417 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -46,9 +46,9 @@ static void skel_disconnect(vfs_handle_struct *handle) SMB_VFS_NEXT_DISCONNECT(handle); } -static SMB_BIG_UINT skel_disk_free(vfs_handle_struct *handle, const char *path, - bool small_query, SMB_BIG_UINT *bsize, - SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) +static uint64_t skel_disk_free(vfs_handle_struct *handle, const char *path, + bool small_query, uint64_t *bsize, + uint64_t *dfree, uint64_t *dsize) { return SMB_VFS_NEXT_DISK_FREE(handle, path, small_query, bsize, dfree, dsize); |