00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CONFIG_NET_H
00016 #define CONFIG_NET_H
00017
00018 #include "pandabase.h"
00019 #include "notifyCategoryProxy.h"
00020 #include "configVariableInt.h"
00021 #include "configVariableDouble.h"
00022 #include "configVariableBool.h"
00023 #include "configVariableEnum.h"
00024 #include "threadPriority.h"
00025
00026
00027
00028 NotifyCategoryDecl(net, EXPCL_PANDA_NET, EXPTP_PANDA_NET);
00029
00030 extern int get_net_max_write_queue();
00031 extern int get_net_max_response_queue();
00032 extern bool get_net_error_abort();
00033 extern double get_net_max_poll_cycle();
00034 extern double get_net_max_block();
00035 extern string make_thread_name(const string &thread_name, int thread_index);
00036
00037 extern ConfigVariableInt net_max_read_per_epoch;
00038 extern ConfigVariableInt net_max_write_per_epoch;
00039
00040 extern ConfigVariableEnum<ThreadPriority> net_thread_priority;
00041
00042 extern EXPCL_PANDA_NET void init_libnet();
00043
00044 #endif
00045