pref             1645 src/simh/sim_console.c t_stat sim_open_logfile (const char *filename, t_bool binary, FILE **pf, FILEREF **pref)
pref             1655 src/simh/sim_console.c sim_close_logfile (pref);
pref             1661 src/simh/sim_console.c     *pref = sim_log_ref;
pref             1662 src/simh/sim_console.c     if (*pref)
pref             1663 src/simh/sim_console.c         ++(*pref)->refcount;
pref             1669 src/simh/sim_console.c     *pref = sim_deb_ref;
pref             1670 src/simh/sim_console.c     if (*pref)
pref             1671 src/simh/sim_console.c         ++(*pref)->refcount;
pref             1675 src/simh/sim_console.c     *pref = NULL;
pref             1679 src/simh/sim_console.c     *pref = NULL;
pref             1682 src/simh/sim_console.c     *pref = (FILEREF *)calloc (1, sizeof(**pref));
pref             1683 src/simh/sim_console.c     if (!*pref)
pref             1686 src/simh/sim_console.c     (void)strncpy ((*pref)->name, gbuf, sizeof((*pref)->name) - 1);
pref             1687 src/simh/sim_console.c     (*pref)->name[sizeof((*pref)->name) - 1] = '\0';
pref             1693 src/simh/sim_console.c         FREE (*pref);
pref             1694 src/simh/sim_console.c         *pref = NULL;
pref             1697 src/simh/sim_console.c     (*pref)->file = *pf;
pref             1698 src/simh/sim_console.c     (*pref)->refcount = 1;                               /* need close */
pref             1705 src/simh/sim_console.c t_stat sim_close_logfile (FILEREF **pref)
pref             1707 src/simh/sim_console.c if (NULL == *pref)
pref             1709 src/simh/sim_console.c (*pref)->refcount = (*pref)->refcount  - 1;
pref             1710 src/simh/sim_console.c if ((*pref)->refcount > 0) {
pref             1711 src/simh/sim_console.c     *pref = NULL;
pref             1714 src/simh/sim_console.c fclose ((*pref)->file);
pref             1715 src/simh/sim_console.c FREE (*pref);
pref             1716 src/simh/sim_console.c *pref = NULL;
pref              107 src/simh/sim_console.h t_stat sim_open_logfile (const char *filename, t_bool binary, FILE **pf, FILEREF **pref);
pref              108 src/simh/sim_console.h t_stat sim_close_logfile (FILEREF **pref);