}
/* }}} */
-/* {{{ proto void define_syslog_variables(void)
+/* {{{ proto void define_syslog_variables(void) U
Initializes all syslog-related variables */
PHP_FUNCTION(define_syslog_variables)
{
- if (ZEND_NUM_ARGS() != 0) {
- WRONG_PARAM_COUNT;
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) {
+ return;
}
if (!BG(syslog_started)) {
}
/* }}} */
-/* {{{ proto bool openlog(string ident, int option, int facility)
+/* {{{ proto bool openlog(string ident, int option, int facility) U
Open connection to system logger */
/*
** OpenLog("nettopp", $LOG_PID, $LOG_LOCAL1);
}
/* }}} */
-/* {{{ proto bool closelog(void)
+/* {{{ proto bool closelog(void) U
Close connection to system logger */
PHP_FUNCTION(closelog)
{
- if (ZEND_NUM_ARGS() != 0) {
- WRONG_PARAM_COUNT;
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) {
+ return;
}
closelog();
}
/* }}} */
-/* {{{ proto bool syslog(int priority, string message)
+/* {{{ proto bool syslog(int priority, string message) U
Generate a system log message */
PHP_FUNCTION(syslog)
{