1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Update for the new modules system. Also, use Makefile rather then Makefile.in

because we don't generate Makefile from configure anymore
This commit is contained in:
Jelmer Vernooij 0001-01-01 00:00:00 +00:00
parent 42e76c3123
commit 0d322968cb
2 changed files with 6 additions and 9 deletions

View File

@ -1,7 +1,6 @@
CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
CFLAGS =
CPPFLAGS =
LDFLAGS =
LDSHFLAGS = -shared
srcdir = ../../source/
FLAGS = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper -I. $(CPPFLAGS) -I$(srcdir)

View File

@ -437,12 +437,11 @@ static vfs_op_tuple skel_ops[] = {
/* VFS initialisation - return initialized vfs_op_tuple array back to Samba */
vfs_op_tuple *vfs_init(int *vfs_version, struct vfs_ops *def_vfs_ops,
static vfs_op_tuple *skel_init(const struct vfs_ops *def_vfs_ops,
struct smb_vfs_handle_struct *vfs_handle)
{
DEBUG(3, ("Initialising default vfs hooks\n"));
*vfs_version = SMB_VFS_INTERFACE_VERSION;
memcpy(&default_vfs_ops, def_vfs_ops, sizeof(struct vfs_ops));
/* Remember vfs_handle for further allocation and referencing of private
@ -452,8 +451,7 @@ vfs_op_tuple *vfs_init(int *vfs_version, struct vfs_ops *def_vfs_ops,
return skel_ops;
}
/* VFS finalization function */
void vfs_done(connection_struct *conn)
int init_module(void)
{
DEBUG(3, ("Finalizing default vfs hooks\n"));
return smb_register_vfs("skel", skel_init, SMB_VFS_INTERFACE_VERSION);
}