stumpless 2.2.0
载入中...
搜索中...
未找到
wel.h
浏览该文件的文档.
1/* SPDX-License-Identifier: Apache-2.0 */
2
3/*
4 * Copyright 2018-2024 Joel E. Anderson
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
52#ifndef __STUMPLESS_TARGET_WEL_H
53# define __STUMPLESS_TARGET_WEL_H
54
55# include <stumpless/config.h>
56# include <stumpless/target.h>
57
58# ifdef __cplusplus
59extern "C" {
60# endif
61
91void
93
116struct stumpless_target *
118
146struct stumpless_target *
147stumpless_open_remote_wel_target( const char *server, const char *name );
148
149# ifdef __cplusplus
150} /* extern "C" */
151# endif
152#endif /* __STUMPLESS_TARGET_WEL_H */
#define STUMPLESS_PUBLIC_FUNCTION
Marks functions that are provided for use by the library.
定义 config.h:31
A target that log entries can be sent to.
定义 target.h:140
char * name
The name of this target.
定义 target.h:157
General types and functions for working with all targets.
struct stumpless_target * stumpless_open_remote_wel_target(const char *server, const char *name)
Opens a Windows Event Log target on a remote machine.
void stumpless_close_wel_target(struct stumpless_target *target)
Closes a Windows Event Log target.
struct stumpless_target * stumpless_open_local_wel_target(const char *name)
Opens a Windows Event Log target on the local machine.