lbmaux.h

Go to the documentation of this file.
00001 /** \file lbmaux.h
00002         \brief Ultra Messaging (UM) Auxiliary Functions API
00003         \author David K. Ameiss - Informatica Corporation 
00004         \version $Id: //UMprod/REL_5_3_6/29West/lbm/src/auxx/lbm/lbmaux.h#2 $
00005         
00006         The Ultra Messaging (UM) Auxiliary Functions API Description. Included
00007         are types, constants, and functions related to the API. Contents are
00008         subject to change.
00009 
00010         All of the documentation and software included in this and any
00011         other Informatica Corporation Ultra Messaging Releases
00012         Copyright (C) Informatica Corporation. All rights reserved.
00013         
00014         Redistribution and use in source and binary forms, with or without
00015         modification, are permitted only as covered by the terms of a
00016         valid software license agreement with Informatica Corporation.
00017         
00018         Copyright (C) 2006-2014, Informatica Corporation. All Rights Reserved.
00019         
00020         THE SOFTWARE IS PROVIDED "AS IS" AND INFORMATICA DISCLAIMS ALL WARRANTIES 
00021         EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF 
00022         NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR 
00023         PURPOSE.  INFORMATICA DOES NOT WARRANT THAT USE OF THE SOFTWARE WILL BE 
00024         UNINTERRUPTED OR ERROR-FREE.  INFORMATICA SHALL NOT, UNDER ANY CIRCUMSTANCES, BE 
00025         LIABLE TO LICENSEE FOR LOST PROFITS, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR 
00026         INDIRECT DAMAGES ARISING OUT OF OR RELATED TO THIS AGREEMENT OR THE 
00027         TRANSACTIONS CONTEMPLATED HEREUNDER, EVEN IF INFORMATICA HAS BEEN APPRISED OF 
00028         THE LIKELIHOOD OF SUCH DAMAGES.
00029 */
00030 
00031 #ifndef LBMAUX_H_INCLUDED
00032 #define LBMAUX_H_INCLUDED
00033 
00034 #include <stdlib.h>
00035 #ifdef _WIN32
00036         #include <winsock2.h>
00037 #endif
00038 #include <lbm/lbm.h>
00039 
00040 #if defined(__cplusplus)
00041 extern "C" {
00042 #endif /* __cplusplus */
00043 
00044 /*! \brief Create and initialize an lbm_context_t object,
00045                 initialized with configuration options from a file.
00046 
00047         This function parses a configuration file,
00048         and creates an ::lbm_context_attr_t object with context-scope option values
00049         from the configuration file.
00050         It then calls lbm_context_create() with the attributes object.
00051 
00052         \sa lbm_context_create()
00053         \sa lbm_context_delete()
00054 
00055         \param Context A pointer to a pointer to an LBM context object.
00056                 Will be filled in by this function to point to the newly created
00057                 ::lbm_context_t object.
00058         \param ConfigFile String containing the filename that contains the options
00059                 to parse and set.
00060         \return 0 for Success and -1 for Failure.
00061 */
00062 LBMExpDLL int lbmaux_context_create_from_file(lbm_context_t * * Context,
00063                                                                                           const char * ConfigFile);
00064 
00065 /*! \brief Set attributes values in an ::lbm_context_attr_t object from a
00066                 configuration file.
00067 
00068         This function parses a configuration file,
00069         and applies context-scope option values to an ::lbm_context_attr_t object.
00070 
00071         \param Attributes A pointer to an initialized ::lbm_context_attr_t object.
00072         \param ConfigFile String containing the filename that contains the options
00073                 to parse and set.
00074         \return 0 for Success and -1 for Failure.
00075 */
00076 LBMExpDLL int lbmaux_context_attr_setopt_from_file(lbm_context_attr_t * Attributes,
00077                                                                                                    const char * ConfigFile);
00078 
00079 /*! \brief Set attributes values in an ::lbm_src_topic_attr_t object from a
00080                 configuration file.
00081 
00082         This function parses a configuration file,
00083         and applies source-scope option values to an ::lbm_src_topic_attr_t object.
00084 
00085         \param Attributes A pointer to an initialized ::lbm_src_topic_attr_t object.
00086         \param ConfigFile String containing the filename that contains the options
00087                 to parse and set.
00088         \return 0 for Success and -1 for Failure.
00089 */
00090 LBMExpDLL int lbmaux_src_topic_attr_setopt_from_file(lbm_src_topic_attr_t * Attributes,
00091                                                                                                          const char * ConfigFile);
00092 
00093 /*! \brief Set attributes values in an ::lbm_rcv_topic_attr_t object from a
00094                 configuration file.
00095 
00096         This function parses a configuration file,
00097         and applies receiver-scope option values to an ::lbm_rcv_topic_attr_t object.
00098 
00099         \param Attributes A pointer to an initialized ::lbm_rcv_topic_attr_t object.
00100         \param ConfigFile String containing the filename that contains the options
00101                 to parse and set.
00102         \return 0 for Success and -1 for Failure.
00103 */
00104 LBMExpDLL int lbmaux_rcv_topic_attr_setopt_from_file(lbm_rcv_topic_attr_t * Attributes,
00105                                                                                                          const char * ConfigFile);
00106 
00107 /*! \brief Set attributes values in an ::lbm_wildcard_rcv_attr_t object from a
00108                 configuration file.
00109 
00110         This function parses a configuration file,
00111         and applies wildcard-receiver-scope option values to an ::lbm_wildcard_rcv_attr_t object.
00112 
00113         \param Attributes A pointer to an initialized ::lbm_wildcard_rcv_attr_t object.
00114         \param ConfigFile String containing the filename that contains the options
00115                 to parse and set.
00116         \return 0 for Success and -1 for Failure.
00117 */
00118 LBMExpDLL int lbmaux_wildcard_rcv_attr_setopt_from_file(lbm_wildcard_rcv_attr_t * Attributes,
00119                                                                                                                 const char * ConfigFile);
00120 
00121 /*! \brief Set attributes values in an ::lbm_event_queue_attr_t object from a
00122                 configuration file.
00123 
00124         This function parses a configuration file,
00125         and applies event-queue-scope option values to an ::lbm_event_queue_attr_t object.
00126 
00127         \param Attributes A pointer to an initialized ::lbm_event_queue_attr_t object.
00128         \param ConfigFile String containing the filename that contains the options
00129                 to parse and set.
00130         \return 0 for Success and -1 for Failure.
00131 */
00132 LBMExpDLL int lbmaux_event_queue_attr_setopt_from_file(lbm_event_queue_attr_t * Attributes,
00133                                                                                                                 const char * ConfigFile);
00134 
00135 
00136 #if defined(__cplusplus)
00137 }
00138 #endif /* __cplusplus */
00139 
00140 #endif
00141 

Generated on Thu Mar 6 13:11:09 2014 for LBM API by  doxygen 1.5.2