syslog_ng_sys/messages.rs
1// Copyright (c) 2016 Tibor Benke <ihrwein@gmail.com>
2//
3// Licensed under the Apache License, Version 2.0
4// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT
5// license <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. All files in the project carrying such notice may not be copied,
7// modified, or distributed except according to those terms.
8
9use ::types::*;
10
11pub enum EVTREC {}
12
13#[link(name = "syslog-ng")]
14extern "C" {
15 pub fn msg_event_create_from_desc(prio: i32, desc: *const c_char) -> *mut EVTREC;
16 pub fn msg_event_suppress_recursions_and_send(e: *mut EVTREC);
17 pub static debug_flag: c_int;
18 pub static trace_flag: c_int;
19}