diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-01-11 10:53:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:50:04 -0500 |
commit | 69f7c004fefc4f4e85843bd171fe066167703bb8 (patch) | |
tree | 736928c4c5eb8a8be1068d36a8b3c3c2efdf1352 /source4/ntvfs/ntvfs_base.c | |
parent | eab4a561974eb54796a0a51f11f7167f8d2a7e0c (diff) | |
download | samba-69f7c004fefc4f4e85843bd171fe066167703bb8.tar.gz samba-69f7c004fefc4f4e85843bd171fe066167703bb8.tar.bz2 samba-69f7c004fefc4f4e85843bd171fe066167703bb8.zip |
r12838: make the ntvfs function public
metze
(This used to be commit 41a564fdba5969fc7e518439520764fd56cfa280)
Diffstat (limited to 'source4/ntvfs/ntvfs_base.c')
-rw-r--r-- | source4/ntvfs/ntvfs_base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c index d20904737f..e14ae71da2 100644 --- a/source4/ntvfs/ntvfs_base.c +++ b/source4/ntvfs/ntvfs_base.c @@ -45,7 +45,7 @@ static int num_backends; The 'type' is used to specify whether this is for a disk, printer or IPC$ share */ -NTSTATUS ntvfs_register(const void *_ops) +_PUBLIC_ NTSTATUS ntvfs_register(const void *_ops) { const struct ntvfs_ops *ops = _ops; struct ntvfs_ops *new_ops; @@ -79,7 +79,7 @@ NTSTATUS ntvfs_register(const void *_ops) /* return the operations structure for a named backend of the specified type */ -const struct ntvfs_ops *ntvfs_backend_byname(const char *name, enum ntvfs_type type) +_PUBLIC_ const struct ntvfs_ops *ntvfs_backend_byname(const char *name, enum ntvfs_type type) { int i; @@ -99,7 +99,7 @@ const struct ntvfs_ops *ntvfs_backend_byname(const char *name, enum ntvfs_type t This can be used by backends to either detect compilation errors, or provide multiple implementations for different smbd compilation options in one module */ -const struct ntvfs_critical_sizes *ntvfs_interface_version(void) +_PUBLIC_ const struct ntvfs_critical_sizes *ntvfs_interface_version(void) { static const struct ntvfs_critical_sizes critical_sizes = { NTVFS_INTERFACE_VERSION, |