From: Sage Weil Date: Mon, 20 Jun 2016 17:08:31 +0000 (-0400) Subject: msg/msg_types: add type accessors X-Git-Tag: v11.1.0~515^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0d02a188ead446b0d224dbdea46de87d711ca1de;p=ceph.git msg/msg_types: add type accessors Signed-off-by: Sage Weil --- diff --git a/src/msg/msg_types.h b/src/msg/msg_types.h index a0bc924039dd..df1499b5704b 100644 --- a/src/msg/msg_types.h +++ b/src/msg/msg_types.h @@ -238,6 +238,9 @@ struct entity_addr_t { #endif } + uint32_t get_type() const { return type; } + void set_type(uint32_t t) { type = t; } + __u32 get_nonce() const { return nonce; } void set_nonce(__u32 n) { nonce = n; }