projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.gitignore fix.
[bluesky.git]
/
nfs3
/
nfs3_prot.h
diff --git
a/nfs3/nfs3_prot.h
b/nfs3/nfs3_prot.h
index
01ed7b5
..
77fe5ad
100644
(file)
--- a/
nfs3/nfs3_prot.h
+++ b/
nfs3/nfs3_prot.h
@@
-653,6
+653,10
@@
typedef struct {
/* If frag_len is zero: the number of bytes of the fragment header that
* have been read so far. */
int frag_hdr_bytes;
/* If frag_len is zero: the number of bytes of the fragment header that
* have been read so far. */
int frag_hdr_bytes;
+
+ /* Mutex protecting send operations on the socket (to ensure that replies
+ * are not accidentally interleaved). */
+ GMutex *send_lock;
} RPCConnection;
/* Linked list of cleanup functions to call when a request is completed. */
} RPCConnection;
/* Linked list of cleanup functions to call when a request is completed. */
@@
-830,6
+834,8
@@
extern bool_t xdr_commit3args (XDR *, commit3args*);
extern bool_t xdr_commit3resok (XDR *, commit3resok*);
extern bool_t xdr_commit3res (XDR *, commit3res*);
extern bool_t xdr_commit3resok (XDR *, commit3resok*);
extern bool_t xdr_commit3res (XDR *, commit3res*);
+extern void xdr_string_create(XDR *xdrs, GString *string, enum xdr_op op);
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif