E-MailRelay
Public Member Functions | Public Attributes | List of all members
GSmtp::Filter::Exit Struct Reference

Interprets an executable filter's exit code. More...

#include <gfilter.h>

Public Member Functions

 Exit (int exit_code, Type)
 
bool ok () const
 
bool abandon () const
 
bool fail () const
 

Public Attributes

Result result {Result::fail}
 
bool special {false}
 

Detailed Description

Interprets an executable filter's exit code.

Definition at line 125 of file gfilter.h.

Constructor & Destructor Documentation

◆ Exit()

GSmtp::Filter::Exit::Exit ( int  exit_code,
Filter::Type  type 
)

Definition at line 55 of file gfilter.cpp.

Member Function Documentation

◆ abandon()

bool GSmtp::Filter::Exit::abandon ( ) const

Definition at line 118 of file gfilter.cpp.

◆ fail()

bool GSmtp::Filter::Exit::fail ( ) const

Definition at line 124 of file gfilter.cpp.

◆ ok()

bool GSmtp::Filter::Exit::ok ( ) const

Definition at line 113 of file gfilter.cpp.

Member Data Documentation

◆ result

Result GSmtp::Filter::Exit::result {Result::fail}

Definition at line 131 of file gfilter.h.

◆ special

bool GSmtp::Filter::Exit::special {false}

Definition at line 132 of file gfilter.h.


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