Commit 0e19c562 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: src/read_line.h:1.2
Rev: src/read_packet.h:1.1
parent bdf602eb
......@@ -14,8 +14,8 @@
struct line_handler;
typedef (struct read_handler *line_handler_f)(struct line_handler *closure,
UINT32 length,
UINT8 *line);
UINT32 length,
UINT8 *line);
struct line_handler
{
line_handler_f handler;
......
/* read_packet.h
*
* Read-handler to read a packet at a time.
*/
#ifndef LSH_READ_PACKET_H_INCLUDED
#define LSH_READ_PACKET_H_INCLUDED
struct read_packet
{
struct read_handler super; /* Super type */
int state;
UINT32 max_packet;
/* Buffer partial headers and packets. */
UINT32 pos;
struct lsh_string *buffer;
struct mac_instance;
struct crypto_instance;
};
#endif /* LSH_READ_PACKET_H_INCLUDED */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment