include/pantheios/backends/lrsplit.h

Go to the documentation of this file.
00001 /* /////////////////////////////////////////////////////////////////////////
00002  * File:        pantheios/backends/lrsplit.h
00003  *
00004  * Purpose:     Pantheios Local/Remote Split Back-end library API
00005  *
00006  * Created:     26th June 2005
00007  * Updated:     1st September 2006
00008  *
00009  * Author:      Matthew Wilson
00010  *
00011  * Home:        http://www.pantheios.org/
00012  *
00013  * Copyright:   Matthew Wilson, 2005-2006.
00014  *
00015  * Redistribution and use in source and binary forms, with or without
00016  * modification, are permitted provided that the following conditions are met:
00017  *
00018  * - Redistributions of source code must retain the above copyright notice, this
00019  *   list of conditions and the following disclaimer.
00020  * - Redistributions in binary form must reproduce the above copyright notice,
00021  *   this list of conditions and the following disclaimer in the documentation
00022  *   and/or other materials provided with the distribution.
00023  * - Neither the names of Matthew Wilson and Synesis Software nor the names of
00024  *   any contributors may be used to endorse or promote products derived from
00025  *   this software without specific prior written permission.
00026  *
00027  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00028  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00029  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00030  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
00031  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00032  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00033  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00034  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00035  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00036  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00037  * POSSIBILITY OF SUCH DAMAGE.
00038  *
00039  * ////////////////////////////////////////////////////////////////////// */
00040 
00041 
00047 #ifndef PANTHEIOS_INCL_PANTHEIOS_BACKENDS_H_LRSPLIT
00048 #define PANTHEIOS_INCL_PANTHEIOS_BACKENDS_H_LRSPLIT
00049 
00050 /* /////////////////////////////////////////////////////////////////////////
00051  * Version information
00052  */
00053 
00054 #ifndef PANTHEIOS_DOCUMENTATION_SKIP_SECTION
00055 # define PANTHEIOS_VER_PANTHEIOS_BACKENDS_H_LRSPLIT_MAJOR       1
00056 # define PANTHEIOS_VER_PANTHEIOS_BACKENDS_H_LRSPLIT_MINOR       0
00057 # define PANTHEIOS_VER_PANTHEIOS_BACKENDS_H_LRSPLIT_REVISION    1
00058 # define PANTHEIOS_VER_PANTHEIOS_BACKENDS_H_LRSPLIT_EDIT        1
00059 #endif /* !PANTHEIOS_DOCUMENTATION_SKIP_SECTION */
00060 
00061 /* /////////////////////////////////////////////////////////////////////////
00062  * Includes
00063  */
00064 
00065 #include <pantheios/pantheios.h>
00066 #include <pantheios/backend.h>
00067 
00068 /* /////////////////////////////////////////////////////////////////////////
00069  * Pantheios Local/Remote Split backend library API
00070  */
00071 
00087 PANTHEIOS_CALL(int) pantheios_be_local_init(char const          *processIdentity
00088                                         ,   void                *reserved
00089                                         ,   void                **ptoken);
00090 
00099 PANTHEIOS_CALL(int) pantheios_be_remote_init(   char const          *processIdentity
00100                                             ,   void                *reserved
00101                                             ,   void                **ptoken);
00102 
00111 PANTHEIOS_CALL(void) pantheios_be_local_uninit( void        *token);
00120 PANTHEIOS_CALL(void) pantheios_be_remote_uninit(void        *token);
00121 
00130 PANTHEIOS_CALL(int) pantheios_be_local_logEntry(void        *feToken
00131                                             ,   void        *beToken
00132                                             ,   int         severity
00133                                             ,   char const  *entry
00134                                             ,   size_t      cchEntry);
00143 PANTHEIOS_CALL(int) pantheios_be_remote_logEntry(void        *feToken
00144                                             ,   void        *beToken
00145                                             ,   int         severity
00146                                             ,   char const  *entry
00147                                             ,   size_t      cchEntry);
00148 
00149 /* ////////////////////////////////////////////////////////////////////// */
00150 
00151 #endif /* !PANTHEIOS_INCL_PANTHEIOS_BACKENDS_H_LRSPLIT */
00152 
00153 /* ////////////////////////////////////////////////////////////////////// */

pantheios Library documentation © Matthew Wilson, 2006 SourceForge.net Logo