X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Flibnfs-private.h;h=2cc61c3b06a57857d9db6889e7987f40fed0c35b;hb=83a446dd8db7216a6e1abe85d981800a147bfc4c;hp=a2f3e1a2a09bc8cebba77132ba1f8bdc6850c1d7;hpb=3751901fc419d04bf6ceaaeed1e91e3229e4c27a;p=deb_libnfs.git diff --git a/include/libnfs-private.h b/include/libnfs-private.h index a2f3e1a..2cc61c3 100644 --- a/include/libnfs-private.h +++ b/include/libnfs-private.h @@ -14,6 +14,10 @@ You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ + +#ifndef _LIBNFS_PRIVATE_H_ +#define _LIBNFS_PRIVATE_H_ + #ifdef HAVE_CONFIG_H #include "config.h" /* HAVE_SOCKADDR_STORAGE ? */ #endif @@ -94,7 +98,7 @@ struct rpc_context { /* fragment reassembly */ struct rpc_fragment *fragments; - + /* parameters passable via URL */ int tcp_syncnt; int uid; @@ -149,3 +153,5 @@ int rpc_add_fragment(struct rpc_context *rpc, char *data, uint64_t size); void rpc_free_all_fragments(struct rpc_context *rpc); const struct nfs_fh3 *nfs_get_rootfh(struct nfs_context *nfs); + +#endif /* !_LIBNFS_PRIVATE_H_ */