From 235aedae5030dac138fbaa5726022f5007586cd2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 8 Jul 2011 10:52:22 +0200 Subject: s3:libsmb: don't use the cli->inbuf to store the last error We keep the raw error in cli->raw_status now, until we fixed all caller to get the NTSTATUS from the function calls. metze --- source3/include/async_smb.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source3/include/async_smb.h') diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h index 1685d4985d..40da862be2 100644 --- a/source3/include/async_smb.h +++ b/source3/include/async_smb.h @@ -22,18 +22,6 @@ struct cli_state; -/* - * Fetch an error out of a NBT packet - */ - -NTSTATUS cli_pull_error(char *buf); - -/* - * Compatibility helper for the sync APIs: Fake NTSTATUS in cli->inbuf - */ - -void cli_set_error(struct cli_state *cli, NTSTATUS status); - struct tevent_req *cli_smb_req_create(TALLOC_CTX *mem_ctx, struct event_context *ev, struct cli_state *cli, -- cgit