#include <stdlib.h>#include <string.h>#include <errno.h>#include <unistd.h>#include <sys/types.h>#include <sys/time.h>#include <sys/socket.h>#include <netatalk/at.h>#include <atalk/atp.h>#include "atp_internals.h"Macros | |
| #define | N_MORE_BUFS 10 |
Functions | |
| static int | more_bufs (void) |
| struct atpbuf * | atp_alloc_buf (void) |
| int | atp_free_buf (struct atpbuf *bp) |
Variables | |
| static struct atpbuf * | free_list = NULL |
Our own memory maintenance for atp
| #define N_MORE_BUFS 10 |
| struct atpbuf * atp_alloc_buf | ( | void | ) |
| int atp_free_buf | ( | struct atpbuf * | bp | ) |
|
static |
|
static |
free buffers