libzypp  17.28.8
zypp::media::CredentialFileReader Class Reference

Parse credentials files and catalogs. More...

#include <media/CredentialFileReader.h>

Public Types

typedef function< bool(AuthData_Ptr &)> ProcessCredentials
 Callback invoked for each entry found in the file. More...

Public Member Functions

 CredentialFileReader (const Pathname &crfile_r, const ProcessCredentials &callback_r)
 ~CredentialFileReader ()

Private Attributes

ProcessCredentials _callback

Detailed Description

Parse credentials files and catalogs.

Definition at line 30 of file CredentialFileReader.h.

Member Typedef Documentation

◆ ProcessCredentials

Callback invoked for each entry found in the file.

Return false to abort parsing.

Definition at line 36 of file CredentialFileReader.h.

Constructor & Destructor Documentation

◆ CredentialFileReader()

zypp::media::CredentialFileReader::CredentialFileReader ( const Pathname crfile_r,
const ProcessCredentials callback_r 

Definition at line 140 of file

◆ ~CredentialFileReader()

zypp::media::CredentialFileReader::~CredentialFileReader ( )

Definition at line 143 of file

Member Data Documentation

◆ _callback

ProcessCredentials zypp::media::CredentialFileReader::_callback

Definition at line 41 of file CredentialFileReader.h.

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