12 lines
237 B
C
12 lines
237 B
C
#pragma once
|
|
#include "record.h"
|
|
|
|
typedef struct {
|
|
record* location;
|
|
int length;
|
|
int capacity;
|
|
} buffer;
|
|
|
|
buffer create_buffer(int capacity);
|
|
int read_buffer(buffer* buff, FILE* in);
|
|
int write_buffer(buffer* buff, FILE* in);
|