.. | .. |
---|
30 | 30 | } |
---|
31 | 31 | |
---|
32 | 32 | static inline void |
---|
33 | | -seq_buf_init(struct seq_buf *s, unsigned char *buf, unsigned int size) |
---|
| 33 | +seq_buf_init(struct seq_buf *s, char *buf, unsigned int size) |
---|
34 | 34 | { |
---|
35 | 35 | s->buffer = buf; |
---|
36 | 36 | s->size = size; |
---|
.. | .. |
---|
125 | 125 | extern int seq_buf_putmem_hex(struct seq_buf *s, const void *mem, |
---|
126 | 126 | unsigned int len); |
---|
127 | 127 | extern int seq_buf_path(struct seq_buf *s, const struct path *path, const char *esc); |
---|
| 128 | +extern int seq_buf_hex_dump(struct seq_buf *s, const char *prefix_str, |
---|
| 129 | + int prefix_type, int rowsize, int groupsize, |
---|
| 130 | + const void *buf, size_t len, bool ascii); |
---|
128 | 131 | |
---|
129 | 132 | #ifdef CONFIG_BINARY_PRINTF |
---|
130 | 133 | extern int |
---|