C/C++ User's Journal Synesis Software 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 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

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

/API/include/recls_retcodes.h

Go to the documentation of this file.
00001 /* 
00002  * File:        recls_retcodes.h
00003  *
00004  * Purpose:     Return codes for the  recls API.
00005  *
00006  * Created:     15th August 2003
00007  * Updated:     2nd June 2004
00008  *
00009  * License:     (Licensed under the Synesis Software Standard Source License)
00010  *
00011  *              Copyright (C) 2002-2004, Synesis Software Pty Ltd.
00012  *
00013  *              All rights reserved.
00014  *
00015  *              www:        http://www.synesis.com.au/software
00016  *                          http://www.recls.org/
00017  *
00018  *              email:      submissions@recls.org  for submissions
00019  *                          admin@recls.org        for other enquiries
00020  *
00021  *              Redistribution and use in source and binary forms, with or
00022  *              without modification, are permitted provided that the following
00023  *              conditions are met:
00024  *
00025  *              (i) Redistributions of source code must retain the above
00026  *              copyright notice and contact information, this list of
00027  *              conditions and the following disclaimer.
00028  *
00029  *              (ii) Any derived versions of this software (howsoever modified)
00030  *              remain the sole property of Synesis Software.
00031  *
00032  *              (iii) Any derived versions of this software (howsoever modified)
00033  *              remain subject to all these conditions.
00034  *
00035  *              (iv) Neither the name of Synesis Software nor the names of any
00036  *              subdivisions, employees or agents of Synesis Software, nor the
00037  *              names of any other contributors to this software may be used to
00038  *              endorse or promote products derived from this software without
00039  *              specific prior written permission.
00040  *
00041  *              This source code is provided by Synesis Software "as is" and any
00042  *              warranties, whether expressed or implied, including, but not
00043  *              limited to, the implied warranties of merchantability and
00044  *              fitness for a particular purpose are disclaimed. In no event
00045  *              shall the Synesis Software be liable for any direct, indirect,
00046  *              incidental, special, exemplary, or consequential damages
00047  *              (including, but not limited to, procurement of substitute goods
00048  *              or services; loss of use, data, or profits; or business
00049  *              interruption) however caused and on any theory of liability,
00050  *              whether in contract, strict liability, or tort (including
00051  *              negligence or otherwise) arising in any way out of the use of
00052  *              this software, even if advised of the possibility of such
00053  *              damage.
00054  *
00055  * 
00056 
00057 
00058 #if !defined(RECLS_INCL_H_RECLS) && \
00059     !defined(RECLS_DOCUMENTATION_SKIP_SECTION)
00060 # error recls_retcodes.h cannot be included directly. Include recls.h
00061 #else
00062 
00063 /* File version */
00064 #ifndef RECLS_DOCUMENTATION_SKIP_SECTION
00065 # define RECLS_VER_H_RECLS_RETCODES_MAJOR       1
00066 # define RECLS_VER_H_RECLS_RETCODES_MINOR       3
00067 # define RECLS_VER_H_RECLS_RETCODES_REVISION    2
00068 # define RECLS_VER_H_RECLS_RETCODES_EDIT        16
00069 #endif /* !RECLS_DOCUMENTATION_SKIP_SECTION */
00070 
00073 /* 
00074  * Namespace
00075  */
00076 
00077 #if !defined(RECLS_NO_NAMESPACE)
00078 namespace recls
00079 {
00080 #endif /* !RECLS_NO_NAMESPACE */
00081 
00082 /* 
00083  * Error codes
00084  */
00085 
00093 #define RECLS_RC_SEARCH_NO_CURRENT          ((RECLS_QUAL(recls_rc_t))(-1 - 1001))
00094 
00095 #define RECLS_RC_INVALID_DIRECTORY          ((RECLS_QUAL(recls_rc_t))(-1 - 1002))
00096 
00097 #define RECLS_RC_NO_MORE_DATA               ((RECLS_QUAL(recls_rc_t))(-1 - 1003))
00098 
00099 #define RECLS_RC_OUT_OF_MEMORY              ((RECLS_QUAL(recls_rc_t))(-1 - 1004))
00100 
00101 #define RECLS_RC_NOT_IMPLEMENTED            ((RECLS_QUAL(recls_rc_t))(-1 - 1005))
00102 
00103 #define RECLS_RC_INVALID_SEARCH_TYPE        ((RECLS_QUAL(recls_rc_t))(-1 - 1006))
00104 
00105 #define RECLS_RC_INVALID_SEARCH_PROTOCOL    ((RECLS_QUAL(recls_rc_t))(-1 - 1007))
00106 
00107 #define RECLS_RC_UNEXPECTED                 ((RECLS_QUAL(recls_rc_t))(-1 - 1008))
00108 
00109 #define RECLS_RC_DOT_RECURSIVE_SEARCH       ((RECLS_QUAL(recls_rc_t))(-1 - 1009))
00110 
00111 #define RECLS_RC_SEARCH_CANCELLED           ((RECLS_QUAL(recls_rc_t))(-1 - 1010))
00112 
00113 #define RECLS_RC_FTP_INIT_FAILED            ((RECLS_QUAL(recls_rc_t))(-1 - 1011))
00114 
00115 #define RECLS_RC_FTP_CONNECTION_FAILED      ((RECLS_QUAL(recls_rc_t))(-1 - 1012))
00116 
00119 /* 
00120  * Namespace
00121  */
00122 
00123 #if !defined(RECLS_NO_NAMESPACE)
00124 } /* namespace recls */
00125 #endif /* !RECLS_NO_NAMESPACE */
00126 
00127 /* 
00128 
00129 #endif /* !RECLS_INCL_H_RECLS */
00130 
00131 /* 

recls Library documentation Synesis Software Pty Ltd, 2001-2004