repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add an assert to track if we try to use an rpc_context after it has been destroyed
[deb_libnfs.git]
/
include
/
libnfs-private.h
diff --git
a/include/libnfs-private.h
b/include/libnfs-private.h
index a083b37031100b82fafea1d85b2267ebcb8b18a9..e32a70631f4a9e45dbfb7246edd7aa5029d27105 100644
(file)
--- a/
include/libnfs-private.h
+++ b/
include/libnfs-private.h
@@
-23,7
+23,10
@@
struct rpc_fragment {
char *data;
};
+#define RPC_CONTEXT_MAGIC 0xc6e46435
+
struct rpc_context {
+ uint32_t magic;
int fd;
int is_connected;