1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: socket_DummyUtil.h 4 5 Copyright (C)2009-2012 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: 46347 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_SOCKET_SOCKET_DUMMYUTIL_H_ 17 #define NN_SOCKET_SOCKET_DUMMYUTIL_H_ 18 19 #include <nn/ac.h> 20 #include <nn/socket/socket_Types.h> 21 22 namespace nn { 23 namespace socket { 24 namespace dummy_util { 25 26 // No Security / DHCP 27 Result InitializeNetwork(const char* ssid) NN_ATTRIBUTE_DEPRECATED; 28 Result InitializeNetwork(const u8* ssid, size_t ssidLength) NN_ATTRIBUTE_DEPRECATED; 29 30 // DHCP 31 Result InitializeNetwork(const char* ssid, ac::SecurityMode security, const u8 key[64]) NN_ATTRIBUTE_DEPRECATED; 32 Result InitializeNetwork(const u8* ssid, size_t ssidLength, ac::SecurityMode security, const u8 key[64]) NN_ATTRIBUTE_DEPRECATED; 33 34 Result FinalizeNetwork(void) NN_ATTRIBUTE_DEPRECATED; 35 36 } // end of namespace dummy_util 37 } // end of namespace socket 38 } // end of namespace nn 39 40 #endif // NN_SOCKET_SOCKET_DUMMYUTIL_H_ 41