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

Renamed struct node to struct buffer_node. And don't include any

object header.

Rev: src/write_buffer.h:1.9
parent cea00d90
......@@ -29,12 +29,11 @@
#include "abstract_io.h"
/* For the packet queue */
struct node
/* NOTE: No object header */
struct buffer_node
{
struct lsh_object header;
struct node *next;
struct node *prev;
struct buffer_node *next;
struct buffer_node *prev;
struct lsh_string *packet;
};
......@@ -53,8 +52,8 @@ struct write_buffer
int try_write;
#endif
struct node *head;
struct node *tail;
struct buffer_node *head;
struct buffer_node *tail;
UINT32 pos; /* Partial packet */
struct lsh_string *partial;
......
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