1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: http_Types.h 4 5 Copyright (C)2009 Nintendo Co., Ltd. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Rev: 26681 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_HTTP_HTTP_TYPES_H_ 17 #define NN_HTTP_HTTP_TYPES_H_ 18 19 20 /*! 21 @addtogroup nn_http http 22 @{ 23 */ 24 25 /** 26 @brief 証明書ID。 27 */ 28 typedef u32 NnHttpCertId; 29 30 /** 31 @brief 内蔵CA証明書ID。(ssl の nnSslInternalCaCertの値と同意。) 32 */ 33 typedef u32 NnHttpInternalCaCertId; 34 35 /** 36 @brief 内蔵クライアント証明書ID。(sslの nnSslInternalClientCertの値と同意。) 37 */ 38 typedef u32 NnHttpInternalClientCertId; 39 40 /*! 41 @} 42 */ 43 44 #ifdef __cplusplus 45 46 namespace nn { 47 namespace http { 48 49 /** 50 @brief 証明書ID。 51 */ 52 typedef NnHttpCertId CertId; 53 54 /** 55 @brief 内蔵CA証明書ID。(sslの @ref nn::ssl::InternalCaCertの値と同意。) 56 */ 57 typedef NnHttpInternalCaCertId InternalCaCertId; 58 59 /** 60 @brief 内蔵クライアント証明書ID。(ssl の @ref nn::ssl::InternalClientCertの値と同意。) 61 */ 62 typedef NnHttpInternalClientCertId InternalClientCertId; 63 64 /** 65 @brief 証明書ストアID。 66 */ 67 typedef u32 CertStoreId; 68 69 /** 70 @brief 接続のハンドルID。 71 nhttpライブラリが各接続に対して割り当てるハンドルIDに該当します。 72 */ 73 typedef s32 ConnectionHandle; 74 75 } // end of namespace http 76 } // end of namespace nn 77 78 #endif /*__cplusplus*/ 79 80 81 82 #endif /* NN_NHTTP_NHTTP_TYPES_H_ */ 83