/*
  Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG
*/

  


     

char const* torrent_status_doc = 
    "Represents the current status for a torrent.\n"
    "Returned by `torrent_handle.status()`.";

char const* torrent_status_state_doc = 
    "The torrents current task. One of `torrent_status.states`.";

char const* torrent_status_paused_doc = 
    "Indicates if this torrent is paused or not.";

char const* torrent_status_progress_doc = 
    "A value in the range [0, 1], that represents the progress of\n"
    "the torrent's current task.";

char const* torrent_status_next_announce_doc = 
    "The time until the torrent will announce itself to the\n"
    "tracker. An instance of `datetime.timedelta`.";

char const* torrent_status_announce_interval_doc = 
    "The interval at which the torrent will reannounce itself to the\n"
    "tracker. An instance of `datetime.timedelta`.";

char const* torrent_status_current_tracker_doc = 
    "The URL of the last working tracker. If no tracker request has\n"
    "been successful yet, it's set to an empty string.";

char const* torrent_status_total_download_doc = "";
char const* torrent_status_total_upload_doc = "";
char const* torrent_status_total_payload_download_doc = "";
char const* torrent_status_total_payload_upload_doc = "";
char const* torrent_status_total_failed_bytes_doc = "";  

char const* session_status_doc = 
    "";
char const* session_status_has_incoming_connections_doc = 
    "";
char const* session_status_upload_rate_doc = 
    "";
char const* session_status_download_rate_doc = 
    "";
char const* session_status_payload_upload_rate_doc = 
    "";
char const* session_status_payload_download_rate_doc = 
    "";
char const* session_status_total_download_doc = 
    "";
char const* session_status_total_upload_doc = 
    "";
char const* session_status_total_payload_download_doc = 
    "";
char const* session_status_total_payload_upload_doc = 
    "";
char const* session_status_num_peers_doc = 
    "";
char const* session_status_dht_nodes_doc = 
    "";
char const* session_status_cache_nodes_doc = 
    "";
char const* session_status_dht_torrents_doc = 
    "";  

char const* session_doc = 
    "";
char const* session_init_doc = 
    "The `fingerprint` is a short string that will be used in\n"
    "the peer-id to identify the client and the client's version.\n"
    "For more details see the `fingerprint` class.\n"
    "The constructor that only takes a fingerprint will not open\n"
    "a listen port for the session, to get it running you'll have\n"
    "to call `session.listen_on()`.";

char const* session_listen_on_doc = 
    "";
char const* session_is_listening_doc = 
    "";
char const* session_listen_port_doc = 
    "";

char const* session_status_m_doc = 
    "Returns an instance of `session_status` with session wide-statistics\n"
    "and status";

char const* session_start_dht_doc = 
    "";
char const* session_stop_dht_doc = 
    "";
char const* session_dht_state_doc = 
    "";

char const* session_add_torrent_doc = 
    "Adds a new torrent to the session. Return a `torrent_handle`.\n"
    "\n"
    ":Parameters:\n"
    "  - `torrent_info`: `torrent_info` instance representing the torrent\n"
    "    you want to add.\n"
    "  - `save_path`: The path to the directory where files will be saved.\n"
    "  - `resume_data (optional)`: The resume data for this torrent, as decoded\n"
    "    with `bdecode()`. This can be acquired from a running torrent with\n"
    "    `torrent_handle.write_resume_data()`.\n"
    "  - `compact_mode (optional)`: If set to true (default), the storage\n"
    "    will grow as more pieces are downloaded, and pieces are rearranged\n"
    "    to finally be in their correct places once the entire torrent has\n"
    "    been downloaded. If it is false, the entire storage is allocated\n"
    "    before download begins. I.e. the files contained in the torrent\n"
    "    are filled with zeros, and each downloaded piece is put in its\n"
    "    final place directly when downloaded.\n"
    "  - `block_size (optional)`: Sets the preferred request size, i.e.\n"
    "    the number of bytes to request from a peer at a time. This block size\n"
    "    must be a divisor of the piece size, and since the piece size is an\n"
    "    even power of 2, so must the block size be. If the block size given\n"
    "    here turns out to be greater than the piece size, it will simply be\n"
    "    clamped to the piece size.\n"
    "\n"
    ":Exceptions:\n"
    "  - `duplicate_torrent`: If the torrent you are trying to add already\n"
    "    exists in the session (is either queued for checking, being checked\n"
    "    or downloading) `add_torrent()` will throw `duplicate_torrent`.\n";

char const* session_remove_torrent_doc = 
    "Close all peer connections associated with the torrent and tell the\n"
    "tracker that we've stopped participating in the swarm.";

char const* session_set_download_rate_limit_doc = 
    "";
char const* session_set_upload_rate_limit_doc = 
    "";
char const* session_set_max_uploads_doc = 
    "";
char const* session_set_max_connections_doc = 
    "";
char const* session_set_max_half_open_connections_doc = 
    "Sets the maximum number of half-open connections libtorrent will\n"
    "have when connecting to peers. A half-open connection is one where\n"
    "connect() has been called, but the connection still hasn't been\n"
    "established (nor failed). Windows XP Service Pack 2 sets a default,\n"
    "system wide, limit of the number of half-open connections to 10. So, \n"
    "this limit can be used to work nicer together with other network\n"
    "applications on that system. The default is to have no limit, and passing\n"
    "-1 as the limit, means to have no limit. When limiting the number of\n"
    "simultaneous connection attempts, peers will be put in a queue waiting\n"
    "for their turn to get connected.";

char const* session_set_settings_doc = 
    "";
char const* session_set_severity_level_doc = 
    "";
char const* session_pop_alert_doc = 
    "";  

char const* alert_doc =
    "Base class for all concrete alert classes.";

char const* alert_msg_doc =
    "Returns a string describing this alert.";

char const* alert_severity_doc =
    "Returns the severity level for this alert, one of `alert.severity_levels`.";

char const* listen_failed_alert_doc =
    "This alert is generated when none of the ports, given in the\n"
    "port range, to `session` can be opened for listening. This alert\n"
    "is generated as severity level `alert.severity_levels.fatal`.";

char const* file_error_alert_doc =
    "If the storage fails to read or write files that it needs access\n"
    "to, this alert is generated and the torrent is paused. It is\n"
    "generated as severity level `alert.severity_levels.fatal`.";

char const* tracker_announce_alert_doc =
    "This alert is generated each time a tracker announce is sent\n"
    "(or attempted to be sent). It is generated at severity level `alert.severity_levels.info`.";

char const* tracker_alert_doc =
    "This alert is generated on tracker time outs, premature\n"
    "disconnects, invalid response or a HTTP response other than\n"
    "\"200 OK\". From the alert you can get the handle to the torrent\n"
    "the tracker belongs to. This alert is generated as severity level\n"
    "`alert.severity_levels.warning`.";
    
char const* tracker_reply_alert_doc =
    "This alert is only for informational purpose. It is generated when\n"
    "a tracker announce succeeds. It is generated with severity level\n"
    "`alert.severity_levels.info`.";

char const* tracker_warning_alert_doc =
    "This alert is triggered if the tracker reply contains a warning\n"
    "field. Usually this means that the tracker announce was successful\n"
    ", but the tracker has a message to the client. The message string in\n"
    "the alert will contain the warning message from the tracker. It is\n"
    "generated with severity level `alert.severity_levels.warning`.";

char const* url_seed_alert_doc =
    "This alert is generated when a HTTP seed name lookup fails. This\n"
    "alert is generated as severity level `alert.severity_levels.warning`.";

char const* hash_failed_alert_doc =
    "This alert is generated when a finished piece fails its hash check.\n"
    "You can get the handle to the torrent which got the failed piece\n"
    "and the index of the piece itself from the alert. This alert is\n"
    "generated as severity level `alert.severity_levels.info`.";

char const* peer_ban_alert_doc =
    "This alert is generated when a peer is banned because it has sent\n"
    "too many corrupt pieces to us. It is generated at severity level\n"
    "`alert.severity_levels.info`. The handle member is a `torrent_handle` to the torrent that\n"
    "this peer was a member of.";
   
char const* peer_error_alert_doc =
    "This alert is generated when a peer sends invalid data over the\n"
    "peer-peer protocol. The peer will be disconnected, but you get its\n"
    "ip address from the alert, to identify it. This alert is generated\n"
    "is severity level `alert.severity_levels.debug`.";

char const* invalid_request_alert_doc =
    "This is a debug alert that is generated by an incoming invalid\n"
    "piece request. The handle is a handle to the torrent the peer\n"
    "is a member of. Ip is the address of the peer and the request is\n"
    "the actual incoming request from the peer. The alert is generated\n"
    "as severity level `alert.severity_levels.debug`.";

char const* peer_request_doc =
    "The `peer_request` contains the values the client sent in its\n"
    "request message. ``piece`` is the index of the piece it want data\n"
    "from, ``start`` is the offset within the piece where the data should be\n"
    "read, and ``length`` is the amount of data it wants.";

char const* torrent_finished_alert_doc =
    "This alert is generated when a torrent switches from being a\n"
    "downloader to a seed. It will only be generated once per torrent.\n"
    "It contains a `torrent_handle` to the torrent in question. This alert\n"
    "is generated as severity level `alert.severity_levels.info`.";

char const* metadata_failed_alert_doc = 
    "This alert is generated when the metadata has been completely\n"
    "received and the info-hash failed to match it. i.e. the\n"
    "metadata that was received was corrupt. libtorrent will\n"
    "automatically retry to fetch it in this case. This is only\n"
    "relevant when running a torrent-less download, with the metadata\n"
    "extension provided by libtorrent. It is generated at severity\n"
    "level `alert.severity_levels.info`.";

char const* metadata_received_alert_doc =
    "This alert is generated when the metadata has been completely\n"
    "received and the torrent can start downloading. It is not generated\n"
    "on torrents that are started with metadata, but only those that\n"
    "needs to download it from peers (when utilizing the libtorrent\n"
    "extension). It is generated at severity level `alert.severity_levels.info`.";

char const* fastresume_rejected_alert_doc =
    "This alert is generated when a fastresume file has been passed\n"
    "to `session.add_torrent` but the files on disk did not match the\n"
    "fastresume file. The string explains the reason why the resume\n"
    "file was rejected. It is generated at severity level `alert.severity_levels.warning`.";

