diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-18 16:39:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-18 16:39:47 +0000 |
commit | 2698214da18ededa4823cd239f4d882665d92cb2 (patch) | |
tree | ba647b07be994e18b2ba406cd2627cfca9437d36 /src/include/gnunet_fs_service.h | |
parent | 206876a5f1f3cae19dbfe46f5ce1241fe4212597 (diff) | |
download | gnunet-2698214da18ededa4823cd239f4d882665d92cb2.tar.gz gnunet-2698214da18ededa4823cd239f4d882665d92cb2.zip |
-add numbers to help devs
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r-- | src/include/gnunet_fs_service.h | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index 69918c8df..db1d74589 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -505,93 +505,93 @@ enum GNUNET_FS_Status | |||
505 | /** | 505 | /** |
506 | * Notification that we have started to publish a file structure. | 506 | * Notification that we have started to publish a file structure. |
507 | */ | 507 | */ |
508 | GNUNET_FS_STATUS_PUBLISH_START, | 508 | GNUNET_FS_STATUS_PUBLISH_START = 0, |
509 | 509 | ||
510 | /** | 510 | /** |
511 | * Notification that we have resumed sharing a file structure. | 511 | * Notification that we have resumed sharing a file structure. |
512 | */ | 512 | */ |
513 | GNUNET_FS_STATUS_PUBLISH_RESUME, | 513 | GNUNET_FS_STATUS_PUBLISH_RESUME = 1, |
514 | 514 | ||
515 | /** | 515 | /** |
516 | * Notification that we have suspended sharing a file structure. | 516 | * Notification that we have suspended sharing a file structure. |
517 | */ | 517 | */ |
518 | GNUNET_FS_STATUS_PUBLISH_SUSPEND, | 518 | GNUNET_FS_STATUS_PUBLISH_SUSPEND = 2, |
519 | 519 | ||
520 | /** | 520 | /** |
521 | * Notification that we are making progress sharing a file structure. | 521 | * Notification that we are making progress sharing a file structure. |
522 | */ | 522 | */ |
523 | GNUNET_FS_STATUS_PUBLISH_PROGRESS, | 523 | GNUNET_FS_STATUS_PUBLISH_PROGRESS = 3, |
524 | 524 | ||
525 | /** | 525 | /** |
526 | * Notification that an error was encountered sharing a file structure. | 526 | * Notification that an error was encountered sharing a file structure. |
527 | * The application will continue to receive resume/suspend events for | 527 | * The application will continue to receive resume/suspend events for |
528 | * this structure until "GNUNET_FS_publish_stop" is called. | 528 | * this structure until "GNUNET_FS_publish_stop" is called. |
529 | */ | 529 | */ |
530 | GNUNET_FS_STATUS_PUBLISH_ERROR, | 530 | GNUNET_FS_STATUS_PUBLISH_ERROR = 4, |
531 | 531 | ||
532 | /** | 532 | /** |
533 | * Notification that we completed sharing a file structure. | 533 | * Notification that we completed sharing a file structure. |
534 | * The application will continue to receive resume/suspend events for | 534 | * The application will continue to receive resume/suspend events for |
535 | * this structure until "GNUNET_FS_publish_stop" is called. | 535 | * this structure until "GNUNET_FS_publish_stop" is called. |
536 | */ | 536 | */ |
537 | GNUNET_FS_STATUS_PUBLISH_COMPLETED, | 537 | GNUNET_FS_STATUS_PUBLISH_COMPLETED = 5, |
538 | 538 | ||
539 | /** | 539 | /** |
540 | * Notification that we have stopped | 540 | * Notification that we have stopped |
541 | * the process of uploading a file structure; no | 541 | * the process of uploading a file structure; no |
542 | * futher events will be generated for this action. | 542 | * futher events will be generated for this action. |
543 | */ | 543 | */ |
544 | GNUNET_FS_STATUS_PUBLISH_STOPPED, | 544 | GNUNET_FS_STATUS_PUBLISH_STOPPED = 6, |
545 | 545 | ||
546 | /** | 546 | /** |
547 | * Notification that we have started this download. | 547 | * Notification that we have started this download. |
548 | */ | 548 | */ |
549 | GNUNET_FS_STATUS_DOWNLOAD_START, | 549 | GNUNET_FS_STATUS_DOWNLOAD_START = 7, |
550 | 550 | ||
551 | /** | 551 | /** |
552 | * Notification that this download is being resumed. | 552 | * Notification that this download is being resumed. |
553 | */ | 553 | */ |
554 | GNUNET_FS_STATUS_DOWNLOAD_RESUME, | 554 | GNUNET_FS_STATUS_DOWNLOAD_RESUME = 8, |
555 | 555 | ||
556 | /** | 556 | /** |
557 | * Notification that this download was suspended. | 557 | * Notification that this download was suspended. |
558 | */ | 558 | */ |
559 | GNUNET_FS_STATUS_DOWNLOAD_SUSPEND, | 559 | GNUNET_FS_STATUS_DOWNLOAD_SUSPEND = 9, |
560 | 560 | ||
561 | /** | 561 | /** |
562 | * Notification about progress with this download. | 562 | * Notification about progress with this download. |
563 | */ | 563 | */ |
564 | GNUNET_FS_STATUS_DOWNLOAD_PROGRESS, | 564 | GNUNET_FS_STATUS_DOWNLOAD_PROGRESS = 10, |
565 | 565 | ||
566 | /** | 566 | /** |
567 | * Notification that this download encountered an error. | 567 | * Notification that this download encountered an error. |
568 | */ | 568 | */ |
569 | GNUNET_FS_STATUS_DOWNLOAD_ERROR, | 569 | GNUNET_FS_STATUS_DOWNLOAD_ERROR = 11, |
570 | 570 | ||
571 | /** | 571 | /** |
572 | * Notification that this download completed. Note that for | 572 | * Notification that this download completed. Note that for |
573 | * directories, completion does not imply completion of all files in | 573 | * directories, completion does not imply completion of all files in |
574 | * the directory. | 574 | * the directory. |
575 | */ | 575 | */ |
576 | GNUNET_FS_STATUS_DOWNLOAD_COMPLETED, | 576 | GNUNET_FS_STATUS_DOWNLOAD_COMPLETED = 12, |
577 | 577 | ||
578 | /** | 578 | /** |
579 | * Notification that this download was stopped | 579 | * Notification that this download was stopped |
580 | * (final event with respect to this action). | 580 | * (final event with respect to this action). |
581 | */ | 581 | */ |
582 | GNUNET_FS_STATUS_DOWNLOAD_STOPPED, | 582 | GNUNET_FS_STATUS_DOWNLOAD_STOPPED = 13, |
583 | 583 | ||
584 | /** | 584 | /** |
585 | * Notification that this download is now actively being | 585 | * Notification that this download is now actively being |
586 | * pursued (as opposed to waiting in the queue). | 586 | * pursued (as opposed to waiting in the queue). |
587 | */ | 587 | */ |
588 | GNUNET_FS_STATUS_DOWNLOAD_ACTIVE, | 588 | GNUNET_FS_STATUS_DOWNLOAD_ACTIVE = 14, |
589 | 589 | ||
590 | /** | 590 | /** |
591 | * Notification that this download is no longer actively | 591 | * Notification that this download is no longer actively |
592 | * being pursued (back in the queue). | 592 | * being pursued (back in the queue). |
593 | */ | 593 | */ |
594 | GNUNET_FS_STATUS_DOWNLOAD_INACTIVE, | 594 | GNUNET_FS_STATUS_DOWNLOAD_INACTIVE = 15, |
595 | 595 | ||
596 | /** | 596 | /** |
597 | * Notification that this download is no longer part of a | 597 | * Notification that this download is no longer part of a |
@@ -599,122 +599,122 @@ enum GNUNET_FS_Status | |||
599 | * download (and may thus need to be moved in the GUI | 599 | * download (and may thus need to be moved in the GUI |
600 | * into a different category). | 600 | * into a different category). |
601 | */ | 601 | */ |
602 | GNUNET_FS_STATUS_DOWNLOAD_LOST_PARENT, | 602 | GNUNET_FS_STATUS_DOWNLOAD_LOST_PARENT = 16, |
603 | 603 | ||
604 | /** | 604 | /** |
605 | * First event generated when a client requests | 605 | * First event generated when a client requests |
606 | * a search to begin or when a namespace result | 606 | * a search to begin or when a namespace result |
607 | * automatically triggers the search for updates. | 607 | * automatically triggers the search for updates. |
608 | */ | 608 | */ |
609 | GNUNET_FS_STATUS_SEARCH_START, | 609 | GNUNET_FS_STATUS_SEARCH_START = 17, |
610 | 610 | ||
611 | /** | 611 | /** |
612 | * Last event when a search is being resumed; | 612 | * Last event when a search is being resumed; |
613 | * note that "GNUNET_FS_SEARCH_START" will not | 613 | * note that "GNUNET_FS_SEARCH_START" will not |
614 | * be generated in this case. | 614 | * be generated in this case. |
615 | */ | 615 | */ |
616 | GNUNET_FS_STATUS_SEARCH_RESUME, | 616 | GNUNET_FS_STATUS_SEARCH_RESUME = 18, |
617 | 617 | ||
618 | /** | 618 | /** |
619 | * Event generated for each search result | 619 | * Event generated for each search result |
620 | * when the respective search is resumed. | 620 | * when the respective search is resumed. |
621 | */ | 621 | */ |
622 | GNUNET_FS_STATUS_SEARCH_RESUME_RESULT, | 622 | GNUNET_FS_STATUS_SEARCH_RESUME_RESULT = 19, |
623 | 623 | ||
624 | /** | 624 | /** |
625 | * Last event when a search is being suspended; | 625 | * Last event when a search is being suspended; |
626 | * note that "GNUNET_FS_SEARCH_STOPPED" will not | 626 | * note that "GNUNET_FS_SEARCH_STOPPED" will not |
627 | * be generated in this case. | 627 | * be generated in this case. |
628 | */ | 628 | */ |
629 | GNUNET_FS_STATUS_SEARCH_SUSPEND, | 629 | GNUNET_FS_STATUS_SEARCH_SUSPEND = 20, |
630 | 630 | ||
631 | /** | 631 | /** |
632 | * This search has yielded a result. | 632 | * This search has yielded a result. |
633 | */ | 633 | */ |
634 | GNUNET_FS_STATUS_SEARCH_RESULT, | 634 | GNUNET_FS_STATUS_SEARCH_RESULT = 21, |
635 | 635 | ||
636 | /** | 636 | /** |
637 | * We have discovered a new namespace. | 637 | * We have discovered a new namespace. |
638 | */ | 638 | */ |
639 | GNUNET_FS_STATUS_SEARCH_RESULT_NAMESPACE, | 639 | GNUNET_FS_STATUS_SEARCH_RESULT_NAMESPACE = 22, |
640 | 640 | ||
641 | /** | 641 | /** |
642 | * We have additional data about the quality | 642 | * We have additional data about the quality |
643 | * or availability of a search result. | 643 | * or availability of a search result. |
644 | */ | 644 | */ |
645 | GNUNET_FS_STATUS_SEARCH_UPDATE, | 645 | GNUNET_FS_STATUS_SEARCH_UPDATE = 23, |
646 | 646 | ||
647 | /** | 647 | /** |
648 | * Signals a problem with this search. | 648 | * Signals a problem with this search. |
649 | */ | 649 | */ |
650 | GNUNET_FS_STATUS_SEARCH_ERROR, | 650 | GNUNET_FS_STATUS_SEARCH_ERROR = 24, |
651 | 651 | ||
652 | /** | 652 | /** |
653 | * Signals that this search was paused. | 653 | * Signals that this search was paused. |
654 | */ | 654 | */ |
655 | GNUNET_FS_STATUS_SEARCH_PAUSED, | 655 | GNUNET_FS_STATUS_SEARCH_PAUSED = 25, |
656 | 656 | ||
657 | /** | 657 | /** |
658 | * Signals that this search was continued (unpaused). | 658 | * Signals that this search was continued (unpaused). |
659 | */ | 659 | */ |
660 | GNUNET_FS_STATUS_SEARCH_CONTINUED, | 660 | GNUNET_FS_STATUS_SEARCH_CONTINUED = 26, |
661 | 661 | ||
662 | /** | 662 | /** |
663 | * Event generated for each search result | 663 | * Event generated for each search result |
664 | * when the respective search is stopped. | 664 | * when the respective search is stopped. |
665 | */ | 665 | */ |
666 | GNUNET_FS_STATUS_SEARCH_RESULT_STOPPED, | 666 | GNUNET_FS_STATUS_SEARCH_RESULT_STOPPED = 27, |
667 | 667 | ||
668 | /** | 668 | /** |
669 | * Event generated for each search result | 669 | * Event generated for each search result |
670 | * when the respective search is suspended. | 670 | * when the respective search is suspended. |
671 | */ | 671 | */ |
672 | GNUNET_FS_STATUS_SEARCH_RESULT_SUSPEND, | 672 | GNUNET_FS_STATUS_SEARCH_RESULT_SUSPEND = 28, |
673 | 673 | ||
674 | /** | 674 | /** |
675 | * Last message from a search; this signals | 675 | * Last message from a search; this signals |
676 | * that there will be no further events associated | 676 | * that there will be no further events associated |
677 | * with this search. | 677 | * with this search. |
678 | */ | 678 | */ |
679 | GNUNET_FS_STATUS_SEARCH_STOPPED, | 679 | GNUNET_FS_STATUS_SEARCH_STOPPED = 29, |
680 | 680 | ||
681 | /** | 681 | /** |
682 | * Notification that we started to unindex a file. | 682 | * Notification that we started to unindex a file. |
683 | */ | 683 | */ |
684 | GNUNET_FS_STATUS_UNINDEX_START, | 684 | GNUNET_FS_STATUS_UNINDEX_START = 30, |
685 | 685 | ||
686 | /** | 686 | /** |
687 | * Notification that we resumed unindexing of a file. | 687 | * Notification that we resumed unindexing of a file. |
688 | */ | 688 | */ |
689 | GNUNET_FS_STATUS_UNINDEX_RESUME, | 689 | GNUNET_FS_STATUS_UNINDEX_RESUME = 31, |
690 | 690 | ||
691 | /** | 691 | /** |
692 | * Notification that we suspended unindexing a file. | 692 | * Notification that we suspended unindexing a file. |
693 | */ | 693 | */ |
694 | GNUNET_FS_STATUS_UNINDEX_SUSPEND, | 694 | GNUNET_FS_STATUS_UNINDEX_SUSPEND = 32, |
695 | 695 | ||
696 | /** | 696 | /** |
697 | * Notification that we made progress unindexing a file. | 697 | * Notification that we made progress unindexing a file. |
698 | */ | 698 | */ |
699 | GNUNET_FS_STATUS_UNINDEX_PROGRESS, | 699 | GNUNET_FS_STATUS_UNINDEX_PROGRESS = 33, |
700 | 700 | ||
701 | /** | 701 | /** |
702 | * Notification that we encountered an error unindexing | 702 | * Notification that we encountered an error unindexing |
703 | * a file. | 703 | * a file. |
704 | */ | 704 | */ |
705 | GNUNET_FS_STATUS_UNINDEX_ERROR, | 705 | GNUNET_FS_STATUS_UNINDEX_ERROR = 34, |
706 | 706 | ||
707 | /** | 707 | /** |
708 | * Notification that the unindexing of this file | 708 | * Notification that the unindexing of this file |
709 | * was completed. | 709 | * was completed. |
710 | */ | 710 | */ |
711 | GNUNET_FS_STATUS_UNINDEX_COMPLETED, | 711 | GNUNET_FS_STATUS_UNINDEX_COMPLETED = 35, |
712 | 712 | ||
713 | /** | 713 | /** |
714 | * Notification that the unindexing of this file | 714 | * Notification that the unindexing of this file |
715 | * was stopped (final event for this action). | 715 | * was stopped (final event for this action). |
716 | */ | 716 | */ |
717 | GNUNET_FS_STATUS_UNINDEX_STOPPED | 717 | GNUNET_FS_STATUS_UNINDEX_STOPPED = 36 |
718 | }; | 718 | }; |
719 | 719 | ||
720 | 720 | ||