2011-06-24 17:16:16 +02:00
|
|
|
#ifndef _LINUX_SEQ_FILE_H
|
|
|
|
#define _LINUX_SEQ_FILE_H
|
|
|
|
|
2016-01-20 05:19:53 +01:00
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/string.h>
|
|
|
|
#include <linux/bug.h>
|
|
|
|
#include <linux/mutex.h>
|
2011-06-24 17:16:16 +02:00
|
|
|
|
2016-01-20 05:19:53 +01:00
|
|
|
struct seq_file {
|
|
|
|
char *buf;
|
|
|
|
size_t size;
|
|
|
|
size_t from;
|
|
|
|
size_t count;
|
|
|
|
size_t pad_until;
|
|
|
|
loff_t index;
|
|
|
|
loff_t read_pos;
|
|
|
|
u64 version;
|
|
|
|
void *private;
|
|
|
|
};
|
2009-10-24 23:42:25 +02:00
|
|
|
|
2016-01-20 05:19:53 +01:00
|
|
|
int seq_puts(struct seq_file *m, const char *s);
|
|
|
|
|
|
|
|
__printf(2, 3) int seq_printf(struct seq_file *, const char *, ...);
|
2014-12-27 16:42:08 +01:00
|
|
|
|
|
|
|
|
2011-06-24 17:16:16 +02:00
|
|
|
#endif
|