libcli: Eliminate select from smb_readline_replacement
[kai/samba.git] / libcli / smb / smb2_create_blob.h
index e8b8f12fe34a01ed8f51124b744c46968e34e60e..008befe41a56d99bc1393aa4a17bd2c3a3e87fe5 100644 (file)
@@ -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_ */