typedef struct _client {
OPERATION pending_op; /* Primary pending operation */
CONNECTION con; /* Connection to the client */
- int state; /* XXX this is really superfluous and should */
- /* be removed */
int action; /* what action is pending? */
sms_params *args, reply;
int id; /* Unique id of client */
#define LOG_ARGS 0x0004
#define LOG_RESP 0x0008
#define LOG_RES 0x0010
+#define LOG_VALID 0x0020
/* max length of query argument allowed */
-#define ARGLEN 128
+#define ARGLEN 257
/* statistics on number of queries by version number */
extern int newqueries, oldqueries;
+/* Maximum and minimum values that will ever be chosen for IDs */
+#define MAX_ID_VALUE 32765
+#define MIN_ID_VALUE 100