summaryrefslogtreecommitdiff
path: root/source4/libcli/composite
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-05 17:15:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:14 -0500
commitaf30a32b6924b0f2b701186e435defbca2ebd1aa (patch)
tree8d11dd6ca7ede55e385670f1297045d78fc92e5a /source4/libcli/composite
parent5d0aa16dfcf3047a52d3dd7e12ffb704a9725e83 (diff)
downloadsamba-af30a32b6924b0f2b701186e435defbca2ebd1aa.tar.gz
samba-af30a32b6924b0f2b701186e435defbca2ebd1aa.tar.bz2
samba-af30a32b6924b0f2b701186e435defbca2ebd1aa.zip
r13840: Mark some functions as public.
(This used to be commit 9a188eb1f48a50d92a67a4fc2b3899b90074059a)
Diffstat (limited to 'source4/libcli/composite')
-rw-r--r--source4/libcli/composite/composite.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source4/libcli/composite/composite.c b/source4/libcli/composite/composite.c
index 33b5b77c06..d0d2bc3886 100644
--- a/source4/libcli/composite/composite.c
+++ b/source4/libcli/composite/composite.c
@@ -30,7 +30,7 @@
/*
block until a composite function has completed, then return the status
*/
-NTSTATUS composite_wait(struct composite_context *c)
+_PUBLIC_ NTSTATUS composite_wait(struct composite_context *c)
{
if (c == NULL) return NT_STATUS_NO_MEMORY;
@@ -50,7 +50,7 @@ NTSTATUS composite_wait(struct composite_context *c)
* Some composite helpers that are handy if you write larger composite
* functions.
*/
-BOOL composite_is_ok(struct composite_context *ctx)
+_PUBLIC_ BOOL composite_is_ok(struct composite_context *ctx)
{
if (NT_STATUS_IS_OK(ctx->status)) {
return True;
@@ -85,7 +85,7 @@ static void composite_trigger(struct event_context *ev, struct timed_event *te,
}
-void composite_error(struct composite_context *ctx, NTSTATUS status)
+_PUBLIC_ void composite_error(struct composite_context *ctx, NTSTATUS status)
{
if (!ctx->used_wait && !ctx->async.fn) {
event_add_timed(ctx->event_ctx, ctx, timeval_zero(), composite_trigger, ctx);
@@ -94,7 +94,7 @@ void composite_error(struct composite_context *ctx, NTSTATUS status)
SMB_ASSERT(!composite_is_ok(ctx));
}
-BOOL composite_nomem(const void *p, struct composite_context *ctx)
+_PUBLIC_ BOOL composite_nomem(const void *p, struct composite_context *ctx)
{
if (p != NULL) {
return False;
@@ -103,7 +103,7 @@ BOOL composite_nomem(const void *p, struct composite_context *ctx)
return True;
}
-void composite_done(struct composite_context *ctx)
+_PUBLIC_ void composite_done(struct composite_context *ctx)
{
if (!ctx->used_wait && !ctx->async.fn) {
event_add_timed(ctx->event_ctx, ctx, timeval_zero(), composite_trigger, ctx);
@@ -114,7 +114,7 @@ void composite_done(struct composite_context *ctx)
}
}
-void composite_continue(struct composite_context *ctx,
+_PUBLIC_ void composite_continue(struct composite_context *ctx,
struct composite_context *new_ctx,
void (*continuation)(struct composite_context *),
void *private_data)
@@ -124,7 +124,7 @@ void composite_continue(struct composite_context *ctx,
new_ctx->async.private_data = private_data;
}
-void composite_continue_rpc(struct composite_context *ctx,
+_PUBLIC_ void composite_continue_rpc(struct composite_context *ctx,
struct rpc_request *new_req,
void (*continuation)(struct rpc_request *),
void *private_data)
@@ -134,7 +134,7 @@ void composite_continue_rpc(struct composite_context *ctx,
new_req->async.private = private_data;
}
-void composite_continue_irpc(struct composite_context *ctx,
+_PUBLIC_ void composite_continue_irpc(struct composite_context *ctx,
struct irpc_request *new_req,
void (*continuation)(struct irpc_request *),
void *private_data)
@@ -144,7 +144,7 @@ void composite_continue_irpc(struct composite_context *ctx,
new_req->async.private = private_data;
}
-void composite_continue_smb(struct composite_context *ctx,
+_PUBLIC_ void composite_continue_smb(struct composite_context *ctx,
struct smbcli_request *new_req,
void (*continuation)(struct smbcli_request *),
void *private_data)
@@ -154,7 +154,7 @@ void composite_continue_smb(struct composite_context *ctx,
new_req->async.private = private_data;
}
-void composite_continue_nbt(struct composite_context *ctx,
+_PUBLIC_ void composite_continue_nbt(struct composite_context *ctx,
struct nbt_name_request *new_req,
void (*continuation)(struct nbt_name_request *),
void *private_data)