[vala] posix: Add setlogmask() and LOG_UPTO().
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] posix: Add setlogmask() and LOG_UPTO().
- Date: Sun, 20 Mar 2011 09:20:39 +0000 (UTC)
commit 6929cb66a01696fddd3873ee4bbd6ee7adc7c234
Author: tfischer <tfischer ridgerun com>
Date: Fri Mar 18 15:15:47 2011 -0600
posix: Add setlogmask() and LOG_UPTO().
Fixes bug 645189.
vapi/posix.vapi | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index df98c66..b706f4f 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1325,6 +1325,12 @@ namespace Posix {
public void openlog (string ident, int option, int facility );
[CCode (cheader_filename = "syslog.h")]
+ public int setlogmask (int mask);
+
+ [CCode (cheader_filename = "syslog.h")]
+ public int LOG_UPTO (int pri);
+
+ [CCode (cheader_filename = "syslog.h")]
public void syslog (int priority, string format, ... );
[CCode (cheader_filename = "syslog.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]