s4:irpc: avoid c++ reserved word 'private'
[samba.git] / source4 / lib / messaging / irpc.h
index 9be8461f6a210a360923a5387680ca8ff1ab2753..3c518828ab77c4b408602e207d3518fd86954be1 100644 (file)
@@ -30,7 +30,7 @@
 */
 struct irpc_message {
        struct server_id from;
-       void *private;
+       void *private_data;
        struct irpc_header header;
        struct ndr_pull *ndr;
        bool defer_reply;
@@ -76,7 +76,7 @@ struct irpc_request {
        TALLOC_CTX *mem_ctx;
        struct {
                void (*fn)(struct irpc_request *);
-               void *private;
+               void *private_data;
        } async;
 };