![Matthew Garrett](/assets/img/avatar_default.png)
Some pstore implementations may not have a static context, so extend the API to pass the pstore_info struct to all calls and allow for a context pointer. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
7 lines
273 B
C
7 lines
273 B
C
extern void pstore_set_kmsg_bytes(int);
|
|
extern void pstore_get_records(void);
|
|
extern int pstore_mkfile(enum pstore_type_id, char *psname, u64 id,
|
|
char *data, size_t size,
|
|
struct timespec time, struct pstore_info *psi);
|
|
extern int pstore_is_mounted(void);
|