Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

gnet_property_priv.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2001-2003, Richard Eckart
00003  *
00004  * THIS FILE IS AUTOGENERATED! DO NOT EDIT!
00005  * This file is generated from gnet_props.ag using autogen.
00006  * Autogen is available at http://autogen.sourceforge.net/.
00007  *
00008  *----------------------------------------------------------------------
00009  * This file is part of gtk-gnutella.
00010  *
00011  *  gtk-gnutella is free software; you can redistribute it and/or modify
00012  *  it under the terms of the GNU General Public License as published by
00013  *  the Free Software Foundation; either version 2 of the License, or
00014  *  (at your option) any later version.
00015  *
00016  *  gtk-gnutella is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  *  GNU General Public License for more details.
00020  *
00021  *  You should have received a copy of the GNU General Public License
00022  *  along with gtk-gnutella; if not, write to the Free Software
00023  *  Foundation, Inc.:
00024  *      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025  *----------------------------------------------------------------------
00026  */
00027 
00028 #ifndef _gnet_property_priv_h_
00029 #define _gnet_property_priv_h_
00030 
00031 #include <glib.h>
00032 
00033 #include "lib/prop.h"
00034 
00035 #ifdef CORE_SOURCES
00036 
00037 /*
00038  * Includes specified by "uses"-statement in .ag file
00039  */
00040 #include "core/sockets.h"
00041 #include "core/bsched.h"
00042 #include "lib/misc.h"
00043 #include "if/core/nodes.h"
00044 
00045 
00046 extern const gboolean reading_hostfile;
00047 extern const gboolean reading_ultrafile;
00048 extern const gboolean ancient_version;
00049 extern const gchar   *new_version_str;
00050 extern const guint32  up_connections;
00051 extern const guint32  normal_connections;
00052 extern const guint32  max_connections;
00053 extern const guint32  node_leaf_count;
00054 extern const guint32  node_normal_count;
00055 extern const guint32  node_ultra_count;
00056 extern const guint32  max_downloads;
00057 extern const guint32  max_host_downloads;
00058 extern const guint32  max_uploads;
00059 extern const guint32  max_uploads_ip;
00060 extern const gchar   *local_ip;
00061 extern const time_t  current_ip_stamp;
00062 extern const guint32  average_ip_uptime;
00063 extern const time_t  start_stamp;
00064 extern const guint32  average_servent_uptime;
00065 extern const guint32  listen_port;
00066 extern const gchar   *forced_local_ip;
00067 extern const guint32  connection_speed;
00068 extern const gboolean compute_connection_speed;
00069 extern const guint32  search_max_items;
00070 extern const guint32  ul_usage_min_percentage;
00071 extern const guint32  download_connecting_timeout;
00072 extern const guint32  download_push_sent_timeout;
00073 extern const guint32  download_connected_timeout;
00074 extern const guint32  download_retry_timeout_min;
00075 extern const guint32  download_retry_timeout_max;
00076 extern const guint32  download_max_retries;
00077 extern const guint32  download_retry_timeout_delay;
00078 extern const guint32  download_retry_busy_delay;
00079 extern const guint32  download_retry_refused_delay;
00080 extern const guint32  download_retry_stopped_delay;
00081 extern const guint32  download_overlap_range;
00082 extern const guint32  upload_connecting_timeout;
00083 extern const guint32  upload_connected_timeout;
00084 extern const guint32  search_reissue_timeout;
00085 extern const guint32  ban_ratio_fds;
00086 extern const guint32  ban_max_fds;
00087 extern const guint32  banned_count;
00088 extern const guint32  max_banned_fd;
00089 extern const guint32  incoming_connecting_timeout;
00090 extern const guint32  node_connecting_timeout;
00091 extern const guint32  node_connected_timeout;
00092 extern const guint32  node_sendqueue_size;
00093 extern const guint32  node_tx_flowc_timeout;
00094 extern const guint32  node_rx_flowc_ratio;
00095 extern const guint32  max_ttl;
00096 extern const guint32  my_ttl;
00097 extern const guint32  hard_ttl_limit;
00098 extern const guint32  dbg;
00099 extern const guint32  ban_debug;
00100 extern const guint32  cpu_debug;
00101 extern const guint32  dmesh_debug;
00102 extern const guint32  gmsg_debug;
00103 extern const guint32  share_debug;
00104 extern const guint32  node_debug;
00105 extern const guint32  socket_debug;
00106 extern const guint32  bootstrap_debug;
00107 extern const guint32  http_debug;
00108 extern const guint32  download_debug;
00109 extern const guint32  fileinfo_debug;
00110 extern const guint32  upload_debug;
00111 extern const guint32  lib_debug;
00112 extern const guint32  bitzi_debug;
00113 extern const guint32  gwc_debug;
00114 extern const guint32  url_debug;
00115 extern const guint32  dh_debug;
00116 extern const guint32  dq_debug;
00117 extern const guint32  vmsg_debug;
00118 extern const guint32  query_debug;
00119 extern const guint32  search_debug;
00120 extern const guint32  udp_debug;
00121 extern const guint32  qrp_debug;
00122 extern const guint32  routing_debug;
00123 extern const guint32  ggep_debug;
00124 extern const guint32  pcache_debug;
00125 extern const guint32  hsep_debug;
00126 extern const guint32  tls_debug;
00127 extern const guint32  parq_debug;
00128 extern const gboolean parq_optimistic;
00129 extern const guint32  parq_size_always_continue;
00130 extern const guint32  parq_time_always_continue;
00131 extern const guint32  track_props;
00132 extern const gboolean stop_host_get;
00133 extern const gboolean bws_in_enabled;
00134 extern const gboolean bws_out_enabled;
00135 extern const gboolean bws_gin_enabled;
00136 extern const gboolean bws_glin_enabled;
00137 extern const gboolean bws_gout_enabled;
00138 extern const gboolean bws_glout_enabled;
00139 extern const gboolean bw_ul_usage_enabled;
00140 extern const gboolean bw_allow_stealing;
00141 extern const gboolean clear_complete_downloads;
00142 extern const gboolean clear_failed_downloads;
00143 extern const gboolean clear_unavailable_downloads;
00144 extern const gboolean search_remove_downloaded;
00145 extern const gboolean force_local_ip;
00146 extern const gboolean use_netmasks;
00147 extern const gboolean allow_private_network_connection;
00148 extern const gboolean use_ip_tos;
00149 extern const gboolean download_delete_aborted;
00150 extern const gboolean proxy_auth;
00151 extern const gchar   *socks_user;
00152 extern const gchar   *socks_pass;
00153 extern const gchar   *proxy_addr;
00154 extern const gchar   *proxy_hostname;
00155 extern const guint32  proxy_port;
00156 extern const guint32  proxy_protocol;
00157 extern const guint32  network_protocol;
00158 extern const guint32  hosts_in_catcher;
00159 extern const guint32  hosts_in_ultra_catcher;
00160 extern const guint32  hosts_in_bad_catcher;
00161 extern const guint32  max_hosts_cached;
00162 extern const guint32  max_ultra_hosts_cached;
00163 extern const guint32  max_bad_hosts_cached;
00164 extern const guint32  max_high_ttl_msg;
00165 extern const guint32  max_high_ttl_radius;
00166 extern const guint32  bw_http_in;
00167 extern const guint32  bw_http_out;
00168 extern const guint32  bw_gnet_in;
00169 extern const guint32  bw_gnet_out;
00170 extern const guint32  bw_gnet_lin;
00171 extern const guint32  bw_gnet_lout;
00172 extern const guint32  search_queries_forward_size;
00173 extern const guint32  search_queries_kick_size;
00174 extern const guint32  search_answers_forward_size;
00175 extern const guint32  search_answers_kick_size;
00176 extern const guint32  other_messages_kick_size;
00177 extern const guint32  hops_random_factor;
00178 extern const gboolean send_pushes;
00179 extern const guint32  min_dup_msg;
00180 extern const guint32  min_dup_ratio;
00181 extern const gchar   *scan_extensions;
00182 extern const gboolean scan_ignore_symlink_dirs;
00183 extern const gboolean scan_ignore_symlink_regfiles;
00184 extern const gchar   *save_file_path;
00185 extern const gchar   *move_file_path;
00186 extern const gchar   *bad_file_path;
00187 extern const gchar   *shared_dirs_paths;
00188 extern const gchar   *local_netmasks_string;
00189 extern const guint32  total_downloads;
00190 extern const guint32  ul_running;
00191 extern const guint32  ul_registered;
00192 extern const guint32  total_uploads;
00193 extern const gchar    servent_guid[GUID_RAW_SIZE];
00194 extern const gboolean use_swarming;
00195 extern const gboolean use_aggressive_swarming;
00196 extern const guint32  dl_minchunksize;
00197 extern const guint32  dl_maxchunksize;
00198 extern const gboolean auto_download_identical;
00199 extern const gboolean auto_feed_download_mesh;
00200 extern const gboolean strict_sha1_matching;
00201 extern const gboolean use_fuzzy_matching;
00202 extern const guint32  fuzzy_threshold;
00203 extern const gboolean is_firewalled;
00204 extern const gboolean is_inet_connected;
00205 extern const gboolean is_udp_firewalled;
00206 extern const gboolean recv_solicited_udp;
00207 extern const gboolean gnet_compact_query;
00208 extern const gboolean download_optimistic_start;
00209 extern const gboolean library_rebuilding;
00210 extern const gboolean sha1_rebuilding;
00211 extern const gboolean sha1_verifying;
00212 extern const gboolean file_moving;
00213 extern const gboolean prefer_compressed_gnet;
00214 extern const gboolean online_mode;
00215 extern const gboolean download_require_urn;
00216 extern const gboolean download_require_server_name;
00217 extern const guint32  max_ultrapeers;
00218 extern const guint32  quick_connect_pool_size;
00219 extern const guint32  max_leaves;
00220 extern const guint32  search_handle_ignored_files;
00221 extern const guint32  configured_peermode;
00222 extern const guint32  current_peermode;
00223 extern const guint32  sys_nofile;
00224 extern const guint64  sys_physmem;
00225 extern const guint32  dl_queue_count;
00226 extern const guint32  dl_running_count;
00227 extern const guint32  dl_active_count;
00228 extern const guint32  dl_aqueued_count;
00229 extern const guint32  dl_pqueued_count;
00230 extern const guint32  fi_all_count;
00231 extern const guint32  fi_with_source_count;
00232 extern const guint32  dl_qalive_count;
00233 extern const guint64  dl_byte_count;
00234 extern const guint64  ul_byte_count;
00235 extern const gboolean pfsp_server;
00236 extern const guint32  pfsp_first_chunk;
00237 extern const guint32  pfsp_minimum_filesize;
00238 extern const gboolean fuzzy_filter_dmesh;
00239 extern const guint32  crawler_visit_count;
00240 extern const guint32  udp_crawler_visit_count;
00241 extern const gboolean host_runs_ntp;
00242 extern const gboolean ntp_detected;
00243 extern const guint32  clock_skew;
00244 extern const gboolean node_monitor_unstable_ip;
00245 extern const gboolean node_monitor_unstable_servents;
00246 extern const gboolean dl_remove_file_on_mismatch;
00247 extern const guint32  dl_mismatch_backout;
00248 extern const gchar   *server_hostname;
00249 extern const gboolean give_server_hostname;
00250 extern const guint32  reserve_gtkg_nodes;
00251 extern const guint32  unique_nodes;
00252 extern const guint32  download_rx_size;
00253 extern const guint32  node_rx_size;
00254 extern const guint32  dl_http_latency;
00255 extern const time_t  node_last_ultra_check;
00256 extern const time_t  node_last_ultra_leaf_switch;
00257 extern const gboolean up_req_avg_servent_uptime;
00258 extern const gboolean up_req_avg_ip_uptime;
00259 extern const gboolean up_req_node_uptime;
00260 extern const gboolean up_req_not_firewalled;
00261 extern const gboolean up_req_enough_conn;
00262 extern const gboolean up_req_enough_fd;
00263 extern const gboolean up_req_enough_mem;
00264 extern const gboolean up_req_enough_bw;
00265 extern const guint32  search_queue_size;
00266 extern const guint32  search_queue_spacing;
00267 extern const gboolean enable_shell;
00268 extern const guint32  entry_removal_timeout;
00269 extern const gboolean node_watch_similar_queries;
00270 extern const guint32  node_queries_half_life;
00271 extern const guint32  node_requery_threshold;
00272 extern const time_t  library_rescan_started;
00273 extern const time_t  library_rescan_finished;
00274 extern const guint32  library_rescan_duration;
00275 extern const time_t  qrp_indexing_started;
00276 extern const guint32  qrp_indexing_duration;
00277 extern const time_t  qrp_timestamp;
00278 extern const guint32  qrp_computation_time;
00279 extern const time_t  qrp_patch_timestamp;
00280 extern const guint32  qrp_patch_computation_time;
00281 extern const guint32  qrp_generation;
00282 extern const guint32  qrp_slots;
00283 extern const guint32  qrp_slots_filled;
00284 extern const guint32  qrp_fill_ratio;
00285 extern const guint32  qrp_conflict_ratio;
00286 extern const guint32  qrp_hashed_keywords;
00287 extern const guint32  qrp_patch_raw_length;
00288 extern const guint32  qrp_patch_length;
00289 extern const guint32  qrp_patch_comp_ratio;
00290 extern const gchar   *ancient_version_force;
00291 extern const guint32  ancient_version_left_days;
00292 extern const gboolean file_descriptor_shortage;
00293 extern const gboolean file_descriptor_runout;
00294 extern const gboolean enable_g2_support;
00295 extern const gboolean convert_spaces;
00296 extern const gboolean convert_evil_chars;
00297 extern const gboolean convert_old_filenames;
00298 extern const gboolean tls_enforce;
00299 extern const gboolean gnet_deflate_enabled;
00300 extern const gboolean enable_udp;
00301 extern const gboolean process_oob_queries;
00302 extern const gboolean send_oob_queries;
00303 extern const gboolean proxy_oob_queries;
00304 extern const gboolean uploads_stalling;
00305 extern const gboolean use_global_hostiles_txt;
00306 extern const gboolean use_so_linger;
00307 extern const gboolean browse_host_enabled;
00308 extern const guint32  html_browse_count;
00309 extern const guint32  html_browse_served;
00310 extern const guint32  qhits_browse_count;
00311 extern const guint32  qhits_browse_served;
00312 extern const gboolean overloaded_cpu;
00313 extern const guint32  download_buffer_size;
00314 extern const guint32  download_buffer_read_ahead;
00315 extern const gboolean browse_copied_to_passive;
00316 
00317 
00318 prop_set_t *gnet_prop_init(void);
00319 void gnet_prop_shutdown(void);
00320 
00321 #endif /* CORE_SOURCES */
00322 
00323 #endif /* _gnet_property_priv_h_ */
00324 

Generated on Sun Feb 12 10:49:56 2006 for Gtk-Gnutella by doxygen 1.3.6