/* 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) */


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);


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);


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);


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);


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);


#line 83 "./syslog.scm"

#if !(defined(LOG_PID))

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

#endif /* ! defined(LOG_PID) */


#line 84 "./syslog.scm"

#if !(defined(LOG_INFO))

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

#endif /* ! defined(LOG_INFO) */


#line 85 "./syslog.scm"

#if !(defined(LOG_USER))

#line 85 "./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 d1568[1];
#endif /*defined(LOG_DEBUG)*/
#if defined(LOG_INFO)
  ScmString d1566[1];
#endif /*defined(LOG_INFO)*/
#if defined(LOG_NOTICE)
  ScmString d1564[1];
#endif /*defined(LOG_NOTICE)*/
#if defined(LOG_WARNING)
  ScmString d1562[1];
#endif /*defined(LOG_WARNING)*/
#if defined(LOG_ERR)
  ScmString d1560[1];
#endif /*defined(LOG_ERR)*/
#if defined(LOG_CRIT)
  ScmString d1558[1];
#endif /*defined(LOG_CRIT)*/
#if defined(LOG_ALERT)
  ScmString d1556[1];
#endif /*defined(LOG_ALERT)*/
#if defined(LOG_EMERG)
  ScmString d1554[1];
#endif /*defined(LOG_EMERG)*/
#if defined(LOG_UUCP)
  ScmString d1552[1];
#endif /*defined(LOG_UUCP)*/
#if defined(LOG_USER)
  ScmString d1550[1];
#endif /*defined(LOG_USER)*/
#if defined(LOG_SYSLOG)
  ScmString d1548[1];
#endif /*defined(LOG_SYSLOG)*/
#if defined(LOG_NEWS)
  ScmString d1546[1];
#endif /*defined(LOG_NEWS)*/
#if defined(LOG_MAIL)
  ScmString d1544[1];
#endif /*defined(LOG_MAIL)*/
#if defined(LOG_LPR)
  ScmString d1542[1];
#endif /*defined(LOG_LPR)*/
#if defined(LOG_LOCAL7)
  ScmString d1540[1];
#endif /*defined(LOG_LOCAL7)*/
#if defined(LOG_LOCAL6)
  ScmString d1538[1];
#endif /*defined(LOG_LOCAL6)*/
#if defined(LOG_LOCAL5)
  ScmString d1536[1];
#endif /*defined(LOG_LOCAL5)*/
#if defined(LOG_LOCAL4)
  ScmString d1534[1];
#endif /*defined(LOG_LOCAL4)*/
#if defined(LOG_LOCAL3)
  ScmString d1532[1];
#endif /*defined(LOG_LOCAL3)*/
#if defined(LOG_LOCAL2)
  ScmString d1530[1];
#endif /*defined(LOG_LOCAL2)*/
#if defined(LOG_LOCAL1)
  ScmString d1528[1];
#endif /*defined(LOG_LOCAL1)*/
#if defined(LOG_LOCAL0)
  ScmString d1526[1];
#endif /*defined(LOG_LOCAL0)*/
#if defined(LOG_KERN)
  ScmString d1524[1];
#endif /*defined(LOG_KERN)*/
#if defined(LOG_FTP)
  ScmString d1522[1];
#endif /*defined(LOG_FTP)*/
#if defined(LOG_DAEMON)
  ScmString d1520[1];
#endif /*defined(LOG_DAEMON)*/
#if defined(LOG_CRON)
  ScmString d1518[1];
#endif /*defined(LOG_CRON)*/
#if defined(LOG_AUTHPRIV)
  ScmString d1516[1];
#endif /*defined(LOG_AUTHPRIV)*/
#if defined(LOG_AUTH)
  ScmString d1514[1];
#endif /*defined(LOG_AUTH)*/
#if defined(LOG_PID)
  ScmString d1512[1];
#endif /*defined(LOG_PID)*/
#if defined(LOG_PERROR)
  ScmString d1510[1];
#endif /*defined(LOG_PERROR)*/
#if defined(LOG_ODELAY)
  ScmString d1508[1];
#endif /*defined(LOG_ODELAY)*/
#if defined(LOG_NOWAIT)
  ScmString d1506[1];
#endif /*defined(LOG_NOWAIT)*/
#if defined(LOG_NDELAY)
  ScmString d1504[1];
#endif /*defined(LOG_NDELAY)*/
#if defined(LOG_CONS)
  ScmString d1502[1];
#endif /*defined(LOG_CONS)*/
  ScmString d1490[15];
} scm__sc SCM_UNUSED = {
#if defined(LOG_DEBUG)
  {   /* ScmString d1568 */
      SCM_STRING_CONST_INITIALIZER("LOG_DEBUG", 9, 9),
  },
#endif /*defined(LOG_DEBUG)*/
#if defined(LOG_INFO)
  {   /* ScmString d1566 */
      SCM_STRING_CONST_INITIALIZER("LOG_INFO", 8, 8),
  },
#endif /*defined(LOG_INFO)*/
#if defined(LOG_NOTICE)
  {   /* ScmString d1564 */
      SCM_STRING_CONST_INITIALIZER("LOG_NOTICE", 10, 10),
  },
#endif /*defined(LOG_NOTICE)*/
#if defined(LOG_WARNING)
  {   /* ScmString d1562 */
      SCM_STRING_CONST_INITIALIZER("LOG_WARNING", 11, 11),
  },
#endif /*defined(LOG_WARNING)*/
#if defined(LOG_ERR)
  {   /* ScmString d1560 */
      SCM_STRING_CONST_INITIALIZER("LOG_ERR", 7, 7),
  },
#endif /*defined(LOG_ERR)*/
#if defined(LOG_CRIT)
  {   /* ScmString d1558 */
      SCM_STRING_CONST_INITIALIZER("LOG_CRIT", 8, 8),
  },
#endif /*defined(LOG_CRIT)*/
#if defined(LOG_ALERT)
  {   /* ScmString d1556 */
      SCM_STRING_CONST_INITIALIZER("LOG_ALERT", 9, 9),
  },
#endif /*defined(LOG_ALERT)*/
#if defined(LOG_EMERG)
  {   /* ScmString d1554 */
      SCM_STRING_CONST_INITIALIZER("LOG_EMERG", 9, 9),
  },
#endif /*defined(LOG_EMERG)*/
#if defined(LOG_UUCP)
  {   /* ScmString d1552 */
      SCM_STRING_CONST_INITIALIZER("LOG_UUCP", 8, 8),
  },
#endif /*defined(LOG_UUCP)*/
#if defined(LOG_USER)
  {   /* ScmString d1550 */
      SCM_STRING_CONST_INITIALIZER("LOG_USER", 8, 8),
  },
#endif /*defined(LOG_USER)*/
#if defined(LOG_SYSLOG)
  {   /* ScmString d1548 */
      SCM_STRING_CONST_INITIALIZER("LOG_SYSLOG", 10, 10),
  },
#endif /*defined(LOG_SYSLOG)*/
#if defined(LOG_NEWS)
  {   /* ScmString d1546 */
      SCM_STRING_CONST_INITIALIZER("LOG_NEWS", 8, 8),
  },
#endif /*defined(LOG_NEWS)*/
#if defined(LOG_MAIL)
  {   /* ScmString d1544 */
      SCM_STRING_CONST_INITIALIZER("LOG_MAIL", 8, 8),
  },
#endif /*defined(LOG_MAIL)*/
#if defined(LOG_LPR)
  {   /* ScmString d1542 */
      SCM_STRING_CONST_INITIALIZER("LOG_LPR", 7, 7),
  },
#endif /*defined(LOG_LPR)*/
#if defined(LOG_LOCAL7)
  {   /* ScmString d1540 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL7", 10, 10),
  },
#endif /*defined(LOG_LOCAL7)*/
#if defined(LOG_LOCAL6)
  {   /* ScmString d1538 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL6", 10, 10),
  },
#endif /*defined(LOG_LOCAL6)*/
#if defined(LOG_LOCAL5)
  {   /* ScmString d1536 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL5", 10, 10),
  },
#endif /*defined(LOG_LOCAL5)*/
#if defined(LOG_LOCAL4)
  {   /* ScmString d1534 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL4", 10, 10),
  },
#endif /*defined(LOG_LOCAL4)*/
#if defined(LOG_LOCAL3)
  {   /* ScmString d1532 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL3", 10, 10),
  },
#endif /*defined(LOG_LOCAL3)*/
#if defined(LOG_LOCAL2)
  {   /* ScmString d1530 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL2", 10, 10),
  },
#endif /*defined(LOG_LOCAL2)*/
#if defined(LOG_LOCAL1)
  {   /* ScmString d1528 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL1", 10, 10),
  },
#endif /*defined(LOG_LOCAL1)*/
#if defined(LOG_LOCAL0)
  {   /* ScmString d1526 */
      SCM_STRING_CONST_INITIALIZER("LOG_LOCAL0", 10, 10),
  },
#endif /*defined(LOG_LOCAL0)*/
#if defined(LOG_KERN)
  {   /* ScmString d1524 */
      SCM_STRING_CONST_INITIALIZER("LOG_KERN", 8, 8),
  },
#endif /*defined(LOG_KERN)*/
#if defined(LOG_FTP)
  {   /* ScmString d1522 */
      SCM_STRING_CONST_INITIALIZER("LOG_FTP", 7, 7),
  },
#endif /*defined(LOG_FTP)*/
#if defined(LOG_DAEMON)
  {   /* ScmString d1520 */
      SCM_STRING_CONST_INITIALIZER("LOG_DAEMON", 10, 10),
  },
#endif /*defined(LOG_DAEMON)*/
#if defined(LOG_CRON)
  {   /* ScmString d1518 */
      SCM_STRING_CONST_INITIALIZER("LOG_CRON", 8, 8),
  },
#endif /*defined(LOG_CRON)*/
#if defined(LOG_AUTHPRIV)
  {   /* ScmString d1516 */
      SCM_STRING_CONST_INITIALIZER("LOG_AUTHPRIV", 12, 12),
  },
#endif /*defined(LOG_AUTHPRIV)*/
#if defined(LOG_AUTH)
  {   /* ScmString d1514 */
      SCM_STRING_CONST_INITIALIZER("LOG_AUTH", 8, 8),
  },
#endif /*defined(LOG_AUTH)*/
#if defined(LOG_PID)
  {   /* ScmString d1512 */
      SCM_STRING_CONST_INITIALIZER("LOG_PID", 7, 7),
  },
#endif /*defined(LOG_PID)*/
#if defined(LOG_PERROR)
  {   /* ScmString d1510 */
      SCM_STRING_CONST_INITIALIZER("LOG_PERROR", 10, 10),
  },
#endif /*defined(LOG_PERROR)*/
#if defined(LOG_ODELAY)
  {   /* ScmString d1508 */
      SCM_STRING_CONST_INITIALIZER("LOG_ODELAY", 10, 10),
  },
#endif /*defined(LOG_ODELAY)*/
#if defined(LOG_NOWAIT)
  {   /* ScmString d1506 */
      SCM_STRING_CONST_INITIALIZER("LOG_NOWAIT", 10, 10),
  },
#endif /*defined(LOG_NOWAIT)*/
#if defined(LOG_NDELAY)
  {   /* ScmString d1504 */
      SCM_STRING_CONST_INITIALIZER("LOG_NDELAY", 10, 10),
  },
#endif /*defined(LOG_NDELAY)*/
#if defined(LOG_CONS)
  {   /* ScmString d1502 */
      SCM_STRING_CONST_INITIALIZER("LOG_CONS", 8, 8),
  },
#endif /*defined(LOG_CONS)*/
  {   /* ScmString d1490 */
      SCM_STRING_CONST_INITIALIZER("gauche.syslog", 13, 13),
      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("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),
      SCM_STRING_CONST_INITIALIZER("sys-logmask", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-setlogmask", 14, 14),
      SCM_STRING_CONST_INITIALIZER("mask", 4, 4),
  },
};
static struct scm__rcRec {
#if defined(LOG_DEBUG)
  ScmObj d1567[1];
#endif /*defined(LOG_DEBUG)*/
#if defined(LOG_INFO)
  ScmObj d1565[1];
#endif /*defined(LOG_INFO)*/
#if defined(LOG_NOTICE)
  ScmObj d1563[1];
#endif /*defined(LOG_NOTICE)*/
#if defined(LOG_WARNING)
  ScmObj d1561[1];
#endif /*defined(LOG_WARNING)*/
#if defined(LOG_ERR)
  ScmObj d1559[1];
#endif /*defined(LOG_ERR)*/
#if defined(LOG_CRIT)
  ScmObj d1557[1];
#endif /*defined(LOG_CRIT)*/
#if defined(LOG_ALERT)
  ScmObj d1555[1];
#endif /*defined(LOG_ALERT)*/
#if defined(LOG_EMERG)
  ScmObj d1553[1];
#endif /*defined(LOG_EMERG)*/
#if defined(LOG_UUCP)
  ScmObj d1551[1];
#endif /*defined(LOG_UUCP)*/
#if defined(LOG_USER)
  ScmObj d1549[1];
#endif /*defined(LOG_USER)*/
#if defined(LOG_SYSLOG)
  ScmObj d1547[1];
#endif /*defined(LOG_SYSLOG)*/
#if defined(LOG_NEWS)
  ScmObj d1545[1];
#endif /*defined(LOG_NEWS)*/
#if defined(LOG_MAIL)
  ScmObj d1543[1];
#endif /*defined(LOG_MAIL)*/
#if defined(LOG_LPR)
  ScmObj d1541[1];
#endif /*defined(LOG_LPR)*/
#if defined(LOG_LOCAL7)
  ScmObj d1539[1];
#endif /*defined(LOG_LOCAL7)*/
#if defined(LOG_LOCAL6)
  ScmObj d1537[1];
#endif /*defined(LOG_LOCAL6)*/
#if defined(LOG_LOCAL5)
  ScmObj d1535[1];
#endif /*defined(LOG_LOCAL5)*/
#if defined(LOG_LOCAL4)
  ScmObj d1533[1];
#endif /*defined(LOG_LOCAL4)*/
#if defined(LOG_LOCAL3)
  ScmObj d1531[1];
#endif /*defined(LOG_LOCAL3)*/
#if defined(LOG_LOCAL2)
  ScmObj d1529[1];
#endif /*defined(LOG_LOCAL2)*/
#if defined(LOG_LOCAL1)
  ScmObj d1527[1];
#endif /*defined(LOG_LOCAL1)*/
#if defined(LOG_LOCAL0)
  ScmObj d1525[1];
#endif /*defined(LOG_LOCAL0)*/
#if defined(LOG_KERN)
  ScmObj d1523[1];
#endif /*defined(LOG_KERN)*/
#if defined(LOG_FTP)
  ScmObj d1521[1];
#endif /*defined(LOG_FTP)*/
#if defined(LOG_DAEMON)
  ScmObj d1519[1];
#endif /*defined(LOG_DAEMON)*/
#if defined(LOG_CRON)
  ScmObj d1517[1];
#endif /*defined(LOG_CRON)*/
#if defined(LOG_AUTHPRIV)
  ScmObj d1515[1];
#endif /*defined(LOG_AUTHPRIV)*/
#if defined(LOG_AUTH)
  ScmObj d1513[1];
#endif /*defined(LOG_AUTH)*/
#if defined(LOG_PID)
  ScmObj d1511[1];
#endif /*defined(LOG_PID)*/
#if defined(LOG_PERROR)
  ScmObj d1509[1];
#endif /*defined(LOG_PERROR)*/
#if defined(LOG_ODELAY)
  ScmObj d1507[1];
#endif /*defined(LOG_ODELAY)*/
#if defined(LOG_NOWAIT)
  ScmObj d1505[1];
#endif /*defined(LOG_NOWAIT)*/
#if defined(LOG_NDELAY)
  ScmObj d1503[1];
#endif /*defined(LOG_NDELAY)*/
#if defined(LOG_CONS)
  ScmObj d1501[1];
#endif /*defined(LOG_CONS)*/
  ScmPair d1500[48] SCM_ALIGN_PAIR;
  ScmObj d1489[20];
} scm__rc SCM_UNUSED = {
#if defined(LOG_DEBUG)
  {   /* ScmObj d1567 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_DEBUG)*/
#if defined(LOG_INFO)
  {   /* ScmObj d1565 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_INFO)*/
#if defined(LOG_NOTICE)
  {   /* ScmObj d1563 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_NOTICE)*/
#if defined(LOG_WARNING)
  {   /* ScmObj d1561 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_WARNING)*/
#if defined(LOG_ERR)
  {   /* ScmObj d1559 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_ERR)*/
#if defined(LOG_CRIT)
  {   /* ScmObj d1557 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_CRIT)*/
#if defined(LOG_ALERT)
  {   /* ScmObj d1555 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_ALERT)*/
#if defined(LOG_EMERG)
  {   /* ScmObj d1553 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_EMERG)*/
#if defined(LOG_UUCP)
  {   /* ScmObj d1551 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_UUCP)*/
#if defined(LOG_USER)
  {   /* ScmObj d1549 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_USER)*/
#if defined(LOG_SYSLOG)
  {   /* ScmObj d1547 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_SYSLOG)*/
#if defined(LOG_NEWS)
  {   /* ScmObj d1545 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_NEWS)*/
#if defined(LOG_MAIL)
  {   /* ScmObj d1543 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_MAIL)*/
#if defined(LOG_LPR)
  {   /* ScmObj d1541 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LPR)*/
#if defined(LOG_LOCAL7)
  {   /* ScmObj d1539 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL7)*/
#if defined(LOG_LOCAL6)
  {   /* ScmObj d1537 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL6)*/
#if defined(LOG_LOCAL5)
  {   /* ScmObj d1535 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL5)*/
#if defined(LOG_LOCAL4)
  {   /* ScmObj d1533 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL4)*/
#if defined(LOG_LOCAL3)
  {   /* ScmObj d1531 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL3)*/
#if defined(LOG_LOCAL2)
  {   /* ScmObj d1529 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL2)*/
#if defined(LOG_LOCAL1)
  {   /* ScmObj d1527 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL1)*/
#if defined(LOG_LOCAL0)
  {   /* ScmObj d1525 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_LOCAL0)*/
#if defined(LOG_KERN)
  {   /* ScmObj d1523 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_KERN)*/
#if defined(LOG_FTP)
  {   /* ScmObj d1521 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_FTP)*/
#if defined(LOG_DAEMON)
  {   /* ScmObj d1519 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_DAEMON)*/
#if defined(LOG_CRON)
  {   /* ScmObj d1517 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_CRON)*/
#if defined(LOG_AUTHPRIV)
  {   /* ScmObj d1515 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_AUTHPRIV)*/
#if defined(LOG_AUTH)
  {   /* ScmObj d1513 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_AUTH)*/
#if defined(LOG_PID)
  {   /* ScmObj d1511 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_PID)*/
#if defined(LOG_PERROR)
  {   /* ScmObj d1509 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_PERROR)*/
#if defined(LOG_ODELAY)
  {   /* ScmObj d1507 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_ODELAY)*/
#if defined(LOG_NOWAIT)
  {   /* ScmObj d1505 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_NOWAIT)*/
#if defined(LOG_NDELAY)
  {   /* ScmObj d1503 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_NDELAY)*/
#if defined(LOG_CONS)
  {   /* ScmObj d1501 */
    SCM_UNBOUND,
  },
#endif /*defined(LOG_CONS)*/
  {   /* ScmPair d1500 */
       { SCM_NIL, SCM_NIL },
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[1])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[2])},
       { SCM_MAKE_INT(51U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1490[6]), SCM_OBJ(&scm__rc.d1500[4])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[5])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[7])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[8])},
       { SCM_OBJ(&scm__rc.d1500[9]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1500[6]), SCM_OBJ(&scm__rc.d1500[10])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[12])},
       { SCM_MAKE_INT(59U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1490[6]), SCM_OBJ(&scm__rc.d1500[14])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[15])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[17])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[18])},
       { SCM_OBJ(&scm__rc.d1500[19]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1500[16]), SCM_OBJ(&scm__rc.d1500[20])},
       { SCM_MAKE_INT(65U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1490[6]), SCM_OBJ(&scm__rc.d1500[22])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[23])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[25])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[26])},
       { SCM_OBJ(&scm__rc.d1500[27]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1500[24]), SCM_OBJ(&scm__rc.d1500[28])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(68U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1490[6]), SCM_OBJ(&scm__rc.d1500[31])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[32])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[34])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[35])},
       { SCM_OBJ(&scm__rc.d1500[36]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1500[33]), SCM_OBJ(&scm__rc.d1500[37])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(74U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1490[6]), SCM_OBJ(&scm__rc.d1500[40])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[41])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[43])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1500[44])},
       { SCM_OBJ(&scm__rc.d1500[45]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1500[42]), SCM_OBJ(&scm__rc.d1500[46])},
  },
  {   /* ScmObj d1489 */
    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_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
  },
};
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 C string 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("small integer required, but got %S", option_scm);
  option = SCM_INT_VALUE(option_scm);
  facility_scm = SCM_SUBRARGS[2];
  if (!SCM_INTP(facility_scm)) Scm_Error("small integer required, but got %S", facility_scm);
  facility = SCM_INT_VALUE(facility_scm);
  {

#line 53 "./syslog.scm"

#if defined(HAVE_SYSLOG)

#line 54 "./syslog.scm"
openlog(ident,option,facility);
#else /* !defined(HAVE_SYSLOG) */

#line 55 "./syslog.scm"
{((void )(ident));
((void )(option));
((void )(facility));}
#endif /* defined(HAVE_SYSLOG) */

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

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("small integer 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 C string required, but got %S", message_scm);
  message = SCM_STRING_CONST_CSTRING(message_scm);
  {

#line 60 "./syslog.scm"

#if defined(HAVE_SYSLOG)

#line 61 "./syslog.scm"
syslog(prio,"%s",message);
#else /* !defined(HAVE_SYSLOG) */

#line 62 "./syslog.scm"
{((void )(prio));
((void )(message));}
#endif /* defined(HAVE_SYSLOG) */

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

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 66 "./syslog.scm"

#if defined(HAVE_SYSLOG)

#line 66 "./syslog.scm"
closelog();
#endif /* defined(HAVE_SYSLOG) */

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

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("small integer required, but got %S", prio_scm);
  prio = SCM_INT_VALUE(prio_scm);
  {
{
ScmSmallInt SCM_RESULT;

#line 69 "./syslog.scm"

#if defined(HAVE_SETLOGMASK)

#line 70 "./syslog.scm"
{SCM_RESULT=(LOG_MASK(prio));goto SCM_STUB_RETURN;}
#else /* !defined(HAVE_SETLOGMASK) */

#line 71 "./syslog.scm"
{((void )(prio));
{SCM_RESULT=(0);goto SCM_STUB_RETURN;}}
#endif /* defined(HAVE_SETLOGMASK) */

goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_MAKE_INT(SCM_RESULT));
}
  }
}

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("small integer required, but got %S", mask_scm);
  mask = SCM_INT_VALUE(mask_scm);
  {
{
ScmSmallInt SCM_RESULT;

#line 75 "./syslog.scm"

#if defined(HAVE_SETLOGMASK)

#line 76 "./syslog.scm"
{SCM_RESULT=(setlogmask(mask));goto SCM_STUB_RETURN;}
#else /* !defined(HAVE_SETLOGMASK) */

#line 77 "./syslog.scm"
{((void )(mask));
{SCM_RESULT=(0);goto SCM_STUB_RETURN;}}
#endif /* defined(HAVE_SETLOGMASK) */

goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_MAKE_INT(SCM_RESULT));
}
  }
}

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.d1489[1] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[0])),TRUE); /* gauche.syslog */
  scm__rc.d1489[0] = SCM_OBJ(Scm_FindModule(SCM_SYMBOL(scm__rc.d1489[1]), SCM_FIND_MODULE_CREATE)); /* module gauche.syslog */
   Scm_SelectModule(SCM_MODULE(scm__rc.d1489[0]));
   Scm_SelectModule(SCM_MODULE(SCM_OBJ(Scm_GaucheModule())));
   Scm_SelectModule(SCM_MODULE(scm__rc.d1489[0]));
  scm__rc.d1489[2] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[1])),TRUE); /* sys-openlog */
  scm__rc.d1489[3] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[2])),TRUE); /* ident */
  scm__rc.d1489[4] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[3])),TRUE); /* option */
  scm__rc.d1489[5] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[4])),TRUE); /* facility */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[1]), scm__rc.d1489[5]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[2]), scm__rc.d1489[4]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[3]), scm__rc.d1489[3]);
  scm__rc.d1489[6] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[5])),TRUE); /* source-info */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[6]), scm__rc.d1489[6]);
  scm__rc.d1489[7] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[7])),TRUE); /* bind-info */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[7]), scm__rc.d1489[2]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[8]), scm__rc.d1489[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[9]), scm__rc.d1489[7]);
  scm__rc.d1489[8] = Scm_MakeExtendedPair(scm__rc.d1489[2], SCM_OBJ(&scm__rc.d1500[3]), SCM_OBJ(&scm__rc.d1500[11]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1489[0]), SCM_SYMBOL(SCM_INTERN("sys-openlog")), SCM_OBJ(&gauche_2d_2dsyslogsys_openlog__STUB), 0);
  gauche_2d_2dsyslogsys_openlog__STUB.common.info = scm__rc.d1489[8];
  scm__rc.d1489[9] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[8])),TRUE); /* sys-syslog */
  scm__rc.d1489[10] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[9])),TRUE); /* prio */
  scm__rc.d1489[11] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[10])),TRUE); /* message */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[12]), scm__rc.d1489[11]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[13]), scm__rc.d1489[10]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[16]), scm__rc.d1489[6]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[17]), scm__rc.d1489[9]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[18]), scm__rc.d1489[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[19]), scm__rc.d1489[7]);
  scm__rc.d1489[12] = Scm_MakeExtendedPair(scm__rc.d1489[9], SCM_OBJ(&scm__rc.d1500[13]), SCM_OBJ(&scm__rc.d1500[21]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1489[0]), SCM_SYMBOL(SCM_INTERN("sys-syslog")), SCM_OBJ(&gauche_2d_2dsyslogsys_syslog__STUB), 0);
  gauche_2d_2dsyslogsys_syslog__STUB.common.info = scm__rc.d1489[12];
  scm__rc.d1489[13] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[11])),TRUE); /* sys-closelog */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[24]), scm__rc.d1489[6]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[25]), scm__rc.d1489[13]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[26]), scm__rc.d1489[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[27]), scm__rc.d1489[7]);
  scm__rc.d1489[14] = Scm_MakeExtendedPair(scm__rc.d1489[13], SCM_NIL, SCM_OBJ(&scm__rc.d1500[29]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1489[0]), SCM_SYMBOL(SCM_INTERN("sys-closelog")), SCM_OBJ(&gauche_2d_2dsyslogsys_closelog__STUB), 0);
  gauche_2d_2dsyslogsys_closelog__STUB.common.info = scm__rc.d1489[14];
  scm__rc.d1489[15] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[12])),TRUE); /* sys-logmask */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[30]), scm__rc.d1489[10]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[33]), scm__rc.d1489[6]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[34]), scm__rc.d1489[15]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[35]), scm__rc.d1489[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[36]), scm__rc.d1489[7]);
  scm__rc.d1489[16] = Scm_MakeExtendedPair(scm__rc.d1489[15], SCM_OBJ(&scm__rc.d1500[30]), SCM_OBJ(&scm__rc.d1500[38]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1489[0]), SCM_SYMBOL(SCM_INTERN("sys-logmask")), SCM_OBJ(&gauche_2d_2dsyslogsys_logmask__STUB), 0);
  gauche_2d_2dsyslogsys_logmask__STUB.common.info = scm__rc.d1489[16];
  scm__rc.d1489[17] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[13])),TRUE); /* sys-setlogmask */
  scm__rc.d1489[18] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1490[14])),TRUE); /* mask */
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[39]), scm__rc.d1489[18]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[42]), scm__rc.d1489[6]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[43]), scm__rc.d1489[17]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[44]), scm__rc.d1489[1]);
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1500[45]), scm__rc.d1489[7]);
  scm__rc.d1489[19] = Scm_MakeExtendedPair(scm__rc.d1489[17], SCM_OBJ(&scm__rc.d1500[39]), SCM_OBJ(&scm__rc.d1500[47]));
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1489[0]), SCM_SYMBOL(SCM_INTERN("sys-setlogmask")), SCM_OBJ(&gauche_2d_2dsyslogsys_setlogmask__STUB), 0);
  gauche_2d_2dsyslogsys_setlogmask__STUB.common.info = scm__rc.d1489[19];
#if defined(LOG_CONS)
  scm__rc.d1501[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1502[0])),TRUE); /* LOG_CONS */
#endif /* defined(LOG_CONS) */
#if defined(LOG_CONS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1489[0]), SCM_SYMBOL(scm__rc.d1501[0]), Scm_MakeInteger(LOG_CONS), SCM_BINDING_CONST);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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