C/C++ User's Journal STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - where the Standard Template Library meets the Active Template Library COMSTL - where the Standard Template Library meets the Component Object Model
Synesis Software InetSTL - where the Standard Template Library meets the Internet UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

recls/internal/retcodes.h File Reference


Detailed Description

[C, C++] Return codes for the recls API.

Go to the source code of this file.

Namespaces

namespace  recls

Error codes

#define RECLS_RC_SEARCH_NO_CURRENT   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1001)
 No search is currently active.
#define RECLS_RC_INVALID_DIRECTORY   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1002)
 The directory was invalid, or does not exist.
#define RECLS_RC_NO_MORE_DATA   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1003)
 No more data is available.
#define RECLS_RC_OUT_OF_MEMORY   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1004)
 Memory exhaustion.
#define RECLS_RC_NOT_IMPLEMENTED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1005)
 Function not implemented.
#define RECLS_RC_INVALID_SEARCH_TYPE   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1006)
 Invalid search type.
#define RECLS_RC_INVALID_SEARCH_PROTOCOL   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1007)
 Invalid search protocol.
#define RECLS_RC_UNEXPECTED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1008)
 Unexpected internal condition.
#define RECLS_RC_DOT_RECURSIVE_SEARCH   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1009)
 Cannot specify "." pattern in recursive search.
#define RECLS_RC_SEARCH_CANCELLED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1010)
 Search was cancelled by callback.
#define RECLS_RC_FTP_INIT_FAILED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1011)
 FTP infrastructure initialisation failed.
#define RECLS_RC_FTP_CONNECTION_FAILED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1012)
 FTP connection failed.
#define RECLS_RC_WRONG_ENTRY_TYPE   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1013)
 Given entry was of wrong type.
#define RECLS_RC_CANNOT_STAT_ROOT   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1014)
 Cannot call stat() on root.
#define RECLS_RC_PATH_LIMIT_EXCEEDED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1015)
 Directory or pattern component exceeds maximum for host system.
#define RECLS_RC_USER_CANCELLED_SEARCH   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1016)
 User cancelled the search (by a 0 return from the Recls_SearchFeedback() callback function).
#define RECLS_RC_NO_HOME   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1017)
 The user's home directory cannot be determined.


Define Documentation

#define RECLS_RC_CANNOT_STAT_ROOT   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1014)

Cannot call stat() on root.

#define RECLS_RC_DOT_RECURSIVE_SEARCH   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1009)

Cannot specify "." pattern in recursive search.

#define RECLS_RC_FTP_CONNECTION_FAILED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1012)

FTP connection failed.

#define RECLS_RC_FTP_INIT_FAILED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1011)

FTP infrastructure initialisation failed.

#define RECLS_RC_INVALID_DIRECTORY   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1002)

The directory was invalid, or does not exist.

#define RECLS_RC_INVALID_SEARCH_PROTOCOL   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1007)

Invalid search protocol.

#define RECLS_RC_INVALID_SEARCH_TYPE   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1006)

Invalid search type.

#define RECLS_RC_NO_HOME   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1017)

The user's home directory cannot be determined.

#define RECLS_RC_NO_MORE_DATA   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1003)

No more data is available.

Examples:
example_c_1.c, example_c_3.c, and example_c_4.c.

#define RECLS_RC_NOT_IMPLEMENTED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1005)

Function not implemented.

#define RECLS_RC_OUT_OF_MEMORY   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1004)

Memory exhaustion.

#define RECLS_RC_PATH_LIMIT_EXCEEDED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1015)

Directory or pattern component exceeds maximum for host system.

#define RECLS_RC_SEARCH_CANCELLED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1010)

Search was cancelled by callback.

It did not otherwise fail.

#define RECLS_RC_SEARCH_NO_CURRENT   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1001)

No search is currently active.

#define RECLS_RC_UNEXPECTED   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1008)

Unexpected internal condition.

#define RECLS_RC_USER_CANCELLED_SEARCH   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1016)

User cancelled the search (by a 0 return from the Recls_SearchFeedback() callback function).

#define RECLS_RC_WRONG_ENTRY_TYPE   _RECLS_STATIC_CAST(RECLS_QUAL(recls_rc_t), -1 - 1013)

Given entry was of wrong type.


recls Library documentation © Synesis Software Pty Ltd, 2001-2006