00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 #ifndef INETSTL_INCL_INETSTL_H_INETSTL
00043 #define INETSTL_INCL_INETSTL_H_INETSTL
00044 #define INETSTL_INCL_H_INETSTL
00045
00046
00047 #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
00048 # define INETSTL_VER_INETSTL_H_INETSTL_MAJOR 3
00049 # define INETSTL_VER_INETSTL_H_INETSTL_MINOR 5
00050 # define INETSTL_VER_INETSTL_H_INETSTL_REVISION 4
00051 # define INETSTL_VER_INETSTL_H_INETSTL_EDIT 52
00052 #endif
00053
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00106 #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
00107 # define _INETSTL_VER_1_0_1 0x00010001
00108 # define _INETSTL_VER_1_0_2 0x00010002
00109 # define _INETSTL_VER_1_1_1 0x00010101
00110 # define _INETSTL_VER_1_1_2 0x00010102
00111 # define _INETSTL_VER_1_1_3 0x00010103
00112 # define _INETSTL_VER_1_1_4 0x00010104
00113 # define _INETSTL_VER_1_2_1 0x00010201
00114 # define _INETSTL_VER_1_2_2 0x00010202
00115 # define _INETSTL_VER_1_2_3 0x010203ff
00116 # define _INETSTL_VER_1_3_1 0x010301ff
00117 # define _INETSTL_VER_1_3_2 0x010302ff
00118 # define _INETSTL_VER_1_3_3 0x010303ff
00119 # define _INETSTL_VER_1_3_4 0x010304ff
00120 # define _INETSTL_VER_1_3_5 0x010305ff
00121 #endif
00122
00123 #define _INETSTL_VER_MAJOR 1
00124 #define _INETSTL_VER_MINOR 3
00125 #define _INETSTL_VER_REVISION 5
00126 #define _INETSTL_VER _INETSTL_VER_1_3_5
00127
00128
00129
00130
00131
00132
00133 #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
00134 # ifndef STRICT
00135 # if defined(_INETSTL_STRICT) || \
00136 ( !defined(_INETSTL_NO_STRICT) && \
00137 !defined(NO_STRICT))
00138 # define STRICT 1
00139 # endif
00140 # endif
00141 #endif
00142
00143 #ifndef STLSOFT_INCL_STLSOFT_H_STLSOFT
00144 # include <stlsoft/stlsoft.h>
00145 #endif
00146
00147 #if defined(WIN32) || \
00148 defined(WIN64)
00149
00150 # define INETSTL_OS_IS_WINDOWS
00151
00152 # ifndef STLSOFT_INCL_H_WINDOWS
00153 # define STLSOFT_INCL_H_WINDOWS
00154 # include <windows.h>
00155 # endif
00156 # ifndef STLSOFT_INCL_H_WININET
00157 # define STLSOFT_INCL_H_WININET
00158 # include <wininet.h>
00159 # endif
00160
00161 #else
00162
00163 #endif
00164
00165
00166
00167
00168
00169
00170 #if _STLSOFT_VER < 0x01094eff
00171 # error This version of the InetSTL libraries requires STLSoft version 1.9.78, or later
00172 #endif
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191 #if defined(STLSOFT_COMPILER_IS_BORLAND)
00192
00193 # if __BORLANDC__ < 0x0550
00194 # error Versions of Borland C++ prior to 5.5 are not supported by the InetSTL libraries
00195 # endif
00196
00197 #elif defined(STLSOFT_COMPILER_IS_COMO)
00198
00199 # if __COMO_VERSION__ < 4300
00200 # error Versions of Comeau C++ prior to 4.3 are not supported by the InetSTL libraries
00201 # endif
00202
00203 #elif defined(STLSOFT_COMPILER_IS_DMC)
00204
00205 # if __DMC__ < 0x0826
00206 # error Versions of Digital Mars C/C++ prior to 8.26 are not supported by the InetSTL libraries
00207 # endif
00208
00209 #elif defined(STLSOFT_COMPILER_IS_GCC)
00210
00211 # if __GNUC__ < 2 || \
00212 ( __GNUC__ == 2 && \
00213 __GNUC_MINOR__ < 95)
00214 # error Versions of GNU C/C++ prior to 2.95 are not supported by the InetSTL libraries
00215 # endif
00216
00217 #elif defined(STLSOFT_COMPILER_IS_INTEL)
00218
00219 # if (__INTEL_COMPILER < 600)
00220 # error Versions of Intel C++ prior to 6.0 are not supported by the InetSTL libraries
00221 # endif
00222
00223 #elif defined(STLSOFT_COMPILER_IS_MWERKS)
00224
00225 # if (__MWERKS__ & 0xFF00) < 0x2400
00226 # error Versions of Metrowerks CodeWarrior C++ prior to 7.0 are not supported by the InetSTL libraries
00227 # endif
00228
00229 #elif defined(STLSOFT_COMPILER_IS_MSVC)
00230
00231 # if _MSC_VER < 1020
00232 # error Versions of Visual C++ prior to 4.2 are not supported by the InetSTL libraries
00233 # endif
00234
00235 #elif defined(STLSOFT_COMPILER_IS_VECTORC)
00236
00237
00238 #elif defined(STLSOFT_COMPILER_IS_WATCOM)
00239
00240 # if (__WATCOMC__ < 1200)
00241 # error Versions of Watcom C/C++ prior to 12.0 are not supported by the InetSTL libraries
00242 # endif
00243
00244 #else
00245
00246 # ifdef _STLSOFT_FORCE_ANY_COMPILER
00247 # define _INETSTL_COMPILER_IS_UNKNOWN
00248 # ifdef _STLSOFT_COMPILE_VERBOSE
00249 # pragma message("Compiler is unknown to InetSTL")
00250 # endif
00251 # else
00252 # error Currently only Borland C++, Digital Mars C/C++, Intel C/C++, Metrowerks CodeWarrior and Visual C++ compilers are supported by the InetSTL libraries
00253 # endif
00254 #endif
00255
00256
00257
00258
00259
00260
00261
00268 #define INETSTL_ASSERT(expr) STLSOFT_ASSERT(expr)
00269
00277 #define INETSTL_MESSAGE_ASSERT(msg, expr) STLSOFT_MESSAGE_ASSERT(msg, expr)
00278
00285 #define INETSTL_STATIC_ASSERT(expr) STLSOFT_STATIC_ASSERT(expr)
00286
00287
00288
00289 #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
00290 # define inetstl_assert(expr) INETSTL_ASSERT(expr)
00291 # define inetstl_message_assert(msg, expr) INETSTL_MESSAGE_ASSERT(msg, expr)
00292 # define inetstl_static_assert(expr) INETSTL_STATIC_ASSERT(expr)
00293 #endif
00294
00295
00296
00297
00298
00299
00300
00301
00302
00303
00304
00305
00306
00307
00308
00309
00310
00311
00312
00313
00314
00315
00316
00317
00318
00319
00320
00321
00322
00323
00324
00325
00326
00327
00328
00329
00330
00331
00332
00333
00334
00335
00336 #ifdef _STLSOFT_NO_NAMESPACES
00337 # define _INETSTL_NO_NAMESPACES
00338 #endif
00339
00340
00341 #ifdef _INETSTL_NO_NAMESPACES
00342 # define _INETSTL_NO_NAMESPACE
00343 #endif
00344
00345 #ifndef _INETSTL_NO_NAMESPACE
00346 # if defined(_STLSOFT_NO_NAMESPACE) || \
00347 defined(STLSOFT_DOCUMENTATION_SKIP_SECTION)
00348
00379 namespace inetstl
00380 {
00381 # else
00382
00383
00384 namespace stlsoft
00385 {
00386
00387 namespace inetstl_project
00388 {
00389
00390 # endif
00391 #else
00392 stlsoft_ns_using(move_lhs_from_rhs)
00393 #endif
00394
00403 #ifndef _INETSTL_NO_NAMESPACE
00404 # define inetstl_ns_qual(x) ::inetstl::x
00405 # define inetstl_ns_using(x) using ::inetstl::x;
00406 #else
00407 # define inetstl_ns_qual(x) x
00408 # define inetstl_ns_using(x)
00409 #endif
00410
00419 #ifdef STLSOFT_CF_std_NAMESPACE
00420 # define inetstl_ns_qual_std(x) ::std::x
00421 # define inetstl_ns_using_std(x) using ::std::x;
00422 #else
00423 # define inetstl_ns_qual_std(x) x
00424 # define inetstl_ns_using_std(x)
00425 #endif
00426
00427
00428
00429
00430
00431
00432
00433
00434 #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
00435
00436 typedef stlsoft_ns_qual(ss_char_a_t) is_char_a_t;
00437 typedef stlsoft_ns_qual(ss_char_w_t) is_char_w_t;
00438 typedef stlsoft_ns_qual(ss_sint8_t) is_sint8_t;
00439 typedef stlsoft_ns_qual(ss_uint8_t) is_uint8_t;
00440 typedef stlsoft_ns_qual(ss_int16_t) is_int16_t;
00441 typedef stlsoft_ns_qual(ss_sint16_t) is_sint16_t;
00442 typedef stlsoft_ns_qual(ss_uint16_t) is_uint16_t;
00443 typedef stlsoft_ns_qual(ss_int32_t) is_int32_t;
00444 typedef stlsoft_ns_qual(ss_sint32_t) is_sint32_t;
00445 typedef stlsoft_ns_qual(ss_uint32_t) is_uint32_t;
00446 #ifdef STLSOFT_CF_64BIT_INT_SUPPORT
00447 typedef stlsoft_ns_qual(ss_int64_t) is_int64_t;
00448 typedef stlsoft_ns_qual(ss_sint64_t) is_sint64_t;
00449 typedef stlsoft_ns_qual(ss_uint64_t) is_uint64_t;
00450 #endif
00451 typedef stlsoft_ns_qual(ss_int_t) is_int_t;
00452 typedef stlsoft_ns_qual(ss_sint_t) is_sint_t;
00453 typedef stlsoft_ns_qual(ss_uint_t) is_uint_t;
00454 typedef stlsoft_ns_qual(ss_long_t) is_long_t;
00455 typedef stlsoft_ns_qual(ss_byte_t) is_byte_t;
00456 #ifdef __cplusplus
00457 typedef stlsoft_ns_qual(ss_bool_t) is_bool_t;
00458 #endif
00459 # ifdef INETSTL_OS_IS_WINDOWS
00460 typedef DWORD is_dword_t;
00461 # endif
00462 typedef stlsoft_ns_qual(ss_size_t) is_size_t;
00463 typedef stlsoft_ns_qual(ss_ptrdiff_t) is_ptrdiff_t;
00464 typedef stlsoft_ns_qual(ss_streampos_t) is_streampos_t;
00465 typedef stlsoft_ns_qual(ss_streamoff_t) is_streamoff_t;
00467 #endif
00468
00469 #ifndef _INETSTL_NO_NAMESPACE
00470 typedef is_char_a_t char_a_t;
00471 typedef is_char_w_t char_w_t;
00472 typedef is_sint8_t sint8_t;
00473 typedef is_uint8_t uint8_t;
00474 typedef is_int16_t int16_t;
00475 typedef is_sint16_t sint16_t;
00476 typedef is_uint16_t uint16_t;
00477 typedef is_int32_t int32_t;
00478 typedef is_sint32_t sint32_t;
00479 typedef is_uint32_t uint32_t;
00480 # ifdef STLSOFT_CF_64BIT_INT_SUPPORT
00481 typedef is_int64_t int64_t;
00482 typedef is_sint64_t sint64_t;
00483 typedef is_uint64_t uint64_t;
00484 # endif
00485 typedef is_int_t int_t;
00486 typedef is_sint_t sint_t;
00487 typedef is_uint_t uint_t;
00488 typedef is_long_t long_t;
00489 typedef is_byte_t byte_t;
00490 typedef is_bool_t bool_t;
00491 # ifdef INETSTL_OS_IS_WINDOWS
00492 typedef is_dword_t dword_t;
00493 # endif
00494 # if !defined(STLSOFT_COMPILER_IS_DMC)
00495 typedef is_streampos_t streampos_t;
00496 typedef is_streamoff_t streamoff_t;
00497 # endif
00498 #endif
00499
00500
00501
00502
00503
00504
00505
00506
00507
00508 #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
00509
00510 #define is_true_v ss_true_v
00511 #define is_false_v ss_false_v
00512
00513 #endif
00514
00515
00516
00517
00518
00519 #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
00520
00521 # define inetstl_throw_0() stlsoft_throw_0()
00522 # define inetstl_throw_1(x1) stlsoft_throw_1(x1)
00523 # define inetstl_throw_2(x1, x2) stlsoft_throw_2(x1, x2)
00524 # define inetstl_throw_3(x1, x2, x3) stlsoft_throw_3(x1, x2, x3)
00525 # define inetstl_throw_4(x1, x2, x3, x4) stlsoft_throw_4(x1, x2, x3, x4)
00526 # define inetstl_throw_5(x1, x2, x3, x4, x5) stlsoft_throw_5(x1, x2, x3, x4, x5)
00527 # define inetstl_throw_6(x1, x2, x3, x4, x5, x6) stlsoft_throw_6(x1, x2, x3, x4, x5, x6)
00528 # define inetstl_throw_7(x1, x2, x3, x4, x5, x6, x7) stlsoft_throw_7(x1, x2, x3, x4, x5, x6, x7)
00529 # define inetstl_throw_8(x1, x2, x3, x4, x5, x6, x7, x8) stlsoft_throw_8(x1, x2, x3, x4, x5, x6, x7, x8)
00530 #endif
00531
00532 #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
00533 # define INETSTL_NUM_ELEMENTS(ar) STLSOFT_NUM_ELEMENTS(ar)
00534 # define inetstl_num_elements(ar) INETSTL_NUM_ELEMENTS(ar)
00535 #endif
00536
00541 #define inetstl_destroy_instance(t, _type, p) STLSOFT_DESTROY_INSTANCE(t, _type, p)
00542
00547 #define inetstl_gen_opaque(_htype) STLSOFT_GEN_OPAQUE(_htype)
00548
00549
00550
00551 #ifndef _INETSTL_NO_NAMESPACE
00552 # if defined(_STLSOFT_NO_NAMESPACE) || \
00553 defined(STLSOFT_DOCUMENTATION_SKIP_SECTION)
00554 }
00555 # else
00556 }
00557 }
00558 namespace inetstl = ::stlsoft::inetstl_project;
00559 # endif
00560 #endif
00561
00562
00563
00564
00565
00566 #ifdef STLSOFT_CF_PRAGMA_ONCE_SUPPORT
00567 # pragma once
00568 #endif
00569
00570
00571
00572 #endif
00573
00574