kleopatra
command.cpp File Reference
#include <config-kleopatra.h>
#include "command.h"
#include "command_p.h"
#include <QtGlobal>
#include <QMutexLocker>
#include <QFile>
#include <QDebug>
#include <QDir>
#include <assuan.h>
#include <gpg-error.h>
#include <boost/shared_ptr.hpp>
#include <boost/type_traits/remove_pointer.hpp>
#include <algorithm>
#include <string>
#include "moc_command_p.cpp"
#include "moc_command.cpp"

Go to the source code of this file.
Typedefs | |
| typedef shared_ptr < remove_pointer < assuan_context_t >::type > | AssuanContextBase |
Functions | |
| static int | command_data_cb (void *opaque, const void *buffer, size_t length) |
| static QString | default_socket_name () |
| static QString | get_default_socket_name () |
| static int | getinfo_pid_cb (void *opaque, const void *buffer, size_t length) |
| static QString | gnupg_home_directory () |
| static QByteArray | hexencode (const QByteArray &in) |
| static std::string | hexencode (const std::string &in) |
| static assuan_error_t | my_assuan_transact (const AssuanClientContext &ctx, const char *command, int(*data_cb)(void *, const void *, size_t)=0, void *data_cb_arg=0, int(*inquire_cb)(void *, const char *)=0, void *inquire_cb_arg=0, int(*status_cb)(void *, const char *)=0, void *status_cb_arg=0) |
| static int | send_file (const AssuanClientContext &ctx, const QString &file) |
| static int | send_option (const AssuanClientContext &ctx, const char *name, const QVariant &value) |
| static QString | start_uiserver () |
| static QString | to_error_string (int err) |
Typedef Documentation
| typedef shared_ptr< remove_pointer<assuan_context_t>::type > AssuanContextBase |
Definition at line 282 of file libkleopatraclient/core/command.cpp.
Function Documentation
| static int command_data_cb | ( | void * | opaque, | |
| const void * | buffer, | |||
| size_t | length | |||
| ) | [static] |
Definition at line 346 of file libkleopatraclient/core/command.cpp.
| static QString default_socket_name | ( | ) | [static] |
Definition at line 331 of file libkleopatraclient/core/command.cpp.
| static QString get_default_socket_name | ( | ) | [static] |
Definition at line 324 of file libkleopatraclient/core/command.cpp.
| static int getinfo_pid_cb | ( | void * | opaque, | |
| const void * | buffer, | |||
| size_t | length | |||
| ) | [static] |
Definition at line 340 of file libkleopatraclient/core/command.cpp.
| static QString gnupg_home_directory | ( | ) | [static] |
Definition at line 312 of file libkleopatraclient/core/command.cpp.
| static QByteArray hexencode | ( | const QByteArray & | in | ) | [static] |
Definition at line 97 of file libkleopatraclient/core/command.cpp.
| static std::string hexencode | ( | const std::string & | in | ) | [static] |
Definition at line 56 of file libkleopatraclient/core/command.cpp.
| static assuan_error_t my_assuan_transact | ( | const AssuanClientContext & | ctx, | |
| const char * | command, | |||
| int(*)(void *, const void *, size_t) | data_cb = 0, |
|||
| void * | data_cb_arg = 0, |
|||
| int(*)(void *, const char *) | inquire_cb = 0, |
|||
| void * | inquire_cb_arg = 0, |
|||
| int(*)(void *, const char *) | status_cb = 0, |
|||
| void * | status_cb_arg = 0 | |||
| ) | [static] |
Definition at line 292 of file libkleopatraclient/core/command.cpp.
| static int send_file | ( | const AssuanClientContext & | ctx, | |
| const QString & | file | |||
| ) | [static] |
Definition at line 359 of file libkleopatraclient/core/command.cpp.
| static int send_option | ( | const AssuanClientContext & | ctx, | |
| const char * | name, | |||
| const QVariant & | value | |||
| ) | [static] |
Definition at line 352 of file libkleopatraclient/core/command.cpp.
| static QString start_uiserver | ( | ) | [static] |
Definition at line 336 of file libkleopatraclient/core/command.cpp.
| static QString to_error_string | ( | int | err | ) | [static] |
Definition at line 304 of file libkleopatraclient/core/command.cpp.
KDE 4.2 API Reference