Lines Matching defs:chat
39 struct chat { struct
40 struct fdescriptor desc;
41 struct physical *physical;
43 int state; /* Our CHAT_* status */
45 char script[LINE_LEN]; /* Our arg buffer */
46 char *argv[MAXARGS]; /* Our arguments (pointing to script) */
47 int argc; /* Number of argv's */
49 int arg; /* Our current arg number */
50 char exp[LINE_LEN]; /* Our translated current argument */
51 char *argptr; /* Our current arg pointer */
52 int arglen; /* The length of argptr */
76 #define descriptor2chat(d) \ argument
77 ((d)->type == CHAT_DESCRIPTOR ? (struct chat *)(d) : NULL) argument