yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
log_vendor_extern.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
3 *
4 * Unless required by applicable law or agreed to in writing,
5 * software distributed under the License is distributed on an
6 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
7 * KIND, either express or implied. See the License for the
8 * specific language governing permissions and limitations
9 * under the License.
10 */
11#ifndef _H_log_vendor_extern
12#define _H_log_vendor_extern
13/* FILE: log_vendor_extern.h
14*********************************************************************
15* *
16* P U R P O S E *
17* *
18*********************************************************************/
19
25/*********************************************************************
26* *
27* C H A N G E H I S T O R Y *
28* *
29*********************************************************************
30
31date init comment
32----------------------------------------------------------------------
3308-jan-06 abb begun
3402-jun-2012 mts adapted from log.h
3517-oct-2012 mts cloned from log_vendor.h
36*/
37
38#include <stdio.h>
39#include <xmlstring.h>
40
41#include "procdefs.h"
42#include "status.h"
43#include "log.h"
44#include "log_util.h"
45
46#ifdef __cplusplus
47extern "C" {
48#endif
49
50/********************************************************************
51* *
52* C O N S T A N T S *
53* *
54*********************************************************************/
55
56/********************************************************************
57* *
58* T Y P E S *
59* *
60*********************************************************************/
61
89typedef void (*logfn_vendor_init1_t) ( boolean pre_cli );
90
102 log_debug_t level,
103 const char *fstr,
104 va_list args );
105
111typedef void (*logfn_vendor_cleanup_t) ( void );
112
113
114/********************************************************************
115* *
116* V A R I A B L E S *
117* *
118*********************************************************************/
119
120/* Vendor external API callback vector: */
121extern logfn_vendor_send_t logfn_vendor_send;
122
123/********************************************************************
124* *
125* F U N C T I O N S *
126* *
127*********************************************************************/
128
142extern void
144
145
149#ifdef __cplusplus
150} /* end extern 'C' */
151#endif
152
153#endif /* _H_log_vendor_extern */
void(* logfn_vendor_cleanup_t)(void)
Vendor Logging Cleanup Callback.
Definition: log_vendor_extern.h:111
void(* logfn_vendor_send_t)(log_debug_app_t app, log_debug_t level, const char *fstr, va_list args)
Vendor Logging Send Callback.
Definition: log_vendor_extern.h:101
void(* logfn_vendor_init1_t)(boolean pre_cli)
Vendor Logging Init1 Callback.
Definition: log_vendor_extern.h:89
void log_vendor_extern_register_send_fn(logfn_vendor_send_t new_vendor_logfn)
Register vendor function to accept YumaPro log output stream (mandatory)
Definition: log_vendor_extern.c:99
log_debug_app_t
syslog wants to know what app is logging ...
Definition: log.h:367
log_debug_t
The debug level enumerations used in util/log.c.
Definition: log.h:348
NCX System Logging Manager.
Internal SYSLOG Logging support.
Global error messages for status code enumerations.