Diff

Differences From Artifact [9ee435cd1e]:

To Artifact [008301a75c]:


1
2
3
4
5



6
7
8
9
10
11
12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15





+
+
+







#ifndef PUTTY_MISC_H
#define PUTTY_MISC_H

#include "puttymem.h"

char *dupstr(char *s);
char *dupcat(char *s1, ...);

struct bufchain_granule;
typedef struct bufchain_tag {
    struct bufchain_granule *head, *tail;
    int buffersize;		       /* current amount of buffered data */
} bufchain;

void bufchain_init(bufchain *ch);