dict.h

skylib_fluffos_v3/mudlib/secure/include/dict.h · 811 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

#define DISCONNECTED 0
#define WAITING_FOR_CONNECT 1
#define READY 2
#define RECEIVING 3
#define SENDING_DEFINE 4
#define SENDING_MATCH 5

#define INACTIVE 0
#define DEFINE 1
#define MATCH 2

#define SEARCH_MODE_ALL "*"
#define DEFAULT_SEARCH_MODE "web1913"

//#define DEBUGGER "ceres"
#define DEBUGGER ""

string *DICT_SERVERS = ({"dict.org","dict.tugraz.at","dict.rucus.ru.ac.za",
                        "dict.trit.org"});

class server_details{
 string address;
 string resolved;
 int key;
}

class connection_data {
  int fd;
  string host_name;
  string protocol;
  string msg_id;
  string *dictionaries;
  string *capabilities;
    
  string current_word;
  string message;
  mixed definitions;
  mixed *working;
    
  int status;
  int action;
  int count;
  string search_mode;
    
  object owner;
}

Site Stats

Snippets: 1791
Codebases: 571