1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     ubl_Api.h
4 
5   Copyright (C)2010 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: 17231 $
14  *---------------------------------------------------------------------------*/
15 
16 #ifndef UBL_API_H_
17 #define UBL_API_H_
18 
19 #include<nn/fs.h>
20 #include<nn/fnd.h>
21 #include<nn/Result.h>
22 
23 namespace nn {
24 namespace ubl {
25 
26 /*=======================================================================*
27     Function Prototype Declarations
28  *=======================================================================*/
29 
30 /*
31 
32 
33 
34 
35  */
36 nn::Result Initialize( void );
37 
38 /*
39 
40  */
41 void Finalize( void );
42 
43 /*
44 
45 
46 
47  */
48 nn::Result Clear( void );
49 
50 /*
51 
52 
53 
54 
55 
56 
57 
58 
59 
60 
61  */
62 bool IsExist( u64 authorId , u32 titleId , u64 dataId);
63 
64 /*
65 
66 
67 
68  */
69 u32 GetTotalLocalUser( void );
70 
71 /*
72 
73 
74 
75 
76 
77  */
78 u64 GetUserId( void );
79 
80 /*
81 
82 
83 
84 
85 
86  */
87 bool GetUserName( wchar_t *name );
88 
89 /*
90 
91 
92 
93 
94 
95 
96  */
97 u64 GetHashValue( const void *inputBuffer , size_t inputSize);
98 
99 /*
100 
101 
102 
103 
104 
105 
106 
107 
108 
109 
110  */
111 nn::Result Entry( u64 id, nn::fnd::DateTime *dt );
112 
113 } // end of namespace ubl
114 } // end of namespace nn
115 
116 #endif /* UBL_API_H_ */
117