signon  8.40
signondaemon.cpp File Reference
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <QtDebug>
#include <QDir>
#include <QDBusConnection>
#include <QDBusMessage>
#include <QDBusMetaType>
#include <QPluginLoader>
#include <QProcessEnvironment>
#include <QSocketNotifier>
#include "SignOn/misc.h"
#include "signondaemon.h"
#include "signond-common.h"
#include "signontrace.h"
#include "signondaemonadaptor.h"
#include "signonidentity.h"
#include "signonauthsession.h"
#include "accesscontrolmanagerhelper.h"
#include "backupifadaptor.h"
Include dependency graph for signondaemon.cpp:

Go to the source code of this file.

Namespaces

namespace  SignonDaemonNS
 

Defines

#define SIGNON_RETURN_IF_CAM_UNAVAILABLE(_ret_arg_)
#define BACKUP_DIR_NAME()   (QDir::separator() + QLatin1String("backup"))

Variables

const QString SignonDaemonNS::internalServerErrName = SIGNOND_INTERNAL_SERVER_ERR_NAME
const QString SignonDaemonNS::internalServerErrStr = SIGNOND_INTERNAL_SERVER_ERR_STR

Define Documentation

#define BACKUP_DIR_NAME ( )    (QDir::separator() + QLatin1String("backup"))

Definition at line 60 of file signondaemon.cpp.

#define SIGNON_RETURN_IF_CAM_UNAVAILABLE (   _ret_arg_)
Value:
do {                   \
        if (m_pCAMManager && !m_pCAMManager->credentialsSystemOpened()) {  \
            sendErrorReply(internalServerErrName,                          \
                           internalServerErrStr +                          \
                           QLatin1String("Could not access Signon "        \
                                         "Database."));                    \
            return _ret_arg_;           \
        }                               \
    } while(0)

Definition at line 50 of file signondaemon.cpp.

Referenced by SignonDaemonNS::SignonDaemon::clear(), SignonDaemonNS::SignonDaemon::getIdentity(), and SignonDaemonNS::SignonDaemon::queryIdentities().