summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-09 00:52:32 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-09 00:52:32 +0000
commitd59b27d5fcc346d96072ed0edb88cda0223be084 (patch)
treef605bc19591d3cf23d372a5ace6c70fbe367a620 /perl-install/c
parent1934b3123c81c2ccb425626aa61ed29e38780ddf (diff)
downloaddrakx-d59b27d5fcc346d96072ed0edb88cda0223be084.tar
drakx-d59b27d5fcc346d96072ed0edb88cda0223be084.tar.gz
drakx-d59b27d5fcc346d96072ed0edb88cda0223be084.tar.bz2
drakx-d59b27d5fcc346d96072ed0edb88cda0223be084.tar.xz
drakx-d59b27d5fcc346d96072ed0edb88cda0223be084.zip
no_comment
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pm16
1 files changed, 16 insertions, 0 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index 6ca1e32d3..322266c67 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -5,6 +5,7 @@ print '
#include <ctype.h>
#include <unistd.h>
+#include <syslog.h>
#include <fcntl.h>
#include <resolv.h>
#include <sys/types.h>
@@ -96,6 +97,21 @@ lseek_sector(fd, sector, offset)
RETVAL
void
+openlog(ident)
+ char *ident
+ CODE:
+ openlog(ident, 0, 0);
+
+void
+closelog()
+
+void
+syslog(mesg)
+ char *mesg
+ CODE:
+ syslog(LOG_WARNING, mesg);
+
+void
setsid()
void