*** empty log message ***

This commit is contained in:
David Rose 2001-03-06 05:56:23 +00:00
parent d73c872a2f
commit 1db4b6f510
2 changed files with 22 additions and 0 deletions

View File

@ -13,6 +13,25 @@ Configure(config_net);
NotifyCategoryDef(net, "");
ConfigureFn(config_net) {
init_libnet();
}
////////////////////////////////////////////////////////////////////
// Function: init_libnet
// Description: Initializes the library. This must be called at
// least once before any of the functions or classes in
// this library can be used. Normally it will be
// called by the static initializers and need not be
// called explicitly, but special cases exist.
////////////////////////////////////////////////////////////////////
void
init_libnet() {
static bool initialized = false;
if (initialized) {
return;
}
initialized = true;
NetDatagram::init_type();
}

View File

@ -17,4 +17,7 @@ extern int get_net_max_write_queue();
extern int get_net_max_response_queue();
extern bool get_net_error_abort();
extern EXPCL_PANDA void init_libnet();
#endif