aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_contact.h
blob: a8e28a10efcb496ac3e035892a318686d8e12661 (plain) (blame)
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
/*
 * @author Tobias Frisch
 * @file gnunet_chat_contact.h
 */

#ifndef GNUNET_CHAT_CONTACT_H_
#define GNUNET_CHAT_CONTACT_H_

#include "gnunet_chat_context.h"

struct GNUNET_CHAT_Contact
{
  struct GNUNET_CHAT_Handle *handle;
  struct GNUNET_CHAT_Context *context;

  struct GNUNET_MESSENGER_Contact *contact;

  char *nick;
};

struct GNUNET_CHAT_Contact*
contact_create (struct GNUNET_CHAT_Handle *handle);

void
contact_destroy (struct GNUNET_CHAT_Contact *contact);

#endif /* GNUNET_CHAT_CONTACT_H_ */