Ssl::CertificateDb::Row Class Reference

A wrapper for OpenSSL database row of TXT_DB database. More...

#include <certificate_db.h>

Collaboration diagram for Ssl::CertificateDb::Row:

Public Member Functions

 Row ()
 Create row wrapper. More...
 Row (char **row, size_t width)
 Create row wrapper for row with width items. More...
 ~Row ()
 Delete all row. More...
void setValue (size_t number, char const *value)
 Set cell's value in row. More...
char ** getRow ()
 Raw row. More...
void reset ()
 Abandon row and don't free memory. More...

Private Attributes

char ** row
 Raw row. More...
size_t width
 Number of cells in the row. More...

Detailed Description

Definition at line 78 of file certificate_db.h.

Constructor & Destructor Documentation

◆ Row() [1/2]

Ssl::CertificateDb::Row::Row ( )

Definition at line 114 of file

References i, NULL, row, and width.

◆ Row() [2/2]

Ssl::CertificateDb::Row::Row ( char **  row,
size_t  width 

Definition at line 122 of file

References row.

◆ ~Row()

Ssl::CertificateDb::Row::~Row ( )

Definition at line 127 of file

References i, max(), NULL, row, and width.

Member Function Documentation

◆ getRow()

char ** Ssl::CertificateDb::Row::getRow ( )

Definition at line 169 of file

References row.

Referenced by Ssl::CertificateDb::addCertAndPrivateKey(), and Ssl::CertificateDb::pure_find().

◆ reset()

void Ssl::CertificateDb::Row::reset ( )

Definition at line 151 of file

References NULL, and row.

Referenced by Ssl::CertificateDb::addCertAndPrivateKey().

◆ setValue()

void Ssl::CertificateDb::Row::setValue ( size_t  number,
char const *  value 

Definition at line 156 of file

References assert, free, NULL, row, and width.

Referenced by Ssl::CertificateDb::addCertAndPrivateKey(), and Ssl::CertificateDb::pure_find().

Member Data Documentation

◆ row

char** Ssl::CertificateDb::Row::row

◆ width

size_t Ssl::CertificateDb::Row::width

Definition at line 92 of file certificate_db.h.

Referenced by Row(), setValue(), and ~Row().

The documentation for this class was generated from the following files:






Web Site Translations