aboutsummaryrefslogtreecommitdiff
path: root/src/messenger/messenger_api_contact_store.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/messenger/messenger_api_contact_store.h')
-rw-r--r--src/messenger/messenger_api_contact_store.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/messenger/messenger_api_contact_store.h b/src/messenger/messenger_api_contact_store.h
index f2dad9f84..bdab2ceeb 100644
--- a/src/messenger/messenger_api_contact_store.h
+++ b/src/messenger/messenger_api_contact_store.h
@@ -68,7 +68,8 @@ clear_contact_store (struct GNUNET_MESSENGER_ContactStore *store);
68 * @param[in] key_hash Hash of public key 68 * @param[in] key_hash Hash of public key
69 */ 69 */
70struct GNUNET_MESSENGER_Contact* 70struct GNUNET_MESSENGER_Contact*
71get_store_contact_raw (struct GNUNET_MESSENGER_ContactStore *store, const struct GNUNET_HashCode *context, 71get_store_contact_raw (struct GNUNET_MESSENGER_ContactStore *store,
72 const struct GNUNET_HashCode *context,
72 const struct GNUNET_HashCode *key_hash); 73 const struct GNUNET_HashCode *key_hash);
73 74
74/** 75/**
@@ -87,7 +88,8 @@ get_store_contact_raw (struct GNUNET_MESSENGER_ContactStore *store, const struct
87 * @param[in] pubkey Public key of EGO 88 * @param[in] pubkey Public key of EGO
88 */ 89 */
89struct GNUNET_MESSENGER_Contact* 90struct GNUNET_MESSENGER_Contact*
90get_store_contact (struct GNUNET_MESSENGER_ContactStore *store, const struct GNUNET_HashCode *context, 91get_store_contact (struct GNUNET_MESSENGER_ContactStore *store,
92 const struct GNUNET_HashCode *context,
91 const struct GNUNET_IDENTITY_PublicKey *pubkey); 93 const struct GNUNET_IDENTITY_PublicKey *pubkey);
92 94
93/** 95/**
@@ -103,8 +105,10 @@ get_store_contact (struct GNUNET_MESSENGER_ContactStore *store, const struct GNU
103 * @param[in] pubkey Public key of EGO 105 * @param[in] pubkey Public key of EGO
104 */ 106 */
105void 107void
106update_store_contact (struct GNUNET_MESSENGER_ContactStore *store, struct GNUNET_MESSENGER_Contact* contact, 108update_store_contact (struct GNUNET_MESSENGER_ContactStore *store,
107 const struct GNUNET_HashCode *context, const struct GNUNET_HashCode *next_context, 109 struct GNUNET_MESSENGER_Contact* contact,
110 const struct GNUNET_HashCode *context,
111 const struct GNUNET_HashCode *next_context,
108 const struct GNUNET_IDENTITY_PublicKey *pubkey); 112 const struct GNUNET_IDENTITY_PublicKey *pubkey);
109 113
110/** 114/**
@@ -116,7 +120,8 @@ update_store_contact (struct GNUNET_MESSENGER_ContactStore *store, struct GNUNET
116 * @param[in] context Member context 120 * @param[in] context Member context
117 */ 121 */
118void 122void
119remove_store_contact (struct GNUNET_MESSENGER_ContactStore *store, struct GNUNET_MESSENGER_Contact* contact, 123remove_store_contact (struct GNUNET_MESSENGER_ContactStore *store,
124 struct GNUNET_MESSENGER_Contact* contact,
120 const struct GNUNET_HashCode *context); 125 const struct GNUNET_HashCode *context);
121 126
122#endif //GNUNET_MESSENGER_API_CONTACT_STORE_H 127#endif //GNUNET_MESSENGER_API_CONTACT_STORE_H