/* Generated automatically from ./syslog.scm.  DO NOT EDIT */
#include <gauche.h>
#include <gauche/code.h>
#include <gauche/extend.h>

#line 43 "./syslog.scm"
#include <gauche/extend.h>


#line 44 "./syslog.scm"

#if defined(HAVE_SYSLOG_H)

#line 45 "./syslog.scm"
#include <syslog.h>

#endif /* defined(HAVE_SYSLOG_H) */

#if defined(HAVE_SYSLOG)
static ScmObj gauche_2d_2dsyslogsys_openlog(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(gauche_2d_2dsyslogsys_openlog__STUB, 3, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, gauche_2d_2dsyslogsys_openlog, NULL, NULL);

#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
static ScmObj gauche_2d_2dsyslogsys_syslog(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(gauche_2d_2dsyslogsys_syslog__STUB, 2, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, gauche_2d_2dsyslogsys_syslog, NULL, NULL);

#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
static ScmObj gauche_2d_2dsyslogsys_closelog(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(gauche_2d_2dsyslogsys_closelog__STUB, 0, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, gauche_2d_2dsyslogsys_closelog, NULL, NULL);

#endif /* defined(HAVE_SYSLOG) */
#if !(defined(HAVE_SYSLOG))
static ScmObj gauche_2d_2dsyslogsys_openlog(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(gauche_2d_2dsyslogsys_openlog__STUB, 3, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, gauche_2d_2dsyslogsys_openlog, NULL, NULL);

#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
static ScmObj gauche_2d_2dsyslogsys_syslog(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(gauche_2d_2dsyslogsys_syslog__STUB, 2, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, gauche_2d_2dsyslogsys_syslog, NULL, NULL);

#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
static ScmObj gauche_2d_2dsyslogsys_closelog(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(gauche_2d_2dsyslogsys_closelog__STUB, 0, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, gauche_2d_2dsyslogsys_closelog, NULL, NULL);

#endif /* !(defined(HAVE_SYSLOG)) */
#if defined(HAVE_SETLOGMASK)
static ScmObj gauche_2d_2dsyslogsys_logmask(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(gauche_2d_2dsyslogsys_logmask__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, gauche_2d_2dsyslogsys_logmask, NULL, NULL);

#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
static ScmObj gauche_2d_2dsyslogsys_setlogmask(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(gauche_2d_2dsyslogsys_setlogmask__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, gauche_2d_2dsyslogsys_setlogmask, NULL, NULL);

#endif /* defined(HAVE_SETLOGMASK) */
#if !(defined(HAVE_SETLOGMASK))
static ScmObj gauche_2d_2dsyslogsys_logmask(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(gauche_2d_2dsyslogsys_logmask__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, gauche_2d_2dsyslogsys_logmask, NULL, NULL);

#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
static ScmObj gauche_2d_2dsyslogsys_setlogmask(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(gauche_2d_2dsyslogsys_setlogmask__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, gauche_2d_2dsyslogsys_setlogmask, NULL, NULL);

#endif /* !(defined(HAVE_SETLOGMASK)) */

#line 81 "./syslog.scm"

#if !(defined(LOG_PID))

#line 81 "./syslog.scm"
#define LOG_PID (0)

#endif /* ! defined(LOG_PID) */


#line 82 "./syslog.scm"

#if !(defined(LOG_INFO))

#line 82 "./syslog.scm"
#define LOG_INFO (1)

#endif /* ! defined(LOG_INFO) */


#line 83 "./syslog.scm"

#if !(defined(LOG_USER))

#line 83 "./syslog.scm"
#define LOG_USER (2)

#endif /* ! defined(LOG_USER) */

#if defined(__CYGWIN__) || defined(GAUCHE_WINDOWS)
#define SCM_CGEN_CONST /*empty*/
#else
#define SCM_CGEN_CONST const
#endif
static SCM_CGEN_CONST struct scm__scRec {
#if defined(LOG_DEBUG)
  ScmString d1807[1];
#endif /*defined(LOG_DEBUG)*/
#if defined(LOG_INFO)
  ScmString d1805[1];
#endif /*defined(LOG_INFO)*/
#if defined(LOG_NOTICE)
  ScmString d1803[1];
#endif /*defined(LOG_NOTICE)*/
#if defined(LOG_WARNING)
  ScmString d1801[1];
#endif /*defined(LOG_WARNING)*/
#if defined(LOG_ERR)
  ScmString d1799[1];
#endif /*defined(LOG_ERR)*/
#if defined(LOG_CRIT)
  ScmString d1797[1];
#endif /*defined(LOG_CRIT)*/
#if defined(LOG_ALERT)
  ScmString d1795[1];
#endif /*defined(LOG_ALERT)*/
#if defined(LOG_EMERG)
  ScmString d1793[1];
#endif /*defined(LOG_EMERG)*/
#if defined(LOG_UUCP)
  ScmString d1791[1];
#endif /*defined(LOG_UUCP)*/
#if defined(LOG_USER)
  ScmString d1789[1];
#endif /*defined(LOG_USER)*/
#if defined(LOG_SYSLOG)
  ScmString d1787[1];
#endif /*defined(LOG_SYSLOG)*/
#if defined(LOG_NEWS)
  ScmString d1785[1];
#endif /*defined(LOG_NEWS)*/
#if defined(LOG_MAIL)
  ScmString d1783[1];
#endif /*defined(LOG_MAIL)*/
#if defined(LOG_LPR)
  ScmString d1781[1];
#endif /*defined(LOG_LPR)*/
#if defined(LOG_LOCAL7)
  ScmString d1779[1];
#endif /*defined(LOG_LOCAL7)*/
#if defined(LOG_LOCAL6)
  ScmString d1777[1];
#endif /*defined(LOG_LOCAL6)*/
#if defined(LOG_LOCAL5)
  ScmString d1775[1];
#endif /*defined(LOG_LOCAL5)*/
#if defined(LOG_LOCAL4)
  ScmString d1773[1];
#endif /*defined(LOG_LOCAL4)*/
#if defined(LOG_LOCAL3)
  ScmString d1771[1];
#endif /*defined(LOG_LOCAL3)*/
#if defined(LOG_LOCAL2)
  ScmString d1769[1];
#endif /*defined(LOG_LOCAL2)*/
#if defined(LOG_LOCAL1)
  ScmString d1767[1];
#endif /*defined(LOG_LOCAL1)*/
#if defined(LOG_LOCAL0)
  ScmString d1765[1];
#endif /*defined(LOG_LOCAL0)*/
#if defined(LOG_KERN)
  ScmString d1763[1];
#endif /*defined(LOG_KERN)*/
#if defined(LOG_FTP)
  ScmString d1761[1];
#endif /*defined(LOG_FTP)*/
#if defined(LOG_DAEMON)
  ScmString d1759[1];
#endif /*defined(LOG_DAEMON)*/
#if defined(LOG_CRON)
  ScmString d1757[1];
#endif /*defined(LOG_CRON)*/
#if defined(LOG_AUTHPRIV)
  ScmString d1755[1];
#endif /*defined(LOG_AUTHPRIV)*/
#if defined(LOG_AUTH)
  ScmString d1753[1];
#endif /*defined(LOG_AUTH)*/
#if defined(LOG_PID)
  ScmString d1751[1];
#endif /*defined(LOG_PID)*/
#if defined(LOG_PERROR)
  ScmString d1749[1];
#endif /*defined(LOG_PERROR)*/
#if defined(LOG_ODELAY)
  ScmString d1747[1];
#endif /*defined(LOG_ODELAY)*/
#if defined(LOG_NOWAIT)
  ScmString d1745[1];
#endif /*defined(LOG_NOWAIT)*/
#if defined(LOG_NDELAY)
  ScmString d1743[1];
#endif /*defined(LOG_NDELAY)*/
#if defined(LOG_CONS)
  ScmString d1741[1];
#endif /*defined(LOG_CONS)*/
#if !(defined(HAVE_SETLOGMASK))
  ScmString d1737[9];
#endif /*!(defined(HAVE_SETLOGMASK))*/
#if defined(HAVE_SETLOGMASK)
  ScmString d1734[10];
#endif /*defined(HAVE_SETLOGMASK)*/
#if !(defined(HAVE_SYSLOG))
  ScmString d1731[12];
#endif /*!(defined(HAVE_SYSLOG))*/
#if defined(HAVE_SYSLOG)
  ScmString d1728[16];
#endif /*defined(HAVE_SYSLOG)*/
  ScmString d1718[1];
} scm__sc SCM_UNUSED = {
#if defined(LOG_DEBUG)
  {   /* ScmString d1807 */
      SCM_STRING_CONST_INITIALIZER("LOG_DEBUG", 9, 9),
  },
#endif /*defined(LOG_DEBUG)*/
#if defined(LOG_INFO)
  {   /* ScmString d1805 */
      SCM_STRING_CONST_INITIALIZER("LOG_INFO", 8, 8),
  },
#endif /*defined(LOG_INFO)*/
#if defined(LOG_NOTICE)
  {   /* ScmString d1803 */
      SCM_STRING_CONST_INITIALIZER("LOG_NOTICE", 10, 10),
  },
#endif /*defined(LOG_NOTICE)*/
#if defined(LOG_WARNING)
  {   /* ScmString d1801 */
      SCM_STRING_CONST_INITIALIZER("LOG_WARNING", 11, 11),
  },
#endif /*defined(LOG_WARNING)*/
#if defined(LOG_ERR)
  {   /* ScmString d1799 */
      SCM_STRING_CONST_INITIALIZER("LOG_ERR", 7, 7),
  },
#endif /*defined(LOG_ERR)*/
#if defined(LOG_CRIT)
  {   /* ScmString d1797 */
      SCM_STRING_CONST_INITIALIZER("LOG_CRIT", 8, 8),
  },
#endif /*defined(LOG_CRIT)*/
#if defined(LOG_ALERT)
  {   /* ScmString d1795 */
      SCM_STRING_CONST_INITIALIZER("LOG_ALERT", 9, 9),
  },
#endif /*defined(LOG_ALERT)*/
#if defined(LOG_EMERG)
  {   /* ScmString d1793 */
      SCM_STRING_CONST_INITIALIZER("LOG_EMERG", 9, 9),
  },
#endif /*defined(LOG_EMERG)*/
#if defined(LOG_UUCP)
  {   /* ScmString d1791 */
      SCM_STRING_CONST_INITIALIZER("LOG_UUCP", 8, 8),
  },
#endif /*defined(LOG_UUCP)*/
#if defined(LOG_USER)
  {   /* ScmString d1789 */
      SCM_STRING_CONST_INITIALIZER("LOG_USER", 8, 8),
  },
#endif /*defined(LOG_USER)*/
#if defined(LOG_SYSLOG)
  {   /* ScmString d1787 */
      SCM_STRING_CONST_INITIALIZER("LOG_SYSLOG", 10, 10),
  },
#endif /*defined(LOG_SYSLOG)*/
#if defined(LOG_NEWS)
  {   /* ScmString d1785 */
      SCM_STRING_CONST_INITIALIZER("LOG_NEWS", 8, 8),
  },
#endif /*defined(LOG_NEWS)*/
#if defined(LOG_MAIL)
  {   /* ScmString d1783 */
      SCM_STRING_CONST_INITIALIZER("LOG_MAIL", 8, 8),
  },
#endif /*defined(LOG_MAIL)*/
#if defined(LOG_LPR)
  {   /* ScmString d1781 */
      SCM_STRING_CONST_INITIALIZER("LOG_LPR", 7, 7),
  },
#endif /*defined(LOG_LPR)*/
#if defined(LOG_LOCAL7)
  {   /* ScmString d1779 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL7", 10, 10),
  },
#endif /*defined(LOG_LOCAL7)*/
#if defined(LOG_LOCAL6)
  {   /* ScmString d1777 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL6", 10, 10),
  },
#endif /*defined(LOG_LOCAL6)*/
#if defined(LOG_LOCAL5)
  {   /* ScmString d1775 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL5", 10, 10),
  },
#endif /*defined(LOG_LOCAL5)*/
#if defined(LOG_LOCAL4)
  {   /* ScmString d1773 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL4", 10, 10),
  },
#endif /*defined(LOG_LOCAL4)*/
#if defined(LOG_LOCAL3)
  {   /* ScmString d1771 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL3", 10, 10),
  },
#endif /*defined(LOG_LOCAL3)*/
#if defined(LOG_LOCAL2)
  {   /* ScmString d1769 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL2", 10, 10),
  },
#endif /*defined(LOG_LOCAL2)*/
#if defined(LOG_LOCAL1)
  {   /* ScmString d1767 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL1", 10, 10),
  },
#endif /*defined(LOG_LOCAL1)*/
#if defined(LOG_LOCAL0)
  {   /* ScmString d1765 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL0", 10, 10),
  },
#endif /*defined(LOG_LOCAL0)*/
#if defined(LOG_KERN)
  {   /* ScmString d1763 */
      SCM_STRING_CONST_INITIALIZER("LOG_KERN", 8, 8),
  },
#endif /*defined(LOG_KERN)*/
#if defined(LOG_FTP)
  {   /* ScmString d1761 */
      SCM_STRING_CONST_INITIALIZER("LOG_FTP", 7, 7),
  },
#endif /*defined(LOG_FTP)*/
#if defined(LOG_DAEMON)
  {   /* ScmString d1759 */
      SCM_STRING_CONST_INITIALIZER("LOG_DAEMON", 10, 10),
  },
#endif /*defined(LOG_DAEMON)*/
#if defined(LOG_CRON)
  {   /* ScmString d1757 */
      SCM_STRING_CONST_INITIALIZER("LOG_CRON", 8, 8),
  },
#endif /*defined(LOG_CRON)*/
#if defined(LOG_AUTHPRIV)
  {   /* ScmString d1755 */
      SCM_STRING_CONST_INITIALIZER("LOG_AUTHPRIV", 12, 12),
  },
#endif /*defined(LOG_AUTHPRIV)*/
#if defined(LOG_AUTH)
  {   /* ScmString d1753 */
      SCM_STRING_CONST_INITIALIZER("LOG_AUTH", 8, 8),
  },
#endif /*defined(LOG_AUTH)*/
#if defined(LOG_PID)
  {   /* ScmString d1751 */
      SCM_STRING_CONST_INITIALIZER("LOG_PID", 7, 7),
  },
#endif /*defined(LOG_PID)*/
#if defined(LOG_PERROR)
  {   /* ScmString d1749 */
      SCM_STRING_CONST_INITIALIZER("LOG_PERROR", 10, 10),
  },
#endif /*defined(LOG_PERROR)*/
#if defined(LOG_ODELAY)
  {   /* ScmString d1747 */
      SCM_STRING_CONST_INITIALIZER("LOG_ODELAY", 10, 10),
  },
#endif /*defined(LOG_ODELAY)*/
#if defined(LOG_NOWAIT)
  {   /* ScmString d1745 */
      SCM_STRING_CONST_INITIALIZER("LOG_NOWAIT", 10, 10),
  },
#endif /*defined(LOG_NOWAIT)*/
#if defined(LOG_NDELAY)
  {   /* ScmString d1743 */
      SCM_STRING_CONST_INITIALIZER("LOG_NDELAY", 10, 10),
  },
#endif /*defined(LOG_NDELAY)*/
#if defined(LOG_CONS)
  {   /* ScmString d1741 */
      SCM_STRING_CONST_INITIALIZER("LOG_CONS", 8, 8),
  },
#endif /*defined(LOG_CONS)*/
#if !(defined(HAVE_SETLOGMASK))
  {   /* ScmString d1737 */
      SCM_STRING_CONST_INITIALIZER("sys-logmask", 11, 11),
      SCM_STRING_CONST_INITIALIZER("_", 1, 1),
      SCM_STRING_CONST_INITIALIZER("source-info", 11, 11),
      SCM_STRING_CONST_INITIALIZER("./syslog.scm", 12, 12),
      SCM_STRING_CONST_INITIALIZER("bind-info", 9, 9),
      SCM_STRING_CONST_INITIALIZER("gauche.syslog", 13, 13),
      SCM_STRING_CONST_INITIALIZER("<fixnum>", 8, 8),
      SCM_STRING_CONST_INITIALIZER("->", 2, 2),
      SCM_STRING_CONST_INITIALIZER("sys-setlogmask", 14, 14),
  },
#endif /*!(defined(HAVE_SETLOGMASK))*/
#if defined(HAVE_SETLOGMASK)
  {   /* ScmString d1734 */
      SCM_STRING_CONST_INITIALIZER("sys-logmask", 11, 11),
      SCM_STRING_CONST_INITIALIZER("prio", 4, 4),
      SCM_STRING_CONST_INITIALIZER("source-info", 11, 11),
      SCM_STRING_CONST_INITIALIZER("./syslog.scm", 12, 12),
      SCM_STRING_CONST_INITIALIZER("bind-info", 9, 9),
      SCM_STRING_CONST_INITIALIZER("gauche.syslog", 13, 13),
      SCM_STRING_CONST_INITIALIZER("<fixnum>", 8, 8),
      SCM_STRING_CONST_INITIALIZER("->", 2, 2),
      SCM_STRING_CONST_INITIALIZER("sys-setlogmask", 14, 14),
      SCM_STRING_CONST_INITIALIZER("mask", 4, 4),
  },
#endif /*defined(HAVE_SETLOGMASK)*/
#if !(defined(HAVE_SYSLOG))
  {   /* ScmString d1731 */
      SCM_STRING_CONST_INITIALIZER("sys-openlog", 11, 11),
      SCM_STRING_CONST_INITIALIZER("_", 1, 1),
      SCM_STRING_CONST_INITIALIZER("source-info", 11, 11),
      SCM_STRING_CONST_INITIALIZER("./syslog.scm", 12, 12),
      SCM_STRING_CONST_INITIALIZER("bind-info", 9, 9),
      SCM_STRING_CONST_INITIALIZER("gauche.syslog", 13, 13),
      SCM_STRING_CONST_INITIALIZER("<const-cstring>", 15, 15),
      SCM_STRING_CONST_INITIALIZER("<fixnum>", 8, 8),
      SCM_STRING_CONST_INITIALIZER("->", 2, 2),
      SCM_STRING_CONST_INITIALIZER("<void>", 6, 6),
      SCM_STRING_CONST_INITIALIZER("sys-syslog", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-closelog", 12, 12),
  },
#endif /*!(defined(HAVE_SYSLOG))*/
#if defined(HAVE_SYSLOG)
  {   /* ScmString d1728 */
      SCM_STRING_CONST_INITIALIZER("sys-openlog", 11, 11),
      SCM_STRING_CONST_INITIALIZER("ident", 5, 5),
      SCM_STRING_CONST_INITIALIZER("option", 6, 6),
      SCM_STRING_CONST_INITIALIZER("facility", 8, 8),
      SCM_STRING_CONST_INITIALIZER("source-info", 11, 11),
      SCM_STRING_CONST_INITIALIZER("./syslog.scm", 12, 12),
      SCM_STRING_CONST_INITIALIZER("bind-info", 9, 9),
      SCM_STRING_CONST_INITIALIZER("gauche.syslog", 13, 13),
      SCM_STRING_CONST_INITIALIZER("<const-cstring>", 15, 15),
      SCM_STRING_CONST_INITIALIZER("<fixnum>", 8, 8),
      SCM_STRING_CONST_INITIALIZER("->", 2, 2),
      SCM_STRING_CONST_INITIALIZER("<void>", 6, 6),
      SCM_STRING_CONST_INITIALIZER("sys-syslog", 10, 10),
      SCM_STRING_CONST_INITIALIZER("prio", 4, 4),
      SCM_STRING_CONST_INITIALIZER("message", 7, 7),
      SCM_STRING_CONST_INITIALIZER("sys-closelog", 12, 12),
  },
#endif /*defined(HAVE_SYSLOG)*/
  {   /* ScmString d1718 */
      SCM_STRING_CONST_INITIALIZER("gauche.syslog", 13, 13),
  },
};
static struct scm__rcRec {
#if defined(LOG_DEBUG)
  ScmObj d1806[1];
#endif /*defined(LOG_DEBUG)*/
#if defined(LOG_INFO)
  ScmObj d1804[1];
#endif /*defined(LOG_INFO)*/
#if defined(LOG_NOTICE)
  ScmObj d1802[1];
#endif /*defined(LOG_NOTICE)*/
#if defined(LOG_WARNING)
  ScmObj d1800[1];
#endif /*defined(LOG_WARNING)*/
#if defined(LOG_ERR)
  ScmObj d1798[1];
#endif /*defined(LOG_ERR)*/
#if defined(LOG_CRIT)
  ScmObj d1796[1];
#endif /*defined(LOG_CRIT)*/
#if defined(LOG_ALERT)
  ScmObj d1794[1];
#endif /*defined(LOG_ALERT)*/
#if defined(LOG_EMERG)
  ScmObj d1792[1];
#endif /*defined(LOG_EMERG)*/
#if defined(LOG_UUCP)
  ScmObj d1790[1];
#endif /*defined(LOG_UUCP)*/
#if defined(LOG_USER)
  ScmObj d1788[1];
#endif /*defined(LOG_USER)*/
#if defined(LOG_SYSLOG)
  ScmObj d1786[1];
#endif /*defined(LOG_SYSLOG)*/
#if defined(LOG_NEWS)
  ScmObj d1784[1];
#endif /*defined(LOG_NEWS)*/
#if defined(LOG_MAIL)
  ScmObj d1782[1];
#endif /*defined(LOG_MAIL)*/
#if defined(LOG_LPR)
  ScmObj d1780[1];
#endif /*defined(LOG_LPR)*/
#if defined(LOG_LOCAL7)
  ScmObj d1778[1];
#endif /*defined(LOG_LOCAL7)*/
#if defined(LOG_LOCAL6)
  ScmObj d1776[1];
#endif /*defined(LOG_LOCAL6)*/
#if defined(LOG_LOCAL5)
  ScmObj d1774[1];
#endif /*defined(LOG_LOCAL5)*/
#if defined(LOG_LOCAL4)
  ScmObj d1772[1];
#endif /*defined(LOG_LOCAL4)*/
#if defined(LOG_LOCAL3)
  ScmObj d1770[1];
#endif /*defined(LOG_LOCAL3)*/
#if defined(LOG_LOCAL2)
  ScmObj d1768[1];
#endif /*defined(LOG_LOCAL2)*/
#if defined(LOG_LOCAL1)
  ScmObj d1766[1];
#endif /*defined(LOG_LOCAL1)*/
#if defined(LOG_LOCAL0)
  ScmObj d1764[1];
#endif /*defined(LOG_LOCAL0)*/
#if defined(LOG_KERN)
  ScmObj d1762[1];
#endif /*defined(LOG_KERN)*/
#if defined(LOG_FTP)
  ScmObj d1760[1];
#endif /*defined(LOG_FTP)*/
#if defined(LOG_DAEMON)
  ScmObj d1758[1];
#endif /*defined(LOG_DAEMON)*/
#if defined(LOG_CRON)
  ScmObj d1756[1];
#endif /*defined(LOG_CRON)*/
#if defined(LOG_AUTHPRIV)
  ScmObj d1754[1];
#endif /*defined(LOG_AUTHPRIV)*/
#if defined(LOG_AUTH)
  ScmObj d1752[1];
#endif /*defined(LOG_AUTH)*/
#if defined(LOG_PID)
  ScmObj d1750[1];
#endif /*defined(LOG_PID)*/
#if defined(LOG_PERROR)
  ScmObj d1748[1];
#endif /*defined(LOG_PERROR)*/
#if defined(LOG_ODELAY)
  ScmObj d1746[1];
#endif /*defined(LOG_ODELAY)*/
#if defined(LOG_NOWAIT)
  ScmObj d1744[1];
#endif /*defined(LOG_NOWAIT)*/
#if defined(LOG_NDELAY)
  ScmObj d1742[1];
#endif /*defined(LOG_NDELAY)*/
#if defined(LOG_CONS)
  ScmObj d1740[1];
#endif /*defined(LOG_CONS)*/
#if !(defined(HAVE_SETLOGMASK))
  ScmPair d1739[18] SCM_ALIGN_PAIR;
#endif /*!(defined(HAVE_SETLOGMASK))*/
#if !(defined(HAVE_SETLOGMASK))
  ScmObj d1738[17];
#endif /*!(defined(HAVE_SETLOGMASK))*/
#if defined(HAVE_SETLOGMASK)
  ScmPair d1736[19] SCM_ALIGN_PAIR;
#endif /*defined(HAVE_SETLOGMASK)*/
#if defined(HAVE_SETLOGMASK)
  ScmObj d1735[18];
#endif /*defined(HAVE_SETLOGMASK)*/
#if !(defined(HAVE_SYSLOG))
  ScmPair d1733[28] SCM_ALIGN_PAIR;
#endif /*!(defined(HAVE_SYSLOG))*/
#if !(defined(HAVE_SYSLOG))
  ScmObj d1732[37];
#endif /*!(defined(HAVE_SYSLOG))*/
#if defined(HAVE_SYSLOG)
  ScmPair d1730[30] SCM_ALIGN_PAIR;
#endif /*defined(HAVE_SYSLOG)*/
#if defined(HAVE_SYSLOG)
  ScmObj d1729[41];
#endif /*defined(HAVE_SYSLOG)*/
  ScmObj d1717[2];
} scm__rc SCM_UNUSED = {
#if defined(LOG_DEBUG)
  {   /* ScmObj d1806 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_DEBUG)*/
#if defined(LOG_INFO)
  {   /* ScmObj d1804 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_INFO)*/
#if defined(LOG_NOTICE)
  {   /* ScmObj d1802 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_NOTICE)*/
#if defined(LOG_WARNING)
  {   /* ScmObj d1800 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_WARNING)*/
#if defined(LOG_ERR)
  {   /* ScmObj d1798 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_ERR)*/
#if defined(LOG_CRIT)
  {   /* ScmObj d1796 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_CRIT)*/
#if defined(LOG_ALERT)
  {   /* ScmObj d1794 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_ALERT)*/
#if defined(LOG_EMERG)
  {   /* ScmObj d1792 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_EMERG)*/
#if defined(LOG_UUCP)
  {   /* ScmObj d1790 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_UUCP)*/
#if defined(LOG_USER)
  {   /* ScmObj d1788 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_USER)*/
#if defined(LOG_SYSLOG)
  {   /* ScmObj d1786 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_SYSLOG)*/
#if defined(LOG_NEWS)
  {   /* ScmObj d1784 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_NEWS)*/
#if defined(LOG_MAIL)
  {   /* ScmObj d1782 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_MAIL)*/
#if defined(LOG_LPR)
  {   /* ScmObj d1780 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LPR)*/
#if defined(LOG_LOCAL7)
  {   /* ScmObj d1778 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL7)*/
#if defined(LOG_LOCAL6)
  {   /* ScmObj d1776 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL6)*/
#if defined(LOG_LOCAL5)
  {   /* ScmObj d1774 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL5)*/
#if defined(LOG_LOCAL4)
  {   /* ScmObj d1772 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL4)*/
#if defined(LOG_LOCAL3)
  {   /* ScmObj d1770 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL3)*/
#if defined(LOG_LOCAL2)
  {   /* ScmObj d1768 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL2)*/
#if defined(LOG_LOCAL1)
  {   /* ScmObj d1766 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL1)*/
#if defined(LOG_LOCAL0)
  {   /* ScmObj d1764 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL0)*/
#if defined(LOG_KERN)
  {   /* ScmObj d1762 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_KERN)*/
#if defined(LOG_FTP)
  {   /* ScmObj d1760 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_FTP)*/
#if defined(LOG_DAEMON)
  {   /* ScmObj d1758 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_DAEMON)*/
#if defined(LOG_CRON)
  {   /* ScmObj d1756 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_CRON)*/
#if defined(LOG_AUTHPRIV)
  {   /* ScmObj d1754 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_AUTHPRIV)*/
#if defined(LOG_AUTH)
  {   /* ScmObj d1752 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_AUTH)*/
#if defined(LOG_PID)
  {   /* ScmObj d1750 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_PID)*/
#if defined(LOG_PERROR)
  {   /* ScmObj d1748 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_PERROR)*/
#if defined(LOG_ODELAY)
  {   /* ScmObj d1746 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_ODELAY)*/
#if defined(LOG_NOWAIT)
  {   /* ScmObj d1744 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_NOWAIT)*/
#if defined(LOG_NDELAY)
  {   /* ScmObj d1742 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_NDELAY)*/
#if defined(LOG_CONS)
  {   /* ScmObj d1740 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_CONS)*/
#if !(defined(HAVE_SETLOGMASK))
  {   /* ScmPair d1739 */
       { SCM_NIL, SCM_NIL },
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(75U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1737[3]), SCM_OBJ(&scm__rc.d1739[2])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1739[3])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1739[5])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1739[6])},
       { SCM_OBJ(&scm__rc.d1739[7]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1739[4]), SCM_OBJ(&scm__rc.d1739[8])},
       { SCM_MAKE_INT(76U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1737[3]), SCM_OBJ(&scm__rc.d1739[10])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1739[11])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1739[13])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1739[14])},
       { SCM_OBJ(&scm__rc.d1739[15]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1739[12]), SCM_OBJ(&scm__rc.d1739[16])},
  },
#endif /*!(defined(HAVE_SETLOGMASK))*/
#if !(defined(HAVE_SETLOGMASK))
  {   /* ScmObj d1738 */
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(5, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
  },
#endif /*!(defined(HAVE_SETLOGMASK))*/
#if defined(HAVE_SETLOGMASK)
  {   /* ScmPair d1736 */
       { SCM_NIL, SCM_NIL },
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(70U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1734[3]), SCM_OBJ(&scm__rc.d1736[2])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1736[3])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1736[5])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1736[6])},
       { SCM_OBJ(&scm__rc.d1736[7]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1736[4]), SCM_OBJ(&scm__rc.d1736[8])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(72U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1734[3]), SCM_OBJ(&scm__rc.d1736[11])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1736[12])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1736[14])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1736[15])},
       { SCM_OBJ(&scm__rc.d1736[16]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1736[13]), SCM_OBJ(&scm__rc.d1736[17])},
  },
#endif /*defined(HAVE_SETLOGMASK)*/
#if defined(HAVE_SETLOGMASK)
  {   /* ScmObj d1735 */
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(5, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
  },
#endif /*defined(HAVE_SETLOGMASK)*/
#if !(defined(HAVE_SYSLOG))
  {   /* ScmPair d1733 */
       { SCM_NIL, SCM_NIL },
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1733[1])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1733[2])},
       { SCM_MAKE_INT(63U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1731[3]), SCM_OBJ(&scm__rc.d1733[4])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1733[5])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1733[7])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1733[8])},
       { SCM_OBJ(&scm__rc.d1733[9]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1733[6]), SCM_OBJ(&scm__rc.d1733[10])},
       { SCM_MAKE_INT(65U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1731[3]), SCM_OBJ(&scm__rc.d1733[12])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1733[13])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1733[15])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1733[16])},
       { SCM_OBJ(&scm__rc.d1733[17]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1733[14]), SCM_OBJ(&scm__rc.d1733[18])},
       { SCM_MAKE_INT(66U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1731[3]), SCM_OBJ(&scm__rc.d1733[20])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1733[21])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1733[23])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1733[24])},
       { SCM_OBJ(&scm__rc.d1733[25]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1733[22]), SCM_OBJ(&scm__rc.d1733[26])},
  },
#endif /*!(defined(HAVE_SYSLOG))*/
#if !(defined(HAVE_SYSLOG))
  {   /* ScmObj d1732 */
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(7, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(6, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(4, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
  },
#endif /*!(defined(HAVE_SYSLOG))*/
#if defined(HAVE_SYSLOG)
  {   /* ScmPair d1730 */
       { SCM_NIL, SCM_NIL },
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[1])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[2])},
       { SCM_MAKE_INT(53U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1728[5]), SCM_OBJ(&scm__rc.d1730[4])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[5])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[7])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[8])},
       { SCM_OBJ(&scm__rc.d1730[9]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1730[6]), SCM_OBJ(&scm__rc.d1730[10])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[12])},
       { SCM_MAKE_INT(58U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1728[5]), SCM_OBJ(&scm__rc.d1730[14])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[15])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[17])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[18])},
       { SCM_OBJ(&scm__rc.d1730[19]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1730[16]), SCM_OBJ(&scm__rc.d1730[20])},
       { SCM_MAKE_INT(61U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1728[5]), SCM_OBJ(&scm__rc.d1730[22])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[23])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[25])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1730[26])},
       { SCM_OBJ(&scm__rc.d1730[27]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1730[24]), SCM_OBJ(&scm__rc.d1730[28])},
  },
#endif /*defined(HAVE_SYSLOG)*/
#if defined(HAVE_SYSLOG)
  {   /* ScmObj d1729 */
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(7, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(6, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(4, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
  },
#endif /*defined(HAVE_SYSLOG)*/
  {   /* ScmObj d1717 */
    SCM_UNBOUND,
    SCM_UNBOUND,
  },
};
#if defined(HAVE_SYSLOG)

static ScmObj gauche_2d_2dsyslogsys_openlog(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj ident_scm;
  const char* ident;
  ScmObj option_scm;
  ScmSmallInt option;
  ScmObj facility_scm;
  ScmSmallInt facility;
  ScmObj SCM_SUBRARGS[3];
  SCM_ENTER_SUBR("sys-openlog");
  for (int SCM_i=0; SCM_i<3; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  ident_scm = SCM_SUBRARGS[0];
  if (!SCM_STRINGP(ident_scm)) Scm_Error("const char* required, but got %S", ident_scm);
  ident = SCM_STRING_CONST_CSTRING(ident_scm);
  option_scm = SCM_SUBRARGS[1];
  if (!SCM_INTP(option_scm)) Scm_Error("ScmSmallInt required, but got %S", option_scm);
  option = SCM_INT_VALUE(option_scm);
  facility_scm = SCM_SUBRARGS[2];
  if (!SCM_INTP(facility_scm)) Scm_Error("ScmSmallInt required, but got %S", facility_scm);
  facility = SCM_INT_VALUE(facility_scm);
  {

#line 57 "./syslog.scm"
openlog(ident,option,facility);
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)

static ScmObj gauche_2d_2dsyslogsys_syslog(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj prio_scm;
  ScmSmallInt prio;
  ScmObj message_scm;
  const char* message;
  ScmObj SCM_SUBRARGS[2];
  SCM_ENTER_SUBR("sys-syslog");
  for (int SCM_i=0; SCM_i<2; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  prio_scm = SCM_SUBRARGS[0];
  if (!SCM_INTP(prio_scm)) Scm_Error("ScmSmallInt required, but got %S", prio_scm);
  prio = SCM_INT_VALUE(prio_scm);
  message_scm = SCM_SUBRARGS[1];
  if (!SCM_STRINGP(message_scm)) Scm_Error("const char* required, but got %S", message_scm);
  message = SCM_STRING_CONST_CSTRING(message_scm);
  {

#line 60 "./syslog.scm"
syslog(prio,"%s",message);
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)

static ScmObj gauche_2d_2dsyslogsys_closelog(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-closelog");
  {

#line 61 "./syslog.scm"
closelog();
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(HAVE_SYSLOG) */
#if !(defined(HAVE_SYSLOG))

static ScmObj gauche_2d_2dsyslogsys_openlog(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-openlog");
  {

goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))

static ScmObj gauche_2d_2dsyslogsys_syslog(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-syslog");
  {

goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))

static ScmObj gauche_2d_2dsyslogsys_closelog(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-closelog");
  {

goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* !(defined(HAVE_SYSLOG)) */
#if defined(HAVE_SETLOGMASK)

static ScmObj gauche_2d_2dsyslogsys_logmask(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj prio_scm;
  ScmSmallInt prio;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-logmask");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  prio_scm = SCM_SUBRARGS[0];
  if (!SCM_INTP(prio_scm)) Scm_Error("ScmSmallInt required, but got %S", prio_scm);
  prio = SCM_INT_VALUE(prio_scm);
  {
{
ScmSmallInt SCM_RESULT;

#line 71 "./syslog.scm"
{SCM_RESULT=(LOG_MASK(prio));goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_MAKE_INT(SCM_RESULT));
}
  }
}

#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)

static ScmObj gauche_2d_2dsyslogsys_setlogmask(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj mask_scm;
  ScmSmallInt mask;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-setlogmask");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  mask_scm = SCM_SUBRARGS[0];
  if (!SCM_INTP(mask_scm)) Scm_Error("ScmSmallInt required, but got %S", mask_scm);
  mask = SCM_INT_VALUE(mask_scm);
  {
{
ScmSmallInt SCM_RESULT;

#line 73 "./syslog.scm"
{SCM_RESULT=(setlogmask(mask));goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_MAKE_INT(SCM_RESULT));
}
  }
}

#endif /* defined(HAVE_SETLOGMASK) */
#if !(defined(HAVE_SETLOGMASK))

static ScmObj gauche_2d_2dsyslogsys_logmask(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-logmask");
  {
{
ScmSmallInt SCM_RESULT;

#line 75 "./syslog.scm"
{SCM_RESULT=(0);goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_MAKE_INT(SCM_RESULT));
}
  }
}

#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))

static ScmObj gauche_2d_2dsyslogsys_setlogmask(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-setlogmask");
  {
{
ScmSmallInt SCM_RESULT;

#line 76 "./syslog.scm"
{SCM_RESULT=(0);goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_MAKE_INT(SCM_RESULT));
}
  }
}

#endif /* !(defined(HAVE_SETLOGMASK)) */
static ScmCompiledCode *toplevels[] = {
 NULL /*termination*/
};
SCM_EXTENSION_ENTRY void Scm_Init_gauche__syslog() {
   Scm_SelectModule(SCM_MODULE(SCM_OBJ(Scm_GaucheModule())));
SCM_INIT_EXTENSION(syslog);
  scm__rc.d1717[1] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1718[0])),TRUE); /* gauche.syslog */
  scm__rc.d1717[0] = SCM_OBJ(Scm_FindModule(SCM_SYMBOL(scm__rc.d1717[1]), SCM_FIND_MODULE_CREATE)); /* module gauche.syslog */
   Scm_SelectModule(SCM_MODULE(scm__rc.d1717[0]));
   Scm_SelectModule(SCM_MODULE(SCM_OBJ(Scm_GaucheModule())));
   Scm_SelectModule(SCM_MODULE(scm__rc.d1717[0]));
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[0])),TRUE); /* sys-openlog */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[1] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[1])),TRUE); /* ident */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[2] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[2])),TRUE); /* option */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[3] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[3])),TRUE); /* facility */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[1]), scm__rc.d1729[3]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[2]), scm__rc.d1729[2]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[3]), scm__rc.d1729[1]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[4] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[4])),TRUE); /* source-info */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[6]), scm__rc.d1729[4]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[5] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[6])),TRUE); /* bind-info */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[6] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[7])),TRUE); /* gauche.syslog */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[7]), scm__rc.d1729[0]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[8]), scm__rc.d1729[6]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[9]), scm__rc.d1729[5]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[7] = Scm_MakeExtendedPair(scm__rc.d1729[0], SCM_OBJ(&scm__rc.d1730[3]), SCM_OBJ(&scm__rc.d1730[11]));
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[8] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[8])),TRUE); /* <const-cstring> */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[9] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[9])),TRUE); /* <fixnum> */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[10] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[10])),TRUE); /* -> */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[11] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[11])),TRUE); /* <void> */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[12]))[3] = scm__rc.d1729[6];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[12]))[4] = scm__rc.d1729[8];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[12]))[5] = scm__rc.d1729[9];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[12]))[6] = scm__rc.d1729[9];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[12]))[7] = scm__rc.d1729[10];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[12]))[8] = scm__rc.d1729[11];
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-openlog")), SCM_OBJ(&gauche_2d_2dsyslogsys_openlog__STUB), 0);
  gauche_2d_2dsyslogsys_openlog__STUB.common.info = scm__rc.d1729[7];
  gauche_2d_2dsyslogsys_openlog__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1729[12]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[21] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[12])),TRUE); /* sys-syslog */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[22] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[13])),TRUE); /* prio */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[23] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[14])),TRUE); /* message */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[12]), scm__rc.d1729[23]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[13]), scm__rc.d1729[22]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[16]), scm__rc.d1729[4]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[17]), scm__rc.d1729[21]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[18]), scm__rc.d1729[6]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[19]), scm__rc.d1729[5]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[24] = Scm_MakeExtendedPair(scm__rc.d1729[21], SCM_OBJ(&scm__rc.d1730[13]), SCM_OBJ(&scm__rc.d1730[21]));
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[25]))[3] = scm__rc.d1729[6];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[25]))[4] = scm__rc.d1729[9];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[25]))[5] = scm__rc.d1729[8];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[25]))[6] = scm__rc.d1729[10];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[25]))[7] = scm__rc.d1729[11];
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-syslog")), SCM_OBJ(&gauche_2d_2dsyslogsys_syslog__STUB), 0);
  gauche_2d_2dsyslogsys_syslog__STUB.common.info = scm__rc.d1729[24];
  gauche_2d_2dsyslogsys_syslog__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1729[25]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[33] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1728[15])),TRUE); /* sys-closelog */
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[24]), scm__rc.d1729[4]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[25]), scm__rc.d1729[33]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[26]), scm__rc.d1729[6]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1730[27]), scm__rc.d1729[5]);
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  scm__rc.d1729[34] = Scm_MakeExtendedPair(scm__rc.d1729[33], SCM_NIL, SCM_OBJ(&scm__rc.d1730[29]));
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[35]))[3] = scm__rc.d1729[6];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[35]))[4] = scm__rc.d1729[10];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1729[35]))[5] = scm__rc.d1729[11];
#endif /* defined(HAVE_SYSLOG) */
#if defined(HAVE_SYSLOG)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-closelog")), SCM_OBJ(&gauche_2d_2dsyslogsys_closelog__STUB), 0);
  gauche_2d_2dsyslogsys_closelog__STUB.common.info = scm__rc.d1729[34];
  gauche_2d_2dsyslogsys_closelog__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1729[35]);
#endif /* defined(HAVE_SYSLOG) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1731[0])),TRUE); /* sys-openlog */
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[1] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1731[1])),TRUE); /* _ */
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[1]), scm__rc.d1732[1]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[2]), scm__rc.d1732[1]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[3]), scm__rc.d1732[1]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[2] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1731[2])),TRUE); /* source-info */
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[6]), scm__rc.d1732[2]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[3] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1731[4])),TRUE); /* bind-info */
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[4] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1731[5])),TRUE); /* gauche.syslog */
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[7]), scm__rc.d1732[0]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[8]), scm__rc.d1732[4]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[9]), scm__rc.d1732[3]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[5] = Scm_MakeExtendedPair(scm__rc.d1732[0], SCM_OBJ(&scm__rc.d1733[3]), SCM_OBJ(&scm__rc.d1733[11]));
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[6] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1731[6])),TRUE); /* <const-cstring> */
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[7] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1731[7])),TRUE); /* <fixnum> */
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[8] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1731[8])),TRUE); /* -> */
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[9] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1731[9])),TRUE); /* <void> */
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[10]))[3] = scm__rc.d1732[4];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[10]))[4] = scm__rc.d1732[6];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[10]))[5] = scm__rc.d1732[7];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[10]))[6] = scm__rc.d1732[7];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[10]))[7] = scm__rc.d1732[8];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[10]))[8] = scm__rc.d1732[9];
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-openlog")), SCM_OBJ(&gauche_2d_2dsyslogsys_openlog__STUB), 0);
  gauche_2d_2dsyslogsys_openlog__STUB.common.info = scm__rc.d1732[5];
  gauche_2d_2dsyslogsys_openlog__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1732[10]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[19] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1731[10])),TRUE); /* sys-syslog */
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[14]), scm__rc.d1732[2]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[15]), scm__rc.d1732[19]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[16]), scm__rc.d1732[4]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[17]), scm__rc.d1732[3]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[20] = Scm_MakeExtendedPair(scm__rc.d1732[19], SCM_OBJ(&scm__rc.d1733[2]), SCM_OBJ(&scm__rc.d1733[19]));
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[21]))[3] = scm__rc.d1732[4];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[21]))[4] = scm__rc.d1732[7];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[21]))[5] = scm__rc.d1732[6];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[21]))[6] = scm__rc.d1732[8];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[21]))[7] = scm__rc.d1732[9];
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-syslog")), SCM_OBJ(&gauche_2d_2dsyslogsys_syslog__STUB), 0);
  gauche_2d_2dsyslogsys_syslog__STUB.common.info = scm__rc.d1732[20];
  gauche_2d_2dsyslogsys_syslog__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1732[21]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[29] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1731[11])),TRUE); /* sys-closelog */
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[22]), scm__rc.d1732[2]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[23]), scm__rc.d1732[29]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[24]), scm__rc.d1732[4]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1733[25]), scm__rc.d1732[3]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  scm__rc.d1732[30] = Scm_MakeExtendedPair(scm__rc.d1732[29], SCM_NIL, SCM_OBJ(&scm__rc.d1733[27]));
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[31]))[3] = scm__rc.d1732[4];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[31]))[4] = scm__rc.d1732[8];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1732[31]))[5] = scm__rc.d1732[9];
#endif /* !(defined(HAVE_SYSLOG)) */
#if !(defined(HAVE_SYSLOG))
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-closelog")), SCM_OBJ(&gauche_2d_2dsyslogsys_closelog__STUB), 0);
  gauche_2d_2dsyslogsys_closelog__STUB.common.info = scm__rc.d1732[30];
  gauche_2d_2dsyslogsys_closelog__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1732[31]);
#endif /* !(defined(HAVE_SYSLOG)) */
#if defined(HAVE_SETLOGMASK)
  scm__rc.d1735[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1734[0])),TRUE); /* sys-logmask */
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  scm__rc.d1735[1] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1734[1])),TRUE); /* prio */
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1736[1]), scm__rc.d1735[1]);
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  scm__rc.d1735[2] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1734[2])),TRUE); /* source-info */
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1736[4]), scm__rc.d1735[2]);
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  scm__rc.d1735[3] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1734[4])),TRUE); /* bind-info */
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  scm__rc.d1735[4] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1734[5])),TRUE); /* gauche.syslog */
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1736[5]), scm__rc.d1735[0]);
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1736[6]), scm__rc.d1735[4]);
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1736[7]), scm__rc.d1735[3]);
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  scm__rc.d1735[5] = Scm_MakeExtendedPair(scm__rc.d1735[0], SCM_OBJ(&scm__rc.d1736[1]), SCM_OBJ(&scm__rc.d1736[9]));
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  scm__rc.d1735[6] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1734[6])),TRUE); /* <fixnum> */
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  scm__rc.d1735[7] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1734[7])),TRUE); /* -> */
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1735[8]))[3] = scm__rc.d1735[4];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1735[8]))[4] = scm__rc.d1735[6];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1735[8]))[5] = scm__rc.d1735[7];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1735[8]))[6] = scm__rc.d1735[6];
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-logmask")), SCM_OBJ(&gauche_2d_2dsyslogsys_logmask__STUB), 0);
  gauche_2d_2dsyslogsys_logmask__STUB.common.info = scm__rc.d1735[5];
  gauche_2d_2dsyslogsys_logmask__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1735[8]);
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  scm__rc.d1735[15] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1734[8])),TRUE); /* sys-setlogmask */
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  scm__rc.d1735[16] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1734[9])),TRUE); /* mask */
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1736[10]), scm__rc.d1735[16]);
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1736[13]), scm__rc.d1735[2]);
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1736[14]), scm__rc.d1735[15]);
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1736[15]), scm__rc.d1735[4]);
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1736[16]), scm__rc.d1735[3]);
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  scm__rc.d1735[17] = Scm_MakeExtendedPair(scm__rc.d1735[15], SCM_OBJ(&scm__rc.d1736[10]), SCM_OBJ(&scm__rc.d1736[18]));
#endif /* defined(HAVE_SETLOGMASK) */
#if defined(HAVE_SETLOGMASK)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-setlogmask")), SCM_OBJ(&gauche_2d_2dsyslogsys_setlogmask__STUB), 0);
  gauche_2d_2dsyslogsys_setlogmask__STUB.common.info = scm__rc.d1735[17];
  gauche_2d_2dsyslogsys_setlogmask__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1735[8]);
#endif /* defined(HAVE_SETLOGMASK) */
#if !(defined(HAVE_SETLOGMASK))
  scm__rc.d1738[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1737[0])),TRUE); /* sys-logmask */
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  scm__rc.d1738[1] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1737[1])),TRUE); /* _ */
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1739[1]), scm__rc.d1738[1]);
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  scm__rc.d1738[2] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1737[2])),TRUE); /* source-info */
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1739[4]), scm__rc.d1738[2]);
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  scm__rc.d1738[3] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1737[4])),TRUE); /* bind-info */
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  scm__rc.d1738[4] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1737[5])),TRUE); /* gauche.syslog */
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1739[5]), scm__rc.d1738[0]);
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1739[6]), scm__rc.d1738[4]);
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1739[7]), scm__rc.d1738[3]);
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  scm__rc.d1738[5] = Scm_MakeExtendedPair(scm__rc.d1738[0], SCM_OBJ(&scm__rc.d1739[1]), SCM_OBJ(&scm__rc.d1739[9]));
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  scm__rc.d1738[6] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1737[6])),TRUE); /* <fixnum> */
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  scm__rc.d1738[7] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1737[7])),TRUE); /* -> */
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  ((ScmObj*)SCM_OBJ(&scm__rc.d1738[8]))[3] = scm__rc.d1738[4];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1738[8]))[4] = scm__rc.d1738[6];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1738[8]))[5] = scm__rc.d1738[7];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1738[8]))[6] = scm__rc.d1738[6];
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-logmask")), SCM_OBJ(&gauche_2d_2dsyslogsys_logmask__STUB), 0);
  gauche_2d_2dsyslogsys_logmask__STUB.common.info = scm__rc.d1738[5];
  gauche_2d_2dsyslogsys_logmask__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1738[8]);
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  scm__rc.d1738[15] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1737[8])),TRUE); /* sys-setlogmask */
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1739[12]), scm__rc.d1738[2]);
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1739[13]), scm__rc.d1738[15]);
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1739[14]), scm__rc.d1738[4]);
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1739[15]), scm__rc.d1738[3]);
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  scm__rc.d1738[16] = Scm_MakeExtendedPair(scm__rc.d1738[15], SCM_OBJ(&scm__rc.d1739[1]), SCM_OBJ(&scm__rc.d1739[17]));
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if !(defined(HAVE_SETLOGMASK))
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-setlogmask")), SCM_OBJ(&gauche_2d_2dsyslogsys_setlogmask__STUB), 0);
  gauche_2d_2dsyslogsys_setlogmask__STUB.common.info = scm__rc.d1738[16];
  gauche_2d_2dsyslogsys_setlogmask__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1738[8]);
#endif /* !(defined(HAVE_SETLOGMASK)) */
#if defined(LOG_CONS)
  scm__rc.d1740[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1741[0])),TRUE); /* LOG_CONS */
#endif /* defined(LOG_CONS) */
#if defined(LOG_CONS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1740[0]), Scm_MakeInteger(LOG_CONS), SCM_BINDING_CONST);

#endif /* defined(LOG_CONS) */
#if defined(LOG_NDELAY)
  scm__rc.d1742[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1743[0])),TRUE); /* LOG_NDELAY */
#endif /* defined(LOG_NDELAY) */
#if defined(LOG_NDELAY)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1742[0]), Scm_MakeInteger(LOG_NDELAY), SCM_BINDING_CONST);

#endif /* defined(LOG_NDELAY) */
#if defined(LOG_NOWAIT)
  scm__rc.d1744[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1745[0])),TRUE); /* LOG_NOWAIT */
#endif /* defined(LOG_NOWAIT) */
#if defined(LOG_NOWAIT)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1744[0]), Scm_MakeInteger(LOG_NOWAIT), SCM_BINDING_CONST);

#endif /* defined(LOG_NOWAIT) */
#if defined(LOG_ODELAY)
  scm__rc.d1746[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1747[0])),TRUE); /* LOG_ODELAY */
#endif /* defined(LOG_ODELAY) */
#if defined(LOG_ODELAY)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1746[0]), Scm_MakeInteger(LOG_ODELAY), SCM_BINDING_CONST);

#endif /* defined(LOG_ODELAY) */
#if defined(LOG_PERROR)
  scm__rc.d1748[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1749[0])),TRUE); /* LOG_PERROR */
#endif /* defined(LOG_PERROR) */
#if defined(LOG_PERROR)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1748[0]), Scm_MakeInteger(LOG_PERROR), SCM_BINDING_CONST);

#endif /* defined(LOG_PERROR) */
#if defined(LOG_PID)
  scm__rc.d1750[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1751[0])),TRUE); /* LOG_PID */
#endif /* defined(LOG_PID) */
#if defined(LOG_PID)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1750[0]), Scm_MakeInteger(LOG_PID), SCM_BINDING_CONST);

#endif /* defined(LOG_PID) */
#if defined(LOG_AUTH)
  scm__rc.d1752[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1753[0])),TRUE); /* LOG_AUTH */
#endif /* defined(LOG_AUTH) */
#if defined(LOG_AUTH)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1752[0]), Scm_MakeInteger(LOG_AUTH), SCM_BINDING_CONST);

#endif /* defined(LOG_AUTH) */
#if defined(LOG_AUTHPRIV)
  scm__rc.d1754[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1755[0])),TRUE); /* LOG_AUTHPRIV */
#endif /* defined(LOG_AUTHPRIV) */
#if defined(LOG_AUTHPRIV)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1754[0]), Scm_MakeInteger(LOG_AUTHPRIV), SCM_BINDING_CONST);

#endif /* defined(LOG_AUTHPRIV) */
#if defined(LOG_CRON)
  scm__rc.d1756[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1757[0])),TRUE); /* LOG_CRON */
#endif /* defined(LOG_CRON) */
#if defined(LOG_CRON)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1756[0]), Scm_MakeInteger(LOG_CRON), SCM_BINDING_CONST);

#endif /* defined(LOG_CRON) */
#if defined(LOG_DAEMON)
  scm__rc.d1758[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1759[0])),TRUE); /* LOG_DAEMON */
#endif /* defined(LOG_DAEMON) */
#if defined(LOG_DAEMON)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1758[0]), Scm_MakeInteger(LOG_DAEMON), SCM_BINDING_CONST);

#endif /* defined(LOG_DAEMON) */
#if defined(LOG_FTP)
  scm__rc.d1760[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1761[0])),TRUE); /* LOG_FTP */
#endif /* defined(LOG_FTP) */
#if defined(LOG_FTP)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1760[0]), Scm_MakeInteger(LOG_FTP), SCM_BINDING_CONST);

#endif /* defined(LOG_FTP) */
#if defined(LOG_KERN)
  scm__rc.d1762[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1763[0])),TRUE); /* LOG_KERN */
#endif /* defined(LOG_KERN) */
#if defined(LOG_KERN)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1762[0]), Scm_MakeInteger(LOG_KERN), SCM_BINDING_CONST);

#endif /* defined(LOG_KERN) */
#if defined(LOG_LOCAL0)
  scm__rc.d1764[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1765[0])),TRUE); /* LOG_LOCAL0 */
#endif /* defined(LOG_LOCAL0) */
#if defined(LOG_LOCAL0)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1764[0]), Scm_MakeInteger(LOG_LOCAL0), SCM_BINDING_CONST);

#endif /* defined(LOG_LOCAL0) */
#if defined(LOG_LOCAL1)
  scm__rc.d1766[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1767[0])),TRUE); /* LOG_LOCAL1 */
#endif /* defined(LOG_LOCAL1) */
#if defined(LOG_LOCAL1)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1766[0]), Scm_MakeInteger(LOG_LOCAL1), SCM_BINDING_CONST);

#endif /* defined(LOG_LOCAL1) */
#if defined(LOG_LOCAL2)
  scm__rc.d1768[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1769[0])),TRUE); /* LOG_LOCAL2 */
#endif /* defined(LOG_LOCAL2) */
#if defined(LOG_LOCAL2)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1768[0]), Scm_MakeInteger(LOG_LOCAL2), SCM_BINDING_CONST);

#endif /* defined(LOG_LOCAL2) */
#if defined(LOG_LOCAL3)
  scm__rc.d1770[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1771[0])),TRUE); /* LOG_LOCAL3 */
#endif /* defined(LOG_LOCAL3) */
#if defined(LOG_LOCAL3)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1770[0]), Scm_MakeInteger(LOG_LOCAL3), SCM_BINDING_CONST);

#endif /* defined(LOG_LOCAL3) */
#if defined(LOG_LOCAL4)
  scm__rc.d1772[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1773[0])),TRUE); /* LOG_LOCAL4 */
#endif /* defined(LOG_LOCAL4) */
#if defined(LOG_LOCAL4)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1772[0]), Scm_MakeInteger(LOG_LOCAL4), SCM_BINDING_CONST);

#endif /* defined(LOG_LOCAL4) */
#if defined(LOG_LOCAL5)
  scm__rc.d1774[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1775[0])),TRUE); /* LOG_LOCAL5 */
#endif /* defined(LOG_LOCAL5) */
#if defined(LOG_LOCAL5)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1774[0]), Scm_MakeInteger(LOG_LOCAL5), SCM_BINDING_CONST);

#endif /* defined(LOG_LOCAL5) */
#if defined(LOG_LOCAL6)
  scm__rc.d1776[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1777[0])),TRUE); /* LOG_LOCAL6 */
#endif /* defined(LOG_LOCAL6) */
#if defined(LOG_LOCAL6)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1776[0]), Scm_MakeInteger(LOG_LOCAL6), SCM_BINDING_CONST);

#endif /* defined(LOG_LOCAL6) */
#if defined(LOG_LOCAL7)
  scm__rc.d1778[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1779[0])),TRUE); /* LOG_LOCAL7 */
#endif /* defined(LOG_LOCAL7) */
#if defined(LOG_LOCAL7)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1778[0]), Scm_MakeInteger(LOG_LOCAL7), SCM_BINDING_CONST);

#endif /* defined(LOG_LOCAL7) */
#if defined(LOG_LPR)
  scm__rc.d1780[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1781[0])),TRUE); /* LOG_LPR */
#endif /* defined(LOG_LPR) */
#if defined(LOG_LPR)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1780[0]), Scm_MakeInteger(LOG_LPR), SCM_BINDING_CONST);

#endif /* defined(LOG_LPR) */
#if defined(LOG_MAIL)
  scm__rc.d1782[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1783[0])),TRUE); /* LOG_MAIL */
#endif /* defined(LOG_MAIL) */
#if defined(LOG_MAIL)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1782[0]), Scm_MakeInteger(LOG_MAIL), SCM_BINDING_CONST);

#endif /* defined(LOG_MAIL) */
#if defined(LOG_NEWS)
  scm__rc.d1784[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1785[0])),TRUE); /* LOG_NEWS */
#endif /* defined(LOG_NEWS) */
#if defined(LOG_NEWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1784[0]), Scm_MakeInteger(LOG_NEWS), SCM_BINDING_CONST);

#endif /* defined(LOG_NEWS) */
#if defined(LOG_SYSLOG)
  scm__rc.d1786[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1787[0])),TRUE); /* LOG_SYSLOG */
#endif /* defined(LOG_SYSLOG) */
#if defined(LOG_SYSLOG)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1786[0]), Scm_MakeInteger(LOG_SYSLOG), SCM_BINDING_CONST);

#endif /* defined(LOG_SYSLOG) */
#if defined(LOG_USER)
  scm__rc.d1788[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1789[0])),TRUE); /* LOG_USER */
#endif /* defined(LOG_USER) */
#if defined(LOG_USER)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1788[0]), Scm_MakeInteger(LOG_USER), SCM_BINDING_CONST);

#endif /* defined(LOG_USER) */
#if defined(LOG_UUCP)
  scm__rc.d1790[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1791[0])),TRUE); /* LOG_UUCP */
#endif /* defined(LOG_UUCP) */
#if defined(LOG_UUCP)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1790[0]), Scm_MakeInteger(LOG_UUCP), SCM_BINDING_CONST);

#endif /* defined(LOG_UUCP) */
#if defined(LOG_EMERG)
  scm__rc.d1792[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1793[0])),TRUE); /* LOG_EMERG */
#endif /* defined(LOG_EMERG) */
#if defined(LOG_EMERG)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1792[0]), Scm_MakeInteger(LOG_EMERG), SCM_BINDING_CONST);

#endif /* defined(LOG_EMERG) */
#if defined(LOG_ALERT)
  scm__rc.d1794[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1795[0])),TRUE); /* LOG_ALERT */
#endif /* defined(LOG_ALERT) */
#if defined(LOG_ALERT)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1794[0]), Scm_MakeInteger(LOG_ALERT), SCM_BINDING_CONST);

#endif /* defined(LOG_ALERT) */
#if defined(LOG_CRIT)
  scm__rc.d1796[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1797[0])),TRUE); /* LOG_CRIT */
#endif /* defined(LOG_CRIT) */
#if defined(LOG_CRIT)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1796[0]), Scm_MakeInteger(LOG_CRIT), SCM_BINDING_CONST);

#endif /* defined(LOG_CRIT) */
#if defined(LOG_ERR)
  scm__rc.d1798[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1799[0])),TRUE); /* LOG_ERR */
#endif /* defined(LOG_ERR) */
#if defined(LOG_ERR)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1798[0]), Scm_MakeInteger(LOG_ERR), SCM_BINDING_CONST);

#endif /* defined(LOG_ERR) */
#if defined(LOG_WARNING)
  scm__rc.d1800[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1801[0])),TRUE); /* LOG_WARNING */
#endif /* defined(LOG_WARNING) */
#if defined(LOG_WARNING)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1800[0]), Scm_MakeInteger(LOG_WARNING), SCM_BINDING_CONST);

#endif /* defined(LOG_WARNING) */
#if defined(LOG_NOTICE)
  scm__rc.d1802[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1803[0])),TRUE); /* LOG_NOTICE */
#endif /* defined(LOG_NOTICE) */
#if defined(LOG_NOTICE)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1802[0]), Scm_MakeInteger(LOG_NOTICE), SCM_BINDING_CONST);

#endif /* defined(LOG_NOTICE) */
#if defined(LOG_INFO)
  scm__rc.d1804[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1805[0])),TRUE); /* LOG_INFO */
#endif /* defined(LOG_INFO) */
#if defined(LOG_INFO)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1804[0]), Scm_MakeInteger(LOG_INFO), SCM_BINDING_CONST);

#endif /* defined(LOG_INFO) */
#if defined(LOG_DEBUG)
  scm__rc.d1806[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1807[0])),TRUE); /* LOG_DEBUG */
#endif /* defined(LOG_DEBUG) */
#if defined(LOG_DEBUG)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1806[0]), Scm_MakeInteger(LOG_DEBUG), SCM_BINDING_CONST);

#endif /* defined(LOG_DEBUG) */
  Scm_VMExecuteToplevels(toplevels);
}
