diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-28 14:38:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-28 14:38:41 +0000 |
commit | 0f5c5a8d55e8f3df8dcb8ddff61da621b6a482af (patch) | |
tree | 37dc963217ce7df2e8207e517289cee47ce0bc73 /src/fs/gnunet-publish.c | |
parent | af1de477ca46a08fd42de32c251dc1aa2c1ab18b (diff) | |
download | gnunet-0f5c5a8d55e8f3df8dcb8ddff61da621b6a482af.tar.gz gnunet-0f5c5a8d55e8f3df8dcb8ddff61da621b6a482af.zip |
-renaming symbols to match naming conventions
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r-- | src/fs/gnunet-publish.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index ae5424bed..1c02004dc 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -432,7 +432,7 @@ directory_scan_cb (void *cls, struct GNUNET_FS_DirScanner *ds, | |||
432 | { | 432 | { |
433 | switch (reason) | 433 | switch (reason) |
434 | { | 434 | { |
435 | case GNUNET_DIR_SCANNER_NEW_FILE: | 435 | case GNUNET_FS_DIRSCANNER_NEW_FILE: |
436 | if (filename != NULL) | 436 | if (filename != NULL) |
437 | { | 437 | { |
438 | if (is_directory) | 438 | if (is_directory) |
@@ -441,7 +441,7 @@ directory_scan_cb (void *cls, struct GNUNET_FS_DirScanner *ds, | |||
441 | FPRINTF (stdout, _("Scanning file `%s'.\n"), filename); | 441 | FPRINTF (stdout, _("Scanning file `%s'.\n"), filename); |
442 | } | 442 | } |
443 | break; | 443 | break; |
444 | case GNUNET_DIR_SCANNER_DOES_NOT_EXIST: | 444 | case GNUNET_FS_DIRSCANNER_DOES_NOT_EXIST: |
445 | if (filename != NULL) | 445 | if (filename != NULL) |
446 | { | 446 | { |
447 | FPRINTF (stdout, | 447 | FPRINTF (stdout, |
@@ -449,7 +449,7 @@ directory_scan_cb (void *cls, struct GNUNET_FS_DirScanner *ds, | |||
449 | filename); | 449 | filename); |
450 | } | 450 | } |
451 | break; | 451 | break; |
452 | case GNUNET_DIR_SCANNER_ASKED_TO_STOP: | 452 | case GNUNET_FS_DIRSCANNER_ASKED_TO_STOP: |
453 | if (filename != NULL) | 453 | if (filename != NULL) |
454 | { | 454 | { |
455 | FPRINTF (stdout, | 455 | FPRINTF (stdout, |
@@ -459,13 +459,13 @@ directory_scan_cb (void *cls, struct GNUNET_FS_DirScanner *ds, | |||
459 | else | 459 | else |
460 | FPRINTF (stdout, "%s", _("Scanner is stopping.\n")); | 460 | FPRINTF (stdout, "%s", _("Scanner is stopping.\n")); |
461 | break; | 461 | break; |
462 | case GNUNET_DIR_SCANNER_SHUTDOWN: | 462 | case GNUNET_FS_DIRSCANNER_SHUTDOWN: |
463 | FPRINTF (stdout, "%s", _("Client is shutting down.\n")); | 463 | FPRINTF (stdout, "%s", _("Client is shutting down.\n")); |
464 | break; | 464 | break; |
465 | case GNUNET_DIR_SCANNER_FINISHED: | 465 | case GNUNET_FS_DIRSCANNER_FINISHED: |
466 | FPRINTF (stdout, "%s", _("Scanner has finished.\n")); | 466 | FPRINTF (stdout, "%s", _("Scanner has finished.\n")); |
467 | break; | 467 | break; |
468 | case GNUNET_DIR_SCANNER_PROTOCOL_ERROR: | 468 | case GNUNET_FS_DIRSCANNER_PROTOCOL_ERROR: |
469 | FPRINTF (stdout, "%s", | 469 | FPRINTF (stdout, "%s", |
470 | _("There was a failure communicating with the scanner.\n")); | 470 | _("There was a failure communicating with the scanner.\n")); |
471 | break; | 471 | break; |
@@ -474,9 +474,9 @@ directory_scan_cb (void *cls, struct GNUNET_FS_DirScanner *ds, | |||
474 | filename); | 474 | filename); |
475 | break; | 475 | break; |
476 | } | 476 | } |
477 | if ((filename == NULL && GNUNET_DIR_SCANNER_FINISHED) | 477 | if ((filename == NULL && GNUNET_FS_DIRSCANNER_FINISHED) |
478 | || reason == GNUNET_DIR_SCANNER_PROTOCOL_ERROR | 478 | || reason == GNUNET_FS_DIRSCANNER_PROTOCOL_ERROR |
479 | || reason == GNUNET_DIR_SCANNER_SHUTDOWN) | 479 | || reason == GNUNET_FS_DIRSCANNER_SHUTDOWN) |
480 | { | 480 | { |
481 | /* Any of this causes us to try to clean up the scanner */ | 481 | /* Any of this causes us to try to clean up the scanner */ |
482 | directory_scan_intermediary_result = GNUNET_FS_directory_scan_cleanup (ds); | 482 | directory_scan_intermediary_result = GNUNET_FS_directory_scan_cleanup (ds); |