diff options
Diffstat (limited to 'rpc/xdr/src/changelog-xdr.x')
| -rw-r--r-- | rpc/xdr/src/changelog-xdr.x | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/rpc/xdr/src/changelog-xdr.x b/rpc/xdr/src/changelog-xdr.x index ba1ebd27836..5956245d5ce 100644 --- a/rpc/xdr/src/changelog-xdr.x +++ b/rpc/xdr/src/changelog-xdr.x @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2012 Red Hat, Inc. <http://www.redhat.com> + * This file is part of GlusterFS. + * + * This file is licensed to you under your choice of the GNU Lesser + * General Public License, version 3 or any later version (LGPLv3 or + * later), or the GNU General Public License, version 2 (GPLv2), in all + * cases as published by the Free Software Foundation. + */ + +#ifdef RPC_XDR +%#include "rpc-pragmas.h" +#endif +%#include <glusterfs/compat.h> + /* XDR: libgfchangelog -> changelog */ struct changelog_probe_req { @@ -12,16 +27,16 @@ struct changelog_probe_rsp { /* XDR: changelog -> libgfchangelog */ struct changelog_event_req { /* sequence number for the buffer */ - unsigned long seq; + unsigned hyper seq; /* time of dispatch */ - unsigned long tv_sec; - unsigned long tv_usec; + unsigned hyper tv_sec; + unsigned hyper tv_usec; }; struct changelog_event_rsp { int op_ret; /* ack'd buffers sequence number */ - unsigned long seq; + unsigned hyper seq; }; |
