Mercurial > hg
comparison mcabber/src/roster.c @ 1065:230dca34dbea
Extand pgp_data structure
Extand pgp_data structure so that we can disbale PGP per contact and compare
the signature key with a reference key id.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 02 Dec 2006 11:13:40 +0100 |
parents | 4e62941df777 |
children | c55b24818546 |
comparison
equal
deleted
inserted
replaced
1064:516b5f7d1023 | 1065:230dca34dbea |
---|---|
1132 return &p_res->pgpdata; | 1132 return &p_res->pgpdata; |
1133 #endif | 1133 #endif |
1134 return NULL; | 1134 return NULL; |
1135 } | 1135 } |
1136 | 1136 |
1137 | |
1138 enum imrole buddy_getrole(gpointer rosterdata, const char *resname) | 1137 enum imrole buddy_getrole(gpointer rosterdata, const char *resname) |
1139 { | 1138 { |
1140 roster *roster_usr = rosterdata; | 1139 roster *roster_usr = rosterdata; |
1141 res *p_res = get_resource(roster_usr, resname); | 1140 res *p_res = get_resource(roster_usr, resname); |
1142 if (p_res) | 1141 if (p_res) |