From e2845b808997787701e54d2602c0ef08f9c4cff7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 12 Aug 2009 20:38:45 +0200 Subject: libcli/smb: add smb2_create_blob_find() metze --- libcli/smb/smb2_create_blob.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libcli/smb/smb2_create_blob.h') diff --git a/libcli/smb/smb2_create_blob.h b/libcli/smb/smb2_create_blob.h index e8b8f12fe3..008befe41a 100644 --- a/libcli/smb/smb2_create_blob.h +++ b/libcli/smb/smb2_create_blob.h @@ -48,4 +48,10 @@ NTSTATUS smb2_create_blob_push(TALLOC_CTX *mem_ctx, DATA_BLOB *buffer, NTSTATUS smb2_create_blob_add(TALLOC_CTX *mem_ctx, struct smb2_create_blobs *b, const char *tag, DATA_BLOB data); +/* + * return the first blob with the given tag + */ +struct smb2_create_blob *smb2_create_blob_find(const struct smb2_create_blobs *b, + const char *tag); + #endif /* _LIBCLI_SMB_SMB2_CREATE_BLOB_H_ */ -- cgit