libksba  1.6.0
About: KSBA is a library to make the tasks of working with X.509 certificates, CMS data and related objects more easy.
  Fossies Dox: libksba-1.6.0.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

stringbuf.h File Reference
#include "util.h"
#include "errno.h"
Include dependency graph for stringbuf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  stringbuf
 

Functions

static void init_stringbuf (struct stringbuf *sb, int initiallen)
 
static void deinit_stringbuf (struct stringbuf *sb)
 
static void put_stringbuf_mem (struct stringbuf *sb, const char *text, size_t n)
 
static void put_stringbuf_mem_skip (struct stringbuf *sb, const char *text, size_t n, int skip)
 
static void put_stringbuf (struct stringbuf *sb, const char *text)
 
static void put_stringbuf_mem_sexp (struct stringbuf *sb, const char *text, size_t length)
 
static void put_stringbuf_sexp (struct stringbuf *sb, const char *text)
 
static void put_stringbuf_uint (struct stringbuf *sb, unsigned int value)
 
static char * get_stringbuf (struct stringbuf *sb)
 

Function Documentation

◆ deinit_stringbuf()

static void deinit_stringbuf ( struct stringbuf sb)
inlinestatic

Definition at line 60 of file stringbuf.h.

References stringbuf::buf, stringbuf::out_of_core, and xfree.

Referenced by _ksba_dn_to_str().

◆ get_stringbuf()

static char* get_stringbuf ( struct stringbuf sb)
inlinestatic

◆ init_stringbuf()

static void init_stringbuf ( struct stringbuf sb,
int  initiallen 
)
inlinestatic

◆ put_stringbuf()

static void put_stringbuf ( struct stringbuf sb,
const char *  text 
)
inlinestatic

◆ put_stringbuf_mem()

static void put_stringbuf_mem ( struct stringbuf sb,
const char *  text,
size_t  n 
)
inlinestatic

◆ put_stringbuf_mem_sexp()

static void put_stringbuf_mem_sexp ( struct stringbuf sb,
const char *  text,
size_t  length 
)
inlinestatic

◆ put_stringbuf_mem_skip()

static void put_stringbuf_mem_skip ( struct stringbuf sb,
const char *  text,
size_t  n,
int  skip 
)
inlinestatic

◆ put_stringbuf_sexp()

static void put_stringbuf_sexp ( struct stringbuf sb,
const char *  text 
)
inlinestatic

◆ put_stringbuf_uint()

static void put_stringbuf_uint ( struct stringbuf sb,
unsigned int  value 
)
inlinestatic

Definition at line 155 of file stringbuf.h.

References put_stringbuf_sexp().

Referenced by _ksba_crl_get_sig_val(), and cryptval_to_sexp().