summaryrefslogtreecommitdiff
path: root/source4/torture/torture_util.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-17 16:11:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:36 -0500
commitdf891410f157263d6b3d884cf39aca596ba94cf6 (patch)
tree75f59ec14ab4285a83c273fd0276add2733b0df3 /source4/torture/torture_util.c
parent02c4b989980dbd1fb1d01694a3e31a3a12f71d21 (diff)
downloadsamba-df891410f157263d6b3d884cf39aca596ba94cf6.tar.gz
samba-df891410f157263d6b3d884cf39aca596ba94cf6.tar.bz2
samba-df891410f157263d6b3d884cf39aca596ba94cf6.zip
r14519: Put base registration in a seperate file, as well as some
of the base tests that were currently in torture.c (This used to be commit 4e7c3c7e1fe383b37d90954982e8bf150a06663a)
Diffstat (limited to 'source4/torture/torture_util.c')
-rw-r--r--source4/torture/torture_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/torture_util.c b/source4/torture/torture_util.c
index cecb005504..dde50f6522 100644
--- a/source4/torture/torture_util.c
+++ b/source4/torture/torture_util.c
@@ -26,10 +26,10 @@
#include "system/time.h"
-/*
+/**
setup a directory ready for a test
*/
-BOOL torture_setup_dir(struct smbcli_state *cli, const char *dname)
+_PUBLIC_ BOOL torture_setup_dir(struct smbcli_state *cli, const char *dname)
{
smb_raw_exit(cli->session);
if (smbcli_deltree(cli->tree, dname) == -1 ||
@@ -75,11 +75,11 @@ NTSTATUS create_directory_handle(struct smbcli_tree *tree, const char *dname, in
}
-/*
+/**
sometimes we need a fairly complex file to work with, so we can test
all possible attributes.
*/
-int create_complex_file(struct smbcli_state *cli, TALLOC_CTX *mem_ctx, const char *fname)
+_PUBLIC_ int create_complex_file(struct smbcli_state *cli, TALLOC_CTX *mem_ctx, const char *fname)
{
int fnum;
char buf[7] = "abc";