gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7000 - GNUnet/src/applications/chat/lib


From: gnunet
Subject: [GNUnet-SVN] r7000 - GNUnet/src/applications/chat/lib
Date: Sun, 1 Jun 2008 21:25:05 -0600 (MDT)

Author: grothoff
Date: 2008-06-01 21:25:02 -0600 (Sun, 01 Jun 2008)
New Revision: 7000

Added:
   GNUnet/src/applications/chat/lib/rooms.c
Log:
rooms file

Added: GNUnet/src/applications/chat/lib/rooms.c
===================================================================
--- GNUnet/src/applications/chat/lib/rooms.c                            (rev 0)
+++ GNUnet/src/applications/chat/lib/rooms.c    2008-06-02 03:25:02 UTC (rev 
7000)
@@ -0,0 +1,46 @@
+/*
+     This file is part of GNUnet.
+     (C) 2008 Christian Grothoff (and other contributing authors)
+
+     GNUnet is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 2, or (at your
+     option) any later version.
+
+     GNUnet is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with GNUnet; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file applications/chat/lib/rooms.c
+ * @brief access to list of (public) chat rooms -- not implemented
+ * @author Christian Grothoff
+ * @author Nathan Evans
+ */
+#include "platform.h"
+#include "gnunet_util.h"
+#include "gnunet_protocols.h"
+#include "gnunet_chat_lib.h"
+#include "gnunet_directories.h"
+#include "chat.h"
+
+#if 0
+/**
+ * List all of the (publically visible) chat rooms.
+ * @return number of rooms on success, GNUNET_SYSERR if iterator aborted
+ */
+int
+GNUNET_CHAT_list_rooms (struct GNUNET_GE_Context *ectx,
+                        struct GNUNET_GC_Configuration *cfg,
+                        GNUNET_CHAT_RoomIterator it, void *cls)
+{
+  return GNUNET_SYSERR;
+}
+#endif





reply via email to

[Prev in Thread] Current Thread [Next in Thread]