reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
SipXHelper.hxx
Go to the documentation of this file.
1#ifndef SIPXHELPER_HXX
2#define SIPXHELPER_HXX
3
4#include "rutil/Data.hxx"
5
6namespace recon
7{
8
10{
11public:
12 // Sets up a link from the sipX logging class to
13 // the reSIProcate logging stack. This version grabs logs after they
14 // have been queued to the OsSysLog thread.
15 static void setupLoggingBridge(const resip::Data& appName);
16
17 // Sets up a link from the sipX logging class to
18 // the reSIProcate logging stack. This version grabs logs before they
19 // have been queued to the OsSysLog thread. This is more appropriate
20 // for use if a non-blocking external resip logger has been configured,
21 // as it runs inline with sipX media processing.
22 // This version also avoids the overhead of sipX log message encoding, and
23 // then decoding in the logging handler.
25};
26
27
28}
29
30#endif
31
32
33/* ====================================================================
34 *
35 * Copyright 2022 SIP Spectrum, Inc. http://sipspectrum.com
36 * Copyright 2014 Daniel Pocock http://danielpocock.com
37 * All rights reserved.
38 *
39 * Redistribution and use in source and binary forms, with or without
40 * modification, are permitted provided that the following conditions
41 * are met:
42 *
43 * 1. Redistributions of source code must retain the above copyright
44 * notice, this list of conditions and the following disclaimer.
45 *
46 * 2. Redistributions in binary form must reproduce the above copyright
47 * notice, this list of conditions and the following disclaimer in
48 * the documentation and/or other materials provided with the
49 * distribution.
50 *
51 * 3. Neither the name of the author(s) nor the names of any contributors
52 * may be used to endorse or promote products derived from this software
53 * without specific prior written permission.
54 *
55 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS "AS IS" AND
56 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
57 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
58 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
59 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
60 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
61 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
62 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
63 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
64 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
65 * SUCH DAMAGE.
66 *
67 * ====================================================================
68 *
69 *
70 */
71
static void setupPreQueueLoggingBridge(const resip::Data &appName)
static void setupLoggingBridge(const resip::Data &appName)
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition Data.hxx:90
void list()
Definition userAdmin.cxx:66