summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-07-17 11:14:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:45 -0500
commit307e51ed1420fcf9e91e8ac7c0a1689e13f3edec (patch)
treec9f50b863659db83481d30fe566fb04a1ecdee2a /source3/include
parent4e23e4bd18658a9c40802ce654b6f1d1a921b47d (diff)
downloadsamba-307e51ed1420fcf9e91e8ac7c0a1689e13f3edec.tar.gz
samba-307e51ed1420fcf9e91e8ac7c0a1689e13f3edec.tar.bz2
samba-307e51ed1420fcf9e91e8ac7c0a1689e13f3edec.zip
r23926: implement output buffer handling for the SASL write wrapper
metze (This used to be commit 65ce6fa21adec704b3cde30c57001e5620f048e4)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index 8404ad907b..c103c3a43e 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -34,7 +34,7 @@ struct ads_struct;
struct ads_saslwrap_ops {
const char *name;
- ADS_STATUS (*wrap)(struct ads_struct *);
+ ADS_STATUS (*wrap)(struct ads_struct *, uint8 *buf, uint32 len);
ADS_STATUS (*unwrap)(struct ads_struct *);
ADS_STATUS (*disconnect)(struct ads_struct *);
};
@@ -101,10 +101,10 @@ typedef struct ads_struct {
} in;
struct {
uint32 ofs;
- uint32 needed;
uint32 left;
uint32 max;
uint32 min;
+ uint32 sig_size;
uint32 size;
uint8 *buf;
} out;