From 9b5c2ca14c120e3700cbb92b1ae19ea6da28a9af Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 5 Jun 2012 11:50:53 +0200 Subject: s3:include: move some prototypes (e.g. smb_register_vfs) to vfs.h These are called from vfs modules, which should not depend on smbd/proto.h metze --- source3/smbd/proto.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source3/smbd/proto.h') diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 03a09cd27e..b5a2ddf35f 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -1133,16 +1133,7 @@ void sys_utmp_claim(const char *username, const char *hostname, /* The following definitions come from smbd/vfs.c */ -NTSTATUS smb_register_vfs(int version, const char *name, - const struct vfs_fn_pointers *fns); bool vfs_init_custom(connection_struct *conn, const char *vfs_object); -void *vfs_add_fsp_extension_notype(vfs_handle_struct *handle, - files_struct *fsp, size_t ext_size, - void (*destroy_fn)(void *p_data)); -void vfs_remove_fsp_extension(vfs_handle_struct *handle, files_struct *fsp); -void vfs_remove_all_fsp_extensions(struct files_struct *fsp); -void *vfs_memctx_fsp_extension(vfs_handle_struct *handle, files_struct *fsp); -void *vfs_fetch_fsp_extension(vfs_handle_struct *handle, files_struct *fsp); bool smbd_vfs_init(connection_struct *conn); NTSTATUS vfs_file_exist(connection_struct *conn, struct smb_filename *smb_fname); ssize_t vfs_read_data(files_struct *fsp, char *buf, size_t byte_count); -- cgit