Skip to content

Commit 7185967

Browse files
committed
Export Windows Function Wrappers
Retag the WS_FindFirstFileA() and WS_FindNextFileA() functions as WOLFSSH_API, not just local. They are used in the example SFTP client.
1 parent b610dd7 commit 7185967

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wolfssh/port.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,10 @@ extern "C" {
480480
unsigned long desiredAccess, unsigned long shareMode,
481481
unsigned long creationDisposition, unsigned long flags,
482482
void* heap);
483-
WOLFSSH_LOCAL void* WS_FindFirstFileA(const char* fileName,
483+
WOLFSSH_API void* WS_FindFirstFileA(const char* fileName,
484484
char* realFileName, size_t realFileNameSz, int* isDir,
485485
void* heap);
486-
WOLFSSH_LOCAL int WS_FindNextFileA(void* findHandle,
486+
WOLFSSH_API int WS_FindNextFileA(void* findHandle,
487487
char* realFileName, size_t realFileNameSz);
488488
WOLFSSH_LOCAL int WS_GetFileAttributesExA(const char* fileName,
489489
void* fileInfo, void* heap);

0 commit comments

Comments
 (0)