-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathencrypt.h
More file actions
executable file
·46 lines (35 loc) · 1.68 KB
/
encrypt.h
File metadata and controls
executable file
·46 lines (35 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* Gaim encryption plugin */
/* Copyright (C) 2001-2003 William Tompkins */
/* This plugin is free software, distributed under the GNU General Public */
/* License. */
/* Please see the file "COPYING" distributed with this source code */
/* for more details */
/* */
/* */
/* This software 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. */
/* To compile and use: */
/* See INSTALL file. */
#ifndef ENCRYPT_H
#define ENCRYPT_H
#include <time.h>
#ifndef NO_CONFIG
#include "pidgin-encryption-config.h"
#endif
#include <conversation.h>
#define ENC_WEBSITE "http://pidgin-encrypt.sourceforge.net"
#define CRYPTO_SMILEY "PECRYPT:"
#define CRYPTO_SMILEY_LEN (sizeof(CRYPTO_SMILEY)-1)
typedef struct PE_SentMessage
{
time_t time;
gchar* id;
gchar* msg;
} PE_SentMessage;
void PE_send_stored_msgs(PurpleAccount*, const char *who);
void PE_delete_stored_msgs(PurpleAccount*, const char *who);
void PE_show_stored_msgs(PurpleAccount*, const char* who);
void PE_resend_msg(PurpleAccount*, const char* who, gchar*);
#endif