Lines Matching defs:porttype
61 const char *porttype; /* Port type, or "" for any. */
92 mapp->porttype = arg;
98 mapp->type = mapp->porttype;
99 mapp->porttype = NULL;
103 if (arg == mapp->porttype) /* [><@=! baud]:term */
104 mapp->porttype = termp = NULL;
148 /* Terminate porttype, if specified. */
158 if (mapp->porttype)
160 mapp->porttype = port;
164 (void)printf("port: %s\n", mapp->porttype ? mapp->porttype : "ANY");
196 if (mapp->porttype == NULL || !strcmp(mapp->porttype, type)) {