X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ffs%2Ffs_dirmetascan.c;h=7b9f178fdcf511a17f0fb9a373aeb0a9b2e53fd6;hb=7348fad86391b913ecc41f986066f260efb04633;hp=f7eb20eb7b5ca057543044f42aef775edb5b18bc;hpb=c2d9d1e64c9801122caaa6b429fc67706db5c9d7;p=oweals%2Fgnunet.git diff --git a/src/fs/fs_dirmetascan.c b/src/fs/fs_dirmetascan.c index f7eb20eb7..7b9f178fd 100644 --- a/src/fs/fs_dirmetascan.c +++ b/src/fs/fs_dirmetascan.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet - Copyright (C) 2005-2012 Christian Grothoff (and other contributing authors) + Copyright (C) 2005-2012 GNUnet e.V. GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -14,8 +14,8 @@ 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. + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ /** @@ -222,11 +222,9 @@ expand_tree (struct GNUNET_FS_ShareTreeItem *parent, * Task run last to shut everything down. * * @param cls the 'struct GNUNET_FS_DirScanner' - * @param tc unused */ static void -finish_scan (void *cls, - const struct GNUNET_SCHEDULER_TaskContext *tc) +finish_scan (void *cls) { struct GNUNET_FS_DirScanner *ds = cls; @@ -247,12 +245,10 @@ finish_scan (void *cls, * Calls the scanner progress handler. * * @param cls the closure (directory scanner object) - * @param client always NULL * @param msg message from the helper process */ static int process_helper_msgs (void *cls, - void *client, const struct GNUNET_MessageHeader *msg) { struct GNUNET_FS_DirScanner *ds = cls; @@ -439,7 +435,8 @@ helper_died_cb (void *cls) * Start a directory scanner thread. * * @param filename name of the directory to scan - * @param disable_extractor #GNUNET_YES to not to run libextractor on files (only build a tree) + * @param disable_extractor #GNUNET_YES to not run libextractor on files (only + * build a tree) * @param ex if not NULL, must be a list of extra plugins for extractor * @param cb the callback to call when there are scanning progress messages * @param cb_cls closure for 'cb'