rust/tor_log: fix C_RUST_COUPLED documentation

This file was moved in 97b15a1d7c
and moved again in e7f5f48d68.
This commit is contained in:
cypherpunks 2018-10-23 17:12:13 +00:00 committed by Nick Mathewson
parent 98e28efa8c
commit bfab7b9d35

View File

@ -89,15 +89,15 @@ pub mod log {
use super::LogSeverity; use super::LogSeverity;
use libc::{c_char, c_int}; use libc::{c_char, c_int};
/// Severity log types. These mirror definitions in /src/common/torlog.h /// Severity log types. These mirror definitions in src/lib/log/log.h
/// C_RUST_COUPLED: src/common/log.c, log domain types /// C_RUST_COUPLED: src/lib/log/log.c, log domain types
extern "C" { extern "C" {
static LOG_WARN_: c_int; static LOG_WARN_: c_int;
static LOG_NOTICE_: c_int; static LOG_NOTICE_: c_int;
} }
/// Domain log types. These mirror definitions in /src/common/torlog.h /// Domain log types. These mirror definitions in src/lib/log/log.h
/// C_RUST_COUPLED: src/common/log.c, log severity types /// C_RUST_COUPLED: src/lib/log/log.c, log severity types
extern "C" { extern "C" {
static LD_NET_: u32; static LD_NET_: u32;
static LD_GENERAL_: u32; static LD_GENERAL_: u32;