RPC_CONNECT: Use the rpc_connect_program_async() flow during nfs_mount()
[deb_libnfs.git] / include / nfsc / libnfs-raw.h
index 28a786f9b5bc428b27d224f65678ea7b0903597c..ccbb1f8106417a8828e472ff6497b5ff28c67289 100644 (file)
@@ -110,7 +110,7 @@ int rpc_connect_async(struct rpc_context *rpc, const char *server, int port, rpc
  * RPC_STATUS_CANCEL  : The connection attempt was aborted before it could complete.
  *                    : data is NULL.
  */
-int rpc_connect_program_async(struct rpc_context *rpc, char *server, int program, int version, rpc_cb cb, void *private_data);
+int rpc_connect_program_async(struct rpc_context *rpc, const char *server, int program, int version, rpc_cb cb, void *private_data);
 /*
  * When disconnecting a connection in flight. All commands in flight will be called with the callback
  * and status RPC_STATUS_ERROR. Data will be the error string for the disconnection.