debug.h 378 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
/* debug.h
 *
 * Packet processor dumping packets to a file.
 */

#ifndef LSH_DEBUG_H_INCLUDED
#define LSH_DEBUG_H_INCLUDED

#include <stdio.h>
Niels Möller's avatar
Niels Möller committed
10
#include "abstract_io.h"
11

12
struct packet_debug
13
{
Niels Möller's avatar
Niels Möller committed
14
  struct abstract_write_pipe super;
15
  FILE *output;
Niels Möller's avatar
Niels Möller committed
16
};
17

Niels Möller's avatar
Niels Möller committed
18
struct abstract_write *
19
make_packet_debug(struct abstract_write *continuation, FILE *output);
20
21
22


#endif */ LSH_DEBUG_H_INCLUDED */