Make wolfSSH_SFTPNAME_readdir defining SFTP_Name_readdir. It has to be defined as a macro, but it can be defined to expand to its own name if also a function with the same name is defined.
What matters is that it takes 3 arguments:
the filesystem context as first argument
WDIR* as second argument
WS_SFTPNAME* as third argument
On successful execution, it returns WS_SUCCESS and the WSSFTPNAME structure pointed by the third argument will be filled with the relevant info, otherwise a WS* error code is returned.
Make wolfSSH_SFTPNAME_readdir defining SFTP_Name_readdir. It has to be defined as a macro, but it can be defined to expand to its own name if also a function with the same name is defined.
What matters is that it takes 3 arguments:
On successful execution, it returns WS_SUCCESS and the WSSFTPNAME structure pointed by the third argument will be filled with the relevant info, otherwise a WS* error code is returned.
This supersedes PR #552.