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)  

ksba_writer_s Struct Reference

#include <writer.h>

Data Fields

int error
 
unsigned long nwritten
 
enum writer_type type
 
int ndef_is_open
 
gpg_error_t(* filter )(void *, const void *, size_t, size_t *, void *, size_t, size_t *)
 
void * filter_arg
 
union {
   int   fd
 
   FILE *   file
 
   struct {
      int(*   fnc )(void *, const void *, size_t)
 
      void *   value
 
   }   cb
 
   struct {
      unsigned char *   buffer
 
      size_t   size
 
   }   mem
 
u
 
void(* notify_cb )(void *, ksba_writer_t)
 
void * notify_cb_value
 

Detailed Description

Definition at line 45 of file writer.h.

Field Documentation

◆ buffer

unsigned char* ksba_writer_s::buffer

◆ 

ksba_writer_s::cb { ... } struct

◆ error

◆ fd

int ksba_writer_s::fd

Definition at line 57 of file writer.h.

Referenced by _ksba_writer_set_fd().

◆ file

FILE* ksba_writer_s::file

Definition at line 58 of file writer.h.

Referenced by _ksba_writer_set_file(), and do_writer_write().

◆ filter

gpg_error_t(* ksba_writer_s::filter) (void *, const void *, size_t, size_t *, void *, size_t, size_t *)

Definition at line 51 of file writer.h.

Referenced by _ksba_writer_set_filter(), and _ksba_writer_write().

◆ filter_arg

void* ksba_writer_s::filter_arg

Definition at line 54 of file writer.h.

Referenced by _ksba_writer_set_filter(), and _ksba_writer_write().

◆ fnc

int(* ksba_writer_s::fnc) (void *, const void *, size_t)

Definition at line 60 of file writer.h.

Referenced by _ksba_writer_set_cb(), and do_writer_write().

◆ 

◆ ndef_is_open

int ksba_writer_s::ndef_is_open

Definition at line 49 of file writer.h.

Referenced by _ksba_writer_write_octet_string().

◆ notify_cb

void(* ksba_writer_s::notify_cb) (void *, ksba_writer_t)

Definition at line 68 of file writer.h.

Referenced by _ksba_writer_release(), and ksba_writer_set_release_notify().

◆ notify_cb_value

void* ksba_writer_s::notify_cb_value

Definition at line 69 of file writer.h.

Referenced by _ksba_writer_release(), and ksba_writer_set_release_notify().

◆ nwritten

unsigned long ksba_writer_s::nwritten

◆ size

size_t ksba_writer_s::size

Definition at line 65 of file writer.h.

Referenced by _ksba_writer_set_mem(), and do_writer_write().

◆ type

◆ 

◆ value

void* ksba_writer_s::value

Definition at line 61 of file writer.h.

Referenced by _ksba_writer_set_cb(), and do_writer_write().


The documentation for this struct was generated from the following file: