Functions
strbuf.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include "strbuf.h"

Functions

void strbuf_init (strbuf_t *s, int len)
 
strbuf_tstrbuf_new (int len)
 
void strbuf_set_increment (strbuf_t *s, int increment)
 
void strbuf_free (strbuf_t *s)
 
char * strbuf_free_to_string (strbuf_t *s, int *len)
 
void strbuf_resize (strbuf_t *s, int len)
 
void strbuf_append_string (strbuf_t *s, const char *str)
 
void strbuf_append_fmt (strbuf_t *s, int len, const char *fmt,...)
 
void strbuf_append_fmt_retry (strbuf_t *s, const char *fmt,...)
 

Function Documentation

◆ strbuf_append_fmt()

void strbuf_append_fmt ( strbuf_t s,
int  len,
const char *  fmt,
  ... 
)

◆ strbuf_append_fmt_retry()

void strbuf_append_fmt_retry ( strbuf_t s,
const char *  fmt,
  ... 
)

◆ strbuf_append_string()

void strbuf_append_string ( strbuf_t s,
const char *  str 
)

◆ strbuf_free()

void strbuf_free ( strbuf_t s)

◆ strbuf_free_to_string()

char* strbuf_free_to_string ( strbuf_t s,
int *  len 
)

◆ strbuf_init()

void strbuf_init ( strbuf_t s,
int  len 
)

◆ strbuf_new()

strbuf_t* strbuf_new ( int  len)

◆ strbuf_resize()

void strbuf_resize ( strbuf_t s,
int  len 
)

◆ strbuf_set_increment()

void strbuf_set_increment ( strbuf_t s,
int  increment 
)