1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     http_Common.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_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/types.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 // Below is the C declaration
86 
87 /* Please see man pages for details
88 
89 
90 */
91 
92 #include <nn/util/detail/util_CLibImpl.h>
93 
94 /* Please see man pages for details
95 
96 */
97 NN_EXTERN_C nnResult nnhttpInitialize(uptr bufferAddress = 0, size_t bufferSize = 0);
98 
99 /* Please see man pages for details
100 
101 */
102 NN_EXTERN_C nnResult nnhttpFinalize(void);
103 
104 /*
105 
106 */
107 
108 #endif /* NN_HTTP_HTTP_COMMON_H_ */
109