idlc 1.5.14
Interface Definition Language Compiler
Loading...
Searching...
No Matches
idl-results.h File Reference

Warning/Error codes. More...

#include "idl-version.h"
#include "idl-types.h"

Go to the source code of this file.

Data Structures

struct  idl_message_t
 Compilation message. More...
 

Enumerations

enum  idl_result_t {
  IDL_RESULT_SUCCESS = 0 ,
  IDL_RESULT_ERROR_UNKNOWN = 1 ,
  IDL_RESULT_ERROR_OUT_OF_MEMORY = 2 ,
  IDL_RESULT_ERROR_INVALID_ARG = 3 ,
  IDL_RESULT_ERROR_FILE_CREATE = 4 ,
  IDL_RESULT_ERROR_COMPILATION = 5 ,
  IDL_RESULT_ERROR_NOT_SUPPORTED = 6 ,
  IDL_RESULT_MAX_ENUM = 0x7FFFFFFF
}
 Result codes. More...
 
enum  idl_status_t {
  IDL_STATUS_W1001 = 1001 ,
  IDL_STATUS_W1002 = 1002 ,
  IDL_STATUS_E2001 = 2001 ,
  IDL_STATUS_E2002 = 2002 ,
  IDL_STATUS_E2003 = 2003 ,
  IDL_STATUS_E2004 = 2004 ,
  IDL_STATUS_E2005 = 2005 ,
  IDL_STATUS_E2006 = 2006 ,
  IDL_STATUS_E2007 = 2007 ,
  IDL_STATUS_E2008 = 2008 ,
  IDL_STATUS_E2009 = 2009 ,
  IDL_STATUS_E2010 = 2010 ,
  IDL_STATUS_E2011 = 2011 ,
  IDL_STATUS_E2012 = 2012 ,
  IDL_STATUS_E2013 = 2013 ,
  IDL_STATUS_E2014 = 2014 ,
  IDL_STATUS_E2015 = 2015 ,
  IDL_STATUS_E2016 = 2016 ,
  IDL_STATUS_E2017 = 2017 ,
  IDL_STATUS_E2018 = 2018 ,
  IDL_STATUS_E2019 = 2019 ,
  IDL_STATUS_E2020 = 2020 ,
  IDL_STATUS_E2021 = 2021 ,
  IDL_STATUS_E2022 = 2022 ,
  IDL_STATUS_E2023 = 2023 ,
  IDL_STATUS_E2024 = 2024 ,
  IDL_STATUS_E2025 = 2025 ,
  IDL_STATUS_E2026 = 2026 ,
  IDL_STATUS_E2027 = 2027 ,
  IDL_STATUS_E2028 = 2028 ,
  IDL_STATUS_E2029 = 2029 ,
  IDL_STATUS_E2030 = 2030 ,
  IDL_STATUS_E2031 = 2031 ,
  IDL_STATUS_E2032 = 2032 ,
  IDL_STATUS_E2033 = 2033 ,
  IDL_STATUS_E2034 = 2034 ,
  IDL_STATUS_E2035 = 2035 ,
  IDL_STATUS_E2036 = 2036 ,
  IDL_STATUS_E2037 = 2037 ,
  IDL_STATUS_E2038 = 2038 ,
  IDL_STATUS_E2039 = 2039 ,
  IDL_STATUS_E2040 = 2040 ,
  IDL_STATUS_E2041 = 2041 ,
  IDL_STATUS_E2042 = 2042 ,
  IDL_STATUS_E2043 = 2043 ,
  IDL_STATUS_E2044 = 2044 ,
  IDL_STATUS_E2045 = 2045 ,
  IDL_STATUS_E2046 = 2046 ,
  IDL_STATUS_E2047 = 2047 ,
  IDL_STATUS_E2048 = 2048 ,
  IDL_STATUS_E2049 = 2049 ,
  IDL_STATUS_E2050 = 2050 ,
  IDL_STATUS_E2051 = 2051 ,
  IDL_STATUS_E2052 = 2052 ,
  IDL_STATUS_E2053 = 2053 ,
  IDL_STATUS_E2054 = 2054 ,
  IDL_STATUS_E2055 = 2055 ,
  IDL_STATUS_E2056 = 2056 ,
  IDL_STATUS_E2057 = 2057 ,
  IDL_STATUS_E2058 = 2058 ,
  IDL_STATUS_E2059 = 2059 ,
  IDL_STATUS_E2060 = 2060 ,
  IDL_STATUS_E2061 = 2061 ,
  IDL_STATUS_E2062 = 2062 ,
  IDL_STATUS_E2063 = 2063 ,
  IDL_STATUS_E2064 = 2064 ,
  IDL_STATUS_E2065 = 2065 ,
  IDL_STATUS_E2066 = 2066 ,
  IDL_STATUS_E2067 = 2067 ,
  IDL_STATUS_E2068 = 2068 ,
  IDL_STATUS_E2069 = 2069 ,
  IDL_STATUS_E2070 = 2070 ,
  IDL_STATUS_E2071 = 2071 ,
  IDL_STATUS_E2072 = 2072 ,
  IDL_STATUS_E2073 = 2073 ,
  IDL_STATUS_E2074 = 2074 ,
  IDL_STATUS_E2075 = 2075 ,
  IDL_STATUS_E2076 = 2076 ,
  IDL_STATUS_E2077 = 2077 ,
  IDL_STATUS_E2078 = 2078 ,
  IDL_STATUS_E2079 = 2079 ,
  IDL_STATUS_E2080 = 2080 ,
  IDL_STATUS_E2081 = 2081 ,
  IDL_STATUS_E2082 = 2082 ,
  IDL_STATUS_E2083 = 2083 ,
  IDL_STATUS_E2084 = 2084 ,
  IDL_STATUS_E2085 = 2085 ,
  IDL_STATUS_E2086 = 2086 ,
  IDL_STATUS_E2087 = 2087 ,
  IDL_STATUS_E2088 = 2088 ,
  IDL_STATUS_E2089 = 2089 ,
  IDL_STATUS_E2090 = 2090 ,
  IDL_STATUS_E2091 = 2091 ,
  IDL_STATUS_E2092 = 2092 ,
  IDL_STATUS_E2093 = 2093 ,
  IDL_STATUS_E2094 = 2094 ,
  IDL_STATUS_E2095 = 2095 ,
  IDL_STATUS_E2096 = 2096 ,
  IDL_STATUS_E2097 = 2097 ,
  IDL_STATUS_E2098 = 2098 ,
  IDL_STATUS_E2099 = 2099 ,
  IDL_STATUS_E2100 = 2100 ,
  IDL_STATUS_E2101 = 2101 ,
  IDL_STATUS_E2102 = 2102 ,
  IDL_STATUS_E2103 = 2103 ,
  IDL_STATUS_E2104 = 2104 ,
  IDL_STATUS_E2105 = 2105 ,
  IDL_STATUS_E2106 = 2106 ,
  IDL_STATUS_E2107 = 2107 ,
  IDL_STATUS_E2108 = 2108 ,
  IDL_STATUS_E2109 = 2109 ,
  IDL_STATUS_E2110 = 2110 ,
  IDL_STATUS_E2111 = 2111 ,
  IDL_STATUS_E2112 = 2112 ,
  IDL_STATUS_E2113 = 2113 ,
  IDL_STATUS_E2114 = 2114 ,
  IDL_STATUS_E2115 = 2115 ,
  IDL_STATUS_E2116 = 2116 ,
  IDL_STATUS_E2117 = 2117 ,
  IDL_STATUS_E2118 = 2118 ,
  IDL_STATUS_E2119 = 2119 ,
  IDL_STATUS_E2120 = 2120 ,
  IDL_STATUS_E2121 = 2121 ,
  IDL_STATUS_E2122 = 2122 ,
  IDL_STATUS_E2123 = 2123 ,
  IDL_STATUS_E2124 = 2124 ,
  IDL_STATUS_E2125 = 2125 ,
  IDL_STATUS_E2126 = 2126 ,
  IDL_STATUS_E2127 = 2127 ,
  IDL_STATUS_MAX_ENUM = 0x7FFFFFFF
}
 Compilation statuses. More...
 

Functions

idl_utf8_t idl_result_to_string (idl_result_t result)
 Converts error code to descriptive string.
 
Functions of Compilation Result.

Functions for opaque type idl_compilation_result_t.

idl_compilation_result_t idl_compilation_result_reference (idl_compilation_result_t compilation_result)
 Increments reference count.
 
void idl_compilation_result_destroy (idl_compilation_result_t compilation_result)
 Releases compilation result instance.
 
idl_bool_t idl_compilation_result_has_warnings (idl_compilation_result_t compilation_result)
 Checking if there were warnings.
 
idl_bool_t idl_compilation_result_has_errors (idl_compilation_result_t compilation_result)
 Checking if there were errors.
 
void idl_compilation_result_get_messages (idl_compilation_result_t compilation_result, idl_uint32_t *message_count, idl_message_t *messages)
 Returns messages with warnings and errors.
 

Detailed Description

Warning/Error codes.

Here are the warning and error codes that may occur during compilation.

Author
Vladimir Shaleev vladi.nosp@m.mirs.nosp@m.halee.nosp@m.v@gm.nosp@m.ail.c.nosp@m.om