1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

Use DATA_BLOB instead of "struct data_blob".

This commit is contained in:
Jelmer Vernooij 2008-10-13 05:31:01 +02:00
parent aa982895e5
commit f6575a270f

View File

@ -155,7 +155,7 @@ static NTSTATUS ctdbd_connect(TALLOC_CTX *mem_ctx,
* Do we have a complete ctdb packet in the queue? * Do we have a complete ctdb packet in the queue?
*/ */
static bool ctdb_req_complete(const struct data_blob *data, static bool ctdb_req_complete(const DATA_BLOB *data,
size_t *length, size_t *length,
void *private_data) void *private_data)
{ {
@ -220,7 +220,7 @@ struct req_pull_state {
* Pull a ctdb request out of the incoming packet queue * Pull a ctdb request out of the incoming packet queue
*/ */
static NTSTATUS ctdb_req_pull(const struct data_blob *data, static NTSTATUS ctdb_req_pull(const DATA_BLOB *data,
void *private_data) void *private_data)
{ {
struct req_pull_state *state = (struct req_pull_state *)private_data; struct req_pull_state *state = (struct req_pull_state *)private_data;
@ -497,7 +497,7 @@ NTSTATUS ctdbd_messaging_connection(TALLOC_CTX *mem_ctx,
/* /*
* Packet handler to receive and handle a ctdb message * Packet handler to receive and handle a ctdb message
*/ */
static NTSTATUS ctdb_handle_message(const struct data_blob *data, static NTSTATUS ctdb_handle_message(const DATA_BLOB *data,
void *private_data) void *private_data)
{ {
struct ctdbd_connection *conn = talloc_get_type_abort( struct ctdbd_connection *conn = talloc_get_type_abort(
@ -1025,7 +1025,7 @@ struct ctdbd_traverse_state {
* Handle a traverse record coming in on the ctdbd connection * Handle a traverse record coming in on the ctdbd connection
*/ */
static NTSTATUS ctdb_traverse_handler(const struct data_blob *blob, static NTSTATUS ctdb_traverse_handler(const DATA_BLOB *blob,
void *private_data) void *private_data)
{ {
struct ctdbd_traverse_state *state = struct ctdbd_traverse_state *state =