Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F18825837
gpafiledecryptop.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
2 KB
Subscribers
None
gpafiledecryptop.h
View Options
/* gpafiledecryptop.h - The GpaFileDecryptOperation object.
* Copyright (C) 2003 Miguel Coca.
* Copyright (C) 2008 g10 Code GmbH.
*
* This file is part of GPA
*
* GPA is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GPA is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifndef GPA_FILE_DECRYPT_OP_H
#define GPA_FILE_DECRYPT_OP_H
#include
<glib.h>
#include
<glib-object.h>
#include
"gpafileop.h"
/* GObject stuff */
#define GPA_FILE_DECRYPT_OPERATION_TYPE (gpa_file_decrypt_operation_get_type ())
#define GPA_FILE_DECRYPT_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GPA_FILE_DECRYPT_OPERATION_TYPE, GpaFileDecryptOperation))
#define GPA_FILE_DECRYPT_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GPA_FILE_DECRYPT_OPERATION_TYPE, GpaFileDecryptOperationClass))
#define GPA_IS_FILE_DECRYPT_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GPA_FILE_DECRYPT_OPERATION_TYPE))
#define GPA_IS_FILE_DECRYPT_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GPA_FILE_DECRYPT_OPERATION_TYPE))
#define GPA_FILE_DECRYPT_OPERATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GPA_FILE_DECRYPT_OPERATION_TYPE, GpaFileDecryptOperationClass))
typedef
struct
_GpaFileDecryptOperation
GpaFileDecryptOperation
;
typedef
struct
_GpaFileDecryptOperationClass
GpaFileDecryptOperationClass
;
struct
_GpaFileDecryptOperation
{
GpaFileOperation
parent
;
int
cipher_fd
,
plain_fd
;
gpgme_data_t
cipher
,
plain
;
gboolean
verify
;
gpg_error_t
err
;
int
signed_files
;
GtkWidget
*
dialog
;
};
struct
_GpaFileDecryptOperationClass
{
GpaFileOperationClass
parent_class
;
};
GType
gpa_file_decrypt_operation_get_type
(
void
)
G_GNUC_CONST
;
/* API */
/* Creates a new decryption operation.
*/
GpaFileDecryptOperation
*
gpa_file_decrypt_operation_new
(
GtkWidget
*
window
,
GList
*
files
);
GpaFileDecryptOperation
*
gpa_file_decrypt_verify_operation_new
(
GtkWidget
*
window
,
GList
*
files
);
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Mon, Dec 23, 3:28 PM (1 d, 55 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ed/80/2a310469a8b06d47117a9c64e7b4
Attached To
rGPA Gnu Privacy Assistant
Event Timeline
Log In to Comment