1*7cb86289Sgnezdo /* $OpenBSD: syslog.h,v 1.5 2023/04/26 06:52:45 gnezdo Exp $ */ 24fb98022Sguenther /* 34fb98022Sguenther * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> 44fb98022Sguenther * 54fb98022Sguenther * Permission to use, copy, modify, and distribute this software for any 64fb98022Sguenther * purpose with or without fee is hereby granted, provided that the above 74fb98022Sguenther * copyright notice and this permission notice appear in all copies. 84fb98022Sguenther * 94fb98022Sguenther * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 104fb98022Sguenther * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 114fb98022Sguenther * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 124fb98022Sguenther * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 134fb98022Sguenther * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 144fb98022Sguenther * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 154fb98022Sguenther * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 164fb98022Sguenther */ 174fb98022Sguenther 184fb98022Sguenther #ifndef _LIBC_SYSLOG_H_ 194fb98022Sguenther #define _LIBC_SYSLOG_H_ 204fb98022Sguenther 214fb98022Sguenther #include_next <syslog.h> 224fb98022Sguenther 234fb98022Sguenther __BEGIN_HIDDEN_DECLS 241778bf5bSderaadt void __vsyslog_r(int, struct syslog_data *, int, 254fb98022Sguenther const char *, __va_list); 264fb98022Sguenther __END_HIDDEN_DECLS 274fb98022Sguenther 284fb98022Sguenther PROTO_DEPRECATED(closelog); 294fb98022Sguenther PROTO_NORMAL(closelog_r); 304fb98022Sguenther PROTO_DEPRECATED(openlog); 314fb98022Sguenther PROTO_NORMAL(openlog_r); 32*7cb86289Sgnezdo PROTO_NORMAL(sendsyslog); 334fb98022Sguenther PROTO_DEPRECATED(setlogmask); 344fb98022Sguenther PROTO_NORMAL(setlogmask_r); 354fb98022Sguenther PROTO_NORMAL(syslog); 364fb98022Sguenther PROTO_NORMAL(syslog_r); 374fb98022Sguenther PROTO_NORMAL(vsyslog); 384fb98022Sguenther PROTO_NORMAL(vsyslog_r); 394fb98022Sguenther 404fb98022Sguenther #endif /* !_LIBC_SYSLOG_H_ */ 41