access            110 src/dps8/uvutil.c     uv_access * access = (uv_access *) stream->data;
access            120 src/dps8/uvutil.c         if (access->telnetp)
access            122 src/dps8/uvutil.c             telnet_recv (access->telnetp, buf->base, (size_t) nread);
access            192 src/dps8/uvutil.c     uv_access * access = (uv_access *) client->data;
access            193 src/dps8/uvutil.c     if (access->telnetp)
access            194 src/dps8/uvutil.c       telnet_send (access->telnetp, data, (size_t) datalen);
access            199 src/dps8/uvutil.c static void accessPutCharForce (uv_access * access, char ch)
access            202 src/dps8/uvutil.c     accessStartWrite (access->client, & ch, 1);
access            205 src/dps8/uvutil.c static void accessPutStrForce (uv_access * access, char * str)
access            208 src/dps8/uvutil.c     accessStartWrite (access->client, str, (ssize_t) l);
access            216 src/dps8/uvutil.c static void accessLogon (uv_access * access, unsigned char * buf, ssize_t nread)
access            222 src/dps8/uvutil.c         if ((unsigned long) access->pwPos >= sizeof (access->pwBuffer) - 1)
access            231 src/dps8/uvutil.c                     accessPutStrForce (access, "\b \b");
access            232 src/dps8/uvutil.c                     access->pwBuffer[access->pwPos] = 0;     // remove char from buffer
access            233 src/dps8/uvutil.c                     if (access->pwPos > 0)
access            234 src/dps8/uvutil.c                       access->pwPos -= 1;             // back up buffer pointer
access            241 src/dps8/uvutil.c                     access->pwBuffer[access->pwPos] = 0;
access            247 src/dps8/uvutil.c                     accessPutStrForce (access, "^R\r\n"); // echo ^R
access            248 src/dps8/uvutil.c                     access->connectPrompt (access->client);
access            249 src/dps8/uvutil.c                     accessPutStrForce (access, access->pwBuffer);
access            261 src/dps8/uvutil.c             accessPutCharForce (access, '*');
access            262 src/dps8/uvutil.c             access->pwBuffer[access->pwPos++] = (char) kar;
access            263 src/dps8/uvutil.c             access->pwBuffer[access->pwPos] = 0;
access            273 src/dps8/uvutil.c                     accessPutStrForce (access, "\b \b");
access            275 src/dps8/uvutil.c                     access->pwBuffer[access->pwPos] = 0;
access            276 src/dps8/uvutil.c                     if (access->pwPos > 0)
access            277 src/dps8/uvutil.c                       access->pwPos -= 1;   // back up buffer pointer
access            284 src/dps8/uvutil.c                     access->pwBuffer[access->pwPos] = 0;
access            290 src/dps8/uvutil.c                     accessPutStrForce (access, "^R\r\n"); // echo ^R
access            291 src/dps8/uvutil.c                     access->connectPrompt (access->client);
access            292 src/dps8/uvutil.c                     accessPutStrForce (access, access->pwBuffer);
access            304 src/dps8/uvutil.c     char cpy[access->pwPos + 1];
access            305 src/dps8/uvutil.c     memcpy (cpy, access->pwBuffer, (unsigned long) access->pwPos);
access            306 src/dps8/uvutil.c     cpy[access->pwPos] = 0;
access            309 src/dps8/uvutil.c     access->pwPos = 0;
access            310 src/dps8/uvutil.c     accessPutStrForce (access, "\r\n");
access            312 src/dps8/uvutil.c     if (strcmp (cpy, access->pw) == 0)
access            314 src/dps8/uvutil.c         accessPutStrForce (access, "ok\r\n");
access            323 src/dps8/uvutil.c         accessPutStrForce (access, "nope\r\n");
access            329 src/dps8/uvutil.c     access->connectPrompt (access->client);
access            333 src/dps8/uvutil.c     access->loggedOn = true;
access            334 src/dps8/uvutil.c     if (access->connected)
access            335 src/dps8/uvutil.c       access->connected (access->client);
access            346 src/dps8/uvutil.c     uv_access * access = (uv_access *) stream->data;
access            349 src/dps8/uvutil.c     if (access->telnetp)
access            351 src/dps8/uvutil.c         telnet_free (access->telnetp);
access            352 src/dps8/uvutil.c         access->telnetp = NULL;
access            356 src/dps8/uvutil.c     access->client = NULL;
access            359 src/dps8/uvutil.c static void accessProcessInput (uv_access * access, unsigned char * buf,
access            362 src/dps8/uvutil.c     if (access->inBuffer)
access            366 src/dps8/uvutil.c           realloc (access->inBuffer,
access            367 src/dps8/uvutil.c                    (unsigned long) (access->inSize + nread));
access            380 src/dps8/uvutil.c         memcpy (new + access->inSize, buf, (unsigned long) nread);
access            381 src/dps8/uvutil.c         access->inSize += nread;
access            382 src/dps8/uvutil.c         access->inBuffer = new;
access            386 src/dps8/uvutil.c         access->inBuffer = malloc ((unsigned long) nread);
access            387 src/dps8/uvutil.c         if (! access->inBuffer)
access            399 src/dps8/uvutil.c         memcpy (access->inBuffer, buf, (unsigned long) nread);
access            400 src/dps8/uvutil.c         access->inSize = (uint) nread;
access            401 src/dps8/uvutil.c         access->inUsed = 0;
access            415 src/dps8/uvutil.c     uv_access * access = (uv_access *) client->data;
access            416 src/dps8/uvutil.c     if (access->loggedOn)
access            417 src/dps8/uvutil.c       accessProcessInput (access, buf, nread);
access            419 src/dps8/uvutil.c       accessLogon (access, buf, nread);
access            551 src/dps8/uvutil.c     uv_access * access = (uv_access *) server->data;
access            566 src/dps8/uvutil.c     uv_tcp_init (access->loop, client);
access            571 src/dps8/uvutil.c         if (access->client)
access            574 src/dps8/uvutil.c             accessPutStrForce (access, "\r[OPC emulation: BUMPED]\r\n");
access            575 src/dps8/uvutil.c             access->loggedOn = false;
access            577 src/dps8/uvutil.c             accessCloseConnection ((uv_stream_t *) access->client);
access            579 src/dps8/uvutil.c         access->client = client;
access            583 src/dps8/uvutil.c         int ret = uv_tcp_getpeername (access->client, & name, & namelen);
access            594 src/dps8/uvutil.c         if (access->useTelnet)
access            596 src/dps8/uvutil.c             access->telnetp = accessTelnetConnect (access->client);
access            597 src/dps8/uvutil.c             if (!access->telnetp)
access            605 src/dps8/uvutil.c             access->telnetp = NULL;
access            607 src/dps8/uvutil.c         access->loggedOn =
access            608 src/dps8/uvutil.c           ! strlen (access->pw);
access            609 src/dps8/uvutil.c         if (access->loggedOn)
access            610 src/dps8/uvutil.c           access->connected (access->client);
access            612 src/dps8/uvutil.c           access->connectPrompt (access->client);
access            613 src/dps8/uvutil.c         accessReadStart (access->client);
access            621 src/dps8/uvutil.c void uv_open_access (uv_access * access)
access            623 src/dps8/uvutil.c     if (access->open == true)
access            628 src/dps8/uvutil.c     if (! access->port)
access            634 src/dps8/uvutil.c     if (! access->loop)
access            635 src/dps8/uvutil.c       access->loop = uv_default_loop ();
access            638 src/dps8/uvutil.c     if (access->open)
access            641 src/dps8/uvutil.c     uv_tcp_init (access->loop, & access->server);
access            642 src/dps8/uvutil.c     access->server.data = (void *) access;
access            644 src/dps8/uvutil.c     uv_ip4_addr (access->address, access->port, & addr);
access            645 src/dps8/uvutil.c     uv_tcp_bind (& access->server, (const struct sockaddr *) & addr, 0);
access            647 src/dps8/uvutil.c     int r = uv_listen ((uv_stream_t *) & access->server,
access            653 src/dps8/uvutil.c                        access->address, (long) access->port, uv_strerror(r));
access            655 src/dps8/uvutil.c     access->open = true;
access            656 src/dps8/uvutil.c     if (access->address != NULL)
access            658 src/dps8/uvutil.c                   access->address, (long) access->port);
access            661 src/dps8/uvutil.c                   (long) access->port);
access            665 src/dps8/uvutil.c void accessPutChar (uv_access * access, char ch)
access            668 src/dps8/uvutil.c     if (access->loggedOn)
access            669 src/dps8/uvutil.c       accessStartWrite (access->client, & ch, 1);
access            673 src/dps8/uvutil.c int accessGetChar (uv_access * access)
access            676 src/dps8/uvutil.c     if (! access->client)
access            678 src/dps8/uvutil.c         if (access->inBuffer)
access            679 src/dps8/uvutil.c           FREE (access->inBuffer);
access            680 src/dps8/uvutil.c         access->inBuffer = NULL;
access            681 src/dps8/uvutil.c         access->inSize = 0;
access            682 src/dps8/uvutil.c         access->inUsed = 0;
access            686 src/dps8/uvutil.c     if (access->inBuffer && access->inUsed < access->inSize)
access            688 src/dps8/uvutil.c          unsigned char c = access->inBuffer[access->inUsed ++];
access            689 src/dps8/uvutil.c          if (access->inUsed >= access->inSize)
access            691 src/dps8/uvutil.c              FREE (access->inBuffer);
access            692 src/dps8/uvutil.c              access->inBuffer = NULL;
access            693 src/dps8/uvutil.c              access->inSize = 0;
access            694 src/dps8/uvutil.c              access->inUsed = 0;
access            706 src/dps8/uvutil.c void accessPutStr (uv_access * access, char * str)
access            711 src/dps8/uvutil.c     if (access->loggedOn)
access            712 src/dps8/uvutil.c       accessStartWrite (access->client, str, (ssize_t) l);
access             48 src/dps8/uvutil.h void uv_open_access (uv_access * access);
access             50 src/dps8/uvutil.h void accessPutStr (uv_access * access, char * str);
access             51 src/dps8/uvutil.h void accessPutChar (uv_access * access,  char ch);
access             53 src/dps8/uvutil.h int accessGetChar (uv_access * access);