1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: rdt_define.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: 49491 $ 14 *---------------------------------------------------------------------------*/ 15 16 ////#include <stdafx.h> 17 18 #ifndef NN_RDT_DEFINE_H_ 19 #define NN_RDT_DEFINE_H_ 20 21 namespace nn { namespace rdt { namespace CTR { 22 23 24 /* Please see man pages for details 25 26 */ 27 enum SenderState{ 28 SENDER_STATE_OPEN_REQUESTED, // 29 SENDER_STATE_OPENING, // 30 SENDER_STATE_OPENED, // 31 SENDER_STATE_CLOSE_REQUESTED, // 32 SENDER_STATE_CLOSING, // 33 SENDER_STATE_CLOSED, // 34 SENDER_STATE_NOT_INITIALIZED // 35 }; 36 37 /* Please see man pages for details 38 39 */ 40 enum ReceiverState{ 41 RECEIVER_STATE_WAITING, // 42 RECEIVER_STATE_OPENED, // 43 RECEIVER_STATE_WAITING_FINISHED, // 44 RECEIVER_STATE_FINISHED, // 45 RECEIVER_STATE_CLOSED, // 46 RECEIVER_STATE_NOT_INITIALIZED // 47 }; 48 49 50 }}} // namespace nn::rdt::CTR 51 52 #endif // end of NN_RDT_DEFINE_H_ 53