#define _INCLUDE_INTERFACE_H #define AMYLAAR // manual change here.. hmmm #define DRIVER_VERSION "LPMUD/3.2.1.125" // driver abstraction kit -- abstraction layer from driver details #define next_input_to(CALLBACK) input_to(CALLBACK); #pragma combine_strings #pragma verbose_errors #if __EFUN_DEFINED__(strstr) // rexxism: is small an abbreviation of big? # define abbrev(SMALL, BIG) (strstr(BIG, SMALL) == 0) // the same thing at the tail of the string # define trail(SMALL, BIG) (strstr(BIG, SMALL, -strlen(SMALL)) != -1) #else # define abbrev(SMALL, BIG) (SMALL == BIG[0..strlen(SMALL)-1]) # define trail(SMALL, BIG) (SMALL == BIG[= 0) #define o2s(ob) to_string(ob) // object to (relative) http URL conversion macros #define object2url(ob) replace( to_string(ob), "#", "," ) #define url2object(ob) replace( to_string(ob), ",", "#" ) // varargs introduced in 3.2.1@132 #define varargs #define AMOUNT_SOCKETS sizeof(users())