sftp_get_limits
if (sftp_get_limits(ret, &limits) != 0)
int sftp_get_limits(struct sftp_conn *, struct sftp_limits *);