aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet-conversation-gtk_history.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_history.h')
-rw-r--r--src/conversation/gnunet-conversation-gtk_history.h66
1 files changed, 59 insertions, 7 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_history.h b/src/conversation/gnunet-conversation-gtk_history.h
index 604e0831..79a21946 100644
--- a/src/conversation/gnunet-conversation-gtk_history.h
+++ b/src/conversation/gnunet-conversation-gtk_history.h
@@ -1,11 +1,63 @@
1/*
2 This file is part of GNUnet.
3 (C) 2010-2014 Christian Grothoff (and other contributing authors)
1 4
2/**************** 5 GNUnet is free software; you can redistribute it and/or modify
3 * history * 6 it under the terms of the GNU General Public License as published
4 ****************/ 7 by the Free Software Foundation; either version 3, or (at your
8 option) any later version.
5 9
6extern void 10 GNUnet is distributed in the hope that it will be useful, but
7GNUNET_CONVERSATION_GTK_history_add (int, char *); 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
8 14
9extern void 15 You should have received a copy of the GNU General Public License
10GNUNET_CONVERSATION_GTK_history_init(); 16 along with GNUnet; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19*/
11 20
21/**
22 * @file src/conversation/gnunet-conversation-gtk_history.h
23 * @brief manages the call history view
24 * @author yids
25 * @author hark
26 */
27#ifndef GNUNET_CONVERSATION_GTK_HISTORY_H
28#define GNUNET_CONVERSATION_GTK_HISTORY_H
29
30
31/**
32 * FIXME: used?
33 */
34enum CallHistoryType
35{
36 CH_ACCEPTED,
37 CH_REJECTED,
38 CH_OUTGOING,
39 CH_HANGUP,
40 CH_MISSED
41};
42
43
44/**
45 * Add an entry to the history.
46 *
47 * FIXME: use `enum CallHistoryType` here?
48 * @param type type of call: 0: accepted 1: rejected 2: outgoing call
49 * @param contactName name of the contact person
50 */
51void
52GCG_HISTORY_add (int type,
53 char *contactName);
54
55
56/**
57 * Intialize history subsystem.
58 */
59void
60GCG_HISTORY_init (void);
61
62
63#endif