1001 |
fully trusted. @r_count returns the number of selected keys. |
fully trusted. @r_count returns the number of selected keys. |
1002 |
Return value: the key list on success, NULL otherwise. */ |
Return value: the key list on success, NULL otherwise. */ |
1003 |
gpgme_key_t* |
gpgme_key_t* |
1004 |
keylist_get_recipients (listview_ctrl_t lv, int *r_force_trust, int *r_count) |
keylist_get_recipients (listview_ctrl_t lv, int *r_force_trust, size_t *r_count) |
1005 |
{ |
{ |
1006 |
key_array_s *ka = NULL; |
key_array_s *ka = NULL; |
1007 |
keycache_s *c; |
keycache_s *c; |
1008 |
gpgme_key_t *keybuf, key; |
gpgme_key_t *keybuf, key; |
1009 |
int count = 0, force_trust = 0; |
size_t count = 0; |
1010 |
|
int force_trust = 0; |
1011 |
int n, j, ka_pos = 0, rc = 0; |
int n, j, ka_pos = 0, rc = 0; |
1012 |
int k_pos=0; |
int k_pos=0; |
1013 |
|
|
1082 |
|
|
1083 |
|
|
1084 |
gpgme_key_t* |
gpgme_key_t* |
1085 |
keylist_enum_recipients (listview_ctrl_t lv, int listype, int *r_count) |
keylist_enum_recipients (listview_ctrl_t lv, int listype, size_t *r_count) |
1086 |
{ |
{ |
1087 |
struct keycache_s *c; |
struct keycache_s *c; |
1088 |
gpgme_key_t *rset; |
gpgme_key_t *rset; |
1089 |
gpgme_key_t key; |
gpgme_key_t key; |
1090 |
int i, n, id, k_pos=0; |
size_t k_pos = 0; |
1091 |
|
int i, n, id; |
1092 |
|
|
1093 |
n = listview_count_items (lv, 0); |
n = listview_count_items (lv, 0); |
1094 |
if (!n) |
if (!n) |