WvStreams
Public Member Functions | List of all members
IWvDBusAuth Class Referenceabstract
Inheritance diagram for IWvDBusAuth:
Inheritance graph
[legend]

Public Member Functions

virtual bool authorize (WvDBusConn &c)=0
 Main action callback.
 
virtual wvuid_t get_uid ()=0
 
virtual bool authorize (WvDBusConn &c)=0
 Main action callback.
 
virtual wvuid_t get_uid ()=0
 

Detailed Description

Definition at line 34 of file debian/libwvstreams-dev/usr/include/wvstreams/wvdbusconn.h.

Constructor & Destructor Documentation

◆ ~IWvDBusAuth() [1/2]

virtual IWvDBusAuth::~IWvDBusAuth ( )
inlinevirtual

◆ ~IWvDBusAuth() [2/2]

virtual IWvDBusAuth::~IWvDBusAuth ( )
inlinevirtual

Definition at line 37 of file include/wvdbusconn.h.

Member Function Documentation

◆ authorize() [1/2]

virtual bool IWvDBusAuth::authorize ( WvDBusConn c)
pure virtual

Main action callback.

Called whenever d seems to have data available. Return false if you're not yet authorized and need to be called again when data is available; return true if you're done.

If authorization fails, call seterr on d with an appropriate error message.

Implemented in WvDBusServerAuth, WvDBusClientAuth, and WvDBusClientAuth.

◆ authorize() [2/2]

virtual bool IWvDBusAuth::authorize ( WvDBusConn c)
pure virtual

Main action callback.

Called whenever d seems to have data available. Return false if you're not yet authorized and need to be called again when data is available; return true if you're done.

If authorization fails, call seterr on d with an appropriate error message.

Implemented in WvDBusServerAuth, WvDBusClientAuth, and WvDBusClientAuth.


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