|
00001 /* ///////////////////////////////////////////////////////////////////////// 00002 * File: pantheios/init_codes.h 00003 * 00004 * Purpose: Back-/Front-end initialisation codes. 00005 * 00006 * Created: 27th September 2007 00007 * Updated: 27th December 2010 00008 * 00009 * Home: http://www.pantheios.org/ 00010 * 00011 * Copyright (c) 2007-2010, Matthew Wilson and Synesis Software 00012 * All rights reserved. 00013 * 00014 * Redistribution and use in source and binary forms, with or without 00015 * modification, are permitted provided that the following conditions are 00016 * met: 00017 * 00018 * - Redistributions of source code must retain the above copyright notice, 00019 * this list of conditions and the following disclaimer. 00020 * - Redistributions in binary form must reproduce the above copyright 00021 * notice, this list of conditions and the following disclaimer in the 00022 * documentation and/or other materials provided with the distribution. 00023 * - Neither the name(s) of Matthew Wilson and Synesis Software nor the 00024 * names of any contributors may be used to endorse or promote products 00025 * derived from this software without specific prior written permission. 00026 * 00027 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 00028 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 00029 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00030 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 00031 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00032 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00033 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 00034 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 00035 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 00036 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00037 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00038 * 00039 * ////////////////////////////////////////////////////////////////////// */ 00040 00041 00050 #ifndef PANTHEIOS_INCL_PANTHEIOS_H_INIT_CODES 00051 #define PANTHEIOS_INCL_PANTHEIOS_H_INIT_CODES 00052 00053 /* ///////////////////////////////////////////////////////////////////////// 00054 * Version information 00055 */ 00056 00057 #ifndef PANTHEIOS_DOCUMENTATION_SKIP_SECTION 00058 # define PANTHEIOS_VER_PANTHEIOS_H_INIT_CODES_MAJOR 2 00059 # define PANTHEIOS_VER_PANTHEIOS_H_INIT_CODES_MINOR 5 00060 # define PANTHEIOS_VER_PANTHEIOS_H_INIT_CODES_REVISION 1 00061 # define PANTHEIOS_VER_PANTHEIOS_H_INIT_CODES_EDIT 17 00062 #endif /* !PANTHEIOS_DOCUMENTATION_SKIP_SECTION */ 00063 00064 /* ///////////////////////////////////////////////////////////////////////// 00065 * Includes 00066 */ 00067 00068 #ifndef PANTHEIOS_INCL_PANTHEIOS_H_PANTHEIOS 00069 # include <pantheios/pantheios.h> 00070 #endif /* !PANTHEIOS_INCL_PANTHEIOS_H_PANTHEIOS */ 00071 00072 /* ///////////////////////////////////////////////////////////////////////// 00073 * Documentation 00074 */ 00075 00105 /* ///////////////////////////////////////////////////////////////////////// 00106 * Status codes 00107 */ 00108 00115 #define PANTHEIOS_INIT_RC_SUCCESS (0) 00116 00123 #define PANTHEIOS_INIT_RC_OUT_OF_MEMORY (-1) 00124 00131 #define PANTHEIOS_INIT_RC_UNSPECIFIED_EXCEPTION (-2) 00132 00139 #define PANTHEIOS_INIT_RC_UNKNOWN_FAILURE (-3) 00140 00147 #define PANTHEIOS_INIT_RC_UNSPECIFIED_FAILURE (-4) 00148 00155 #define PANTHEIOS_INIT_RC_NOT_IMPLEMENTED (-5) 00156 00164 #define PANTHEIOS_INIT_RC_CANNOT_CREATE_TSS_INDEX (-6) 00165 00173 #define PANTHEIOS_INIT_RC_CANNOT_CREATE_THREAD (-7) 00174 00175 00176 00183 #define PANTHEIOS_BE_INIT_RC_NO_BACKENDS_SPECIFIED (-10001) 00184 00191 #define PANTHEIOS_BE_INIT_RC_ALL_BACKEND_INITS_FAILED (-10002) 00192 00199 #define PANTHEIOS_BE_INIT_RC_INVALID_PROCESSID (-10003) 00200 00207 #define PANTHEIOS_BE_INIT_RC_API_MUTEX_INIT_FAILED (-10004) 00208 00215 #define PANTHEIOS_BE_INIT_RC_INTENDED_FAILURE (-10005) 00216 00223 #define PANTHEIOS_BE_INIT_RC_INIT_PARAM_REQUIRED (-10006) 00224 00231 #define PANTHEIOS_BE_INIT_RC_INVALID_ARGUMENT (-10007) 00232 00239 #define PANTHEIOS_BE_INIT_RC_ARGUMENT_TOO_LONG (-10008) 00240 00247 #define PANTHEIOS_BE_INIT_RC_ARGUMENT_OUT_OF_RANGE (-10009) 00248 00255 #define PANTHEIOS_BE_INIT_RC_INIT_CONFIG_REQUIRED (-10010) 00256 00263 #define PANTHEIOS_BE_INIT_RC_PERMISSION_DENIED (-10011) 00264 00271 #define PANTHEIOS_BE_INIT_RC_RESOURCE_BUSY (-10012) 00272 00279 #define PANTHEIOS_BE_INIT_RC_FUTURE_VERSION_REQUESTED (-10013) 00280 00287 #define PANTHEIOS_BE_INIT_RC_OLD_VERSION_NOT_SUPPORTED (-10014) 00288 00295 #define PANTHEIOS_BE_LOGENTRY_FAILED (-10015) 00296 00297 00304 #define PANTHEIOS_FE_INIT_RC_INTENDED_FAILURE (-20001) 00305 00312 #define PANTHEIOS_FE_INIT_RC_SYSTEM_NOT_CONFIGURED (-20002) 00313 00320 #define PANTHEIOS_FE_INIT_RC_INIT_CONFIG_REQUIRED (-20003) 00321 00322 /* ////////////////////////////////////////////////////////////////////// */ 00323 00324 #endif /* !PANTHEIOS_INCL_PANTHEIOS_H_INIT_CODES */ 00325 00326 /* ///////////////////////////// end of file //////////////////////////// */
|
|
pantheios Library documentation © Matthew Wilson & Synesis Software, 2006-2011 |