diff options
author | Jay Threeth | 2011-04-04 11:48:26 -0700 |
---|---|---|
committer | Jay Threeth | 2011-04-04 11:48:26 -0700 |
commit | 3c9cc506f741b980565ff5b3b001cd8b6ee36b12 (patch) | |
tree | cb862c57b3d5f74177cde3bd962a53fc377166f6 /linden/indra/libotr/libotr-3.2.0/src/privkey-t.h | |
parent | build fixes, might build on linux now (diff) | |
download | meta-impy-3c9cc506f741b980565ff5b3b001cd8b6ee36b12.zip meta-impy-3c9cc506f741b980565ff5b3b001cd8b6ee36b12.tar.gz meta-impy-3c9cc506f741b980565ff5b3b001cd8b6ee36b12.tar.bz2 meta-impy-3c9cc506f741b980565ff5b3b001cd8b6ee36b12.tar.xz |
add source to libraries, and cruft for building under windows
Diffstat (limited to 'linden/indra/libotr/libotr-3.2.0/src/privkey-t.h')
-rwxr-xr-x | linden/indra/libotr/libotr-3.2.0/src/privkey-t.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/linden/indra/libotr/libotr-3.2.0/src/privkey-t.h b/linden/indra/libotr/libotr-3.2.0/src/privkey-t.h new file mode 100755 index 0000000..3421b8b --- /dev/null +++ b/linden/indra/libotr/libotr-3.2.0/src/privkey-t.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | * Off-the-Record Messaging library | ||
3 | * Copyright (C) 2004-2008 Ian Goldberg, Chris Alexander, Nikita Borisov | ||
4 | * <otr@cypherpunks.ca> | ||
5 | * | ||
6 | * This library is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of version 2.1 of the GNU Lesser General | ||
8 | * Public License as published by the Free Software Foundation. | ||
9 | * | ||
10 | * This library is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | * Lesser General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU Lesser General Public | ||
16 | * License along with this library; if not, write to the Free Software | ||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | */ | ||
19 | |||
20 | #ifndef __PRIVKEY_T_H__ | ||
21 | #define __PRIVKEY_T_H__ | ||
22 | |||
23 | #include <gcrypt.h> | ||
24 | |||
25 | typedef struct s_OtrlPrivKey { | ||
26 | struct s_OtrlPrivKey *next; | ||
27 | struct s_OtrlPrivKey **tous; | ||
28 | |||
29 | char *accountname; | ||
30 | char *protocol; | ||
31 | unsigned short pubkey_type; | ||
32 | gcry_sexp_t privkey; | ||
33 | unsigned char *pubkey_data; | ||
34 | size_t pubkey_datalen; | ||
35 | } OtrlPrivKey; | ||
36 | |||
37 | #define OTRL_PUBKEY_TYPE_DSA 0x0000 | ||
38 | |||
39 | #endif | ||