X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Flibnfs-raw.h;h=5e445192fff3959132b392d71866128305bff1e4;hb=8704724f83ab18891c1e4375e02fd9e53377953c;hp=bc7113306e09e0a3c4e3a182f9ed32312e1682d9;hpb=7bd7041bd8270555b8b1ab99259cda287c442195;p=deb_libnfs.git diff --git a/include/libnfs-raw.h b/include/libnfs-raw.h index bc71133..5e44519 100644 --- a/include/libnfs-raw.h +++ b/include/libnfs-raw.h @@ -20,6 +20,8 @@ * protocol as well as the XDR encoded/decoded structures. */ #include +#include +#include struct rpc_data { int size; @@ -30,8 +32,7 @@ struct rpc_context; struct rpc_context *rpc_init_context(void); void rpc_destroy_context(struct rpc_context *rpc); -struct AUTH; -void rpc_set_auth(struct rpc_context *rpc, struct AUTH *auth); +void rpc_set_auth(struct rpc_context *rpc, AUTH *auth); int rpc_get_fd(struct rpc_context *rpc); int rpc_which_events(struct rpc_context *rpc);