Logo Search packages:      
Sourcecode: pan version File versions

int DataImpl::get_server_limits ( const Quark server  )  const [virtual]

If set_server_limits() has never been called, 2 is returned.

Implements pan::Data.

Definition at line 189 of file server.cc.

  int retval (2);
  const Server * s (find_server (server));
  if (s != 0)
    retval = s->max_connections;
  return retval;

Generated by  Doxygen 1.6.0   Back to index