1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     http_Common.h
4   Copyright (C)2009 Nintendo Co., Ltd.  All rights reserved.
5   These coded instructions, statements, and computer programs contain
6   proprietary information of Nintendo of America Inc. and/or Nintendo
7   Company Ltd., and are protected by Federal copyright law. They may
8   not be disclosed to third parties or copied or duplicated in any form,
9   in whole or in part, without the prior written consent of Nintendo.
10   $Rev: 31762 $
11  *---------------------------------------------------------------------------
12 
13 
14 */
15 
16 #ifndef NN_HTTP_HTTP_COMMON_H_
17 #define NN_HTTP_HTTP_COMMON_H_
18 
19 #include <nn/Result.h>
20 
21 #ifdef __cplusplus
22 
23 #include <nn/http/http_ConnectionIpc.h>
24 
25 namespace nn {
26 namespace http {
27     //----------------------------------------
28     //
29     //@{
30 
31     /* Please see man pages for details
32 
33 
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
47 
48 
49 
50 */
51     Result Initialize(uptr bufferAddress = 0, size_t bufferSize = 0);
52 
53     /* Please see man pages for details
54 
55 
56 
57 
58 
59     */
60     Result Finalize(void);
61 
62     /* Please see man pages for details
63 
64 
65 
66 
67 
68     */
69     Result ClearDnsCaches(void);
70 
71     //@}
72 
73     namespace {
74         /* Please see man pages for details
75 
76          */
77         const char PORT_NAME_CONNECTION[]        = "http:C";
78 
79     }
80 } // end of namespace http
81 } // end of namespace nn
82 
83 #endif /*__cplusplus*/
84 
85 
86 /* Please see man pages for details
87 
88 
89 */
90 
91 /* Please see man pages for details
92 
93 */
94 NN_EXTERN_C nnResult nnhttpInitialize(uptr bufferAddress = 0, size_t bufferSize = 0);
95 
96 /* Please see man pages for details
97 
98 */
99 NN_EXTERN_C nnResult nnhttpFinalize(void);
100 
101 /*
102 
103 */
104 
105 #endif /* NN_HTTP_HTTP_COMMON_H_ */
106