#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bits.h"
#include "debug.h"
#include "printbuf.h"
Go to the source code of this file.
Functions | |
void | printbuf_free (struct printbuf *p) |
int | printbuf_memappend (struct printbuf *p, const char *buf, int size) |
struct printbuf * | printbuf_new () |
void | printbuf_reset (struct printbuf *p) |
int | sprintbuf (struct printbuf *p, const char *msg,...) |
static int | vasprintf (char **buf, const char *fmt, va_list ap) |
void printbuf_free | ( | struct printbuf * | p | ) |
Definition at line 138 of file printbuf.c.
int printbuf_memappend | ( | struct printbuf * | p, |
const char * | buf, | ||
int | size | ||
) |
Definition at line 43 of file printbuf.c.
struct printbuf* printbuf_new | ( | void | ) | [read] |
Definition at line 28 of file printbuf.c.
void printbuf_reset | ( | struct printbuf * | p | ) |
Definition at line 132 of file printbuf.c.
Definition at line 104 of file printbuf.c.
static int vasprintf | ( | char ** | buf, |
const char * | fmt, | ||
va_list | ap | ||
) | [static] |
Definition at line 71 of file printbuf.c.