Deleted Added
full compact
buffer.h (57429) buffer.h (60573)
1/*
1/*
2 *
2 *
3 * buffer.h
3 * buffer.h
4 *
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
9 *
9 *
10 * Created: Sat Mar 18 04:12:25 1995 ylo
10 * Created: Sat Mar 18 04:12:25 1995 ylo
11 *
11 *
12 * Code for manipulating FIFO buffers.
12 * Code for manipulating FIFO buffers.
13 *
13 *
14 */
15
14 */
15
16/* RCSID("$Id: buffer.h,v 1.3 1999/11/24 19:53:44 markus Exp $"); */
16/* RCSID("$Id: buffer.h,v 1.4 2000/04/14 10:30:30 markus Exp $"); */
17
18#ifndef BUFFER_H
19#define BUFFER_H
20
21typedef struct {
22 char *buf; /* Buffer for data. */
23 unsigned int alloc; /* Number of bytes allocated for data. */
24 unsigned int offset; /* Offset of first byte containing data. */

--- 44 unchanged lines hidden ---
17
18#ifndef BUFFER_H
19#define BUFFER_H
20
21typedef struct {
22 char *buf; /* Buffer for data. */
23 unsigned int alloc; /* Number of bytes allocated for data. */
24 unsigned int offset; /* Offset of first byte containing data. */

--- 44 unchanged lines hidden ---