aboutsummaryrefslogtreecommitdiff
path: root/include/gnunet_chat_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gnunet_chat_lib.h')
-rw-r--r--include/gnunet_chat_lib.h84
1 files changed, 80 insertions, 4 deletions
diff --git a/include/gnunet_chat_lib.h b/include/gnunet_chat_lib.h
index 9c2a432..3d2437a 100644
--- a/include/gnunet_chat_lib.h
+++ b/include/gnunet_chat_lib.h
@@ -41,17 +41,37 @@ enum GNUNET_CHAT_MessageKind
41 /** 41 /**
42 * TODO 42 * TODO
43 */ 43 */
44 GNUNET_CHAT_KIND_TEXT = 1, /**< GNUNET_CHAT_KIND_TEXT */ 44 GNUNET_CHAT_KIND_JOIN = 1, /**< GNUNET_CHAT_KIND_JOIN */
45 45
46 /** 46 /**
47 * TODO 47 * TODO
48 */ 48 */
49 GNUNET_CHAT_KIND_FILE = 2, /**< GNUNET_CHAT_KIND_FILE */ 49 GNUNET_CHAT_KIND_LEAVE = 2, /**< GNUNET_CHAT_KIND_LEAVE */
50 50
51 /** 51 /**
52 * TODO 52 * TODO
53 */ 53 */
54 GNUNET_CHAT_KIND_INVITATION = 3, /**< GNUNET_CHAT_KIND_INVITATION */ 54 GNUNET_CHAT_KIND_CONTACT = 3, /**< GNUNET_CHAT_KIND_CONTACT */
55
56 /**
57 * TODO
58 */
59 GNUNET_CHAT_KIND_INVITATION = 4, /**< GNUNET_CHAT_KIND_INVITATION */
60
61 /**
62 * TODO
63 */
64 GNUNET_CHAT_KIND_TEXT = 5, /**< GNUNET_CHAT_KIND_TEXT */
65
66 /**
67 * TODO
68 */
69 GNUNET_CHAT_KIND_FILE = 6, /**< GNUNET_CHAT_KIND_FILE */
70
71 /**
72 * TODO
73 */
74 GNUNET_CHAT_KIND_DELETION = 7, /**< GNUNET_CHAT_KIND_DELETION */
55 75
56 /** 76 /**
57 * TODO 77 * TODO
@@ -338,6 +358,26 @@ GNUNET_CHAT_contact_get_context (struct GNUNET_CHAT_Contact *contact);
338/** 358/**
339 * TODO 359 * TODO
340 * 360 *
361 * @param contact
362 * @param user_pointer
363 * @return
364 */
365void
366GNUNET_CHAT_contact_set_user_pointer (struct GNUNET_CHAT_Contact *contact,
367 void *user_pointer);
368
369/**
370 * TODO
371 *
372 * @param contact
373 * @return
374 */
375void*
376GNUNET_CHAT_contact_get_user_pointer (struct GNUNET_CHAT_Contact *contact);
377
378/**
379 * TODO
380 *
341 * @param group 381 * @param group
342 * @return 382 * @return
343 */ 383 */
@@ -352,7 +392,7 @@ GNUNET_CHAT_group_leave (struct GNUNET_CHAT_Group *group);
352 */ 392 */
353void 393void
354GNUNET_CHAT_group_set_name (struct GNUNET_CHAT_Group *group, 394GNUNET_CHAT_group_set_name (struct GNUNET_CHAT_Group *group,
355 const char *name); 395 const char *name);
356 396
357/** 397/**
358 * TODO 398 * TODO
@@ -367,6 +407,24 @@ GNUNET_CHAT_group_get_name (const struct GNUNET_CHAT_Group *group);
367 * TODO 407 * TODO
368 * 408 *
369 * @param group 409 * @param group
410 * @param user_pointer
411 */
412void
413GNUNET_CHAT_group_set_user_pointer (struct GNUNET_CHAT_Group *group,
414 void *user_pointer);
415
416/**
417 * TODO
418 *
419 * @param group
420 */
421void*
422GNUNET_CHAT_group_get_user_pointer (struct GNUNET_CHAT_Group *group);
423
424/**
425 * TODO
426 *
427 * @param group
370 * @param contact 428 * @param contact
371 */ 429 */
372void 430void
@@ -399,6 +457,24 @@ GNUNET_CHAT_group_get_context (struct GNUNET_CHAT_Group *group);
399 * TODO 457 * TODO
400 * 458 *
401 * @param context 459 * @param context
460 * @param user_pointer
461 */
462void
463GNUNET_CHAT_context_set_user_pointer (struct GNUNET_CHAT_Context *context,
464 void *user_pointer);
465
466/**
467 * TODO
468 *
469 * @param context
470 */
471void*
472GNUNET_CHAT_context_get_user_pointer (const struct GNUNET_CHAT_Context *context);
473
474/**
475 * TODO
476 *
477 * @param context
402 * @param text 478 * @param text
403 * @return 479 * @return
404 */ 480 */