10 #include "../kernel/event.h"
11 #include "../services/acc.h"
12 #include "../sf/service.h"
73 Service *newsGetServiceSession(
void);
80 Result newsPostLocalNews(
const void *news,
size_t size);
81 Result newsSetPassphrase(
u64 program_id,
const char *passphrase);
82 Result newsGetSubscriptionStatus(
const char *filter,
u32 *status);
85 Result newsIsSystemUpdateRequired(
bool *out);
87 Result newsRequestImmediateReception(
const char *filter);
88 Result newsSetSubscriptionStatus(
const char *filter,
u32 status);
89 Result newsClearStorage(
void);
90 Result newsClearSubscriptionStatusAll(
void);
91 Result newsGetNewsDatabaseDump(
void *buffer,
u64 size,
u64 *out);
Result newsGetDatabaseVersion(u32 *version)
[10.0.0+]
Result newsGetTopicList(u32 channel, u32 *out_count, NewsTopicName *out, u32 max_count)
[3.0.0+]
Result newsGetSavedataUsage(u64 *current, u64 *total)
[6.0.0+]
Result newsDatabaseGetList(NewsDatabaseService *srv, NewsRecord *out, u32 max_count, const char *where, const char *order, u32 *count, u32 offset)
[6.0.0+]
NewsServiceType
Definition: news.h:15
@ NewsServiceType_Viewer
Initializes news:v.
Definition: news.h:20
@ NewsServiceType_Manager
Initializes news:m.
Definition: news.h:18
@ NewsServiceType_Configuration
Initializes news:c.
Definition: news.h:17
@ NewsServiceType_Post
Initializes news:p.
Definition: news.h:19
@ NewsServiceType_Administrator
Initializes news:a.
Definition: news.h:16
Result newsDataOpenWithNewsRecord(NewsDataService *srv, NewsRecord *record)
[6.0.0+]
Result newsCreateOverwriteEventHolder(NewsOverwriteEventHolder *out)
[2.0.0+]
Kernel-mode event structure.
Definition: event.h:13
Service object structure.
Definition: service.h:14
int64_t s64
64-bit signed integer.
Definition: types.h:28
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
u32 Result
Function error code result type.
Definition: types.h:44
int32_t s32
32-bit signed integer.
Definition: types.h:27
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21