UM C API  6.12.1
lbmaux.h File Reference

Ultra Messaging (UM) Auxiliary Functions API. More...

#include <stdlib.h>
#include <lbm/lbm.h>

Go to the source code of this file.

Functions

LBMExpDLL int lbmaux_context_create_from_file (lbm_context_t **Context, const char *ConfigFile)
 Create and initialize an lbm_context_t object, initialized with configuration options from a file. More...
 
LBMExpDLL int lbmaux_context_attr_setopt_from_file (lbm_context_attr_t *Attributes, const char *ConfigFile)
 Set attributes values in an lbm_context_attr_t object from a configuration file. More...
 
LBMExpDLL int lbmaux_src_topic_attr_setopt_from_file (lbm_src_topic_attr_t *Attributes, const char *ConfigFile)
 Set attributes values in an lbm_src_topic_attr_t object from a configuration file. More...
 
LBMExpDLL int lbmaux_rcv_topic_attr_setopt_from_file (lbm_rcv_topic_attr_t *Attributes, const char *ConfigFile)
 Set attributes values in an lbm_rcv_topic_attr_t object from a configuration file. More...
 
LBMExpDLL int lbmaux_wildcard_rcv_attr_setopt_from_file (lbm_wildcard_rcv_attr_t *Attributes, const char *ConfigFile)
 Set attributes values in an lbm_wildcard_rcv_attr_t object from a configuration file. More...
 
LBMExpDLL int lbmaux_event_queue_attr_setopt_from_file (lbm_event_queue_attr_t *Attributes, const char *ConfigFile)
 Set attributes values in an lbm_event_queue_attr_t object from a configuration file. More...
 

Detailed Description

Ultra Messaging (UM) Auxiliary Functions API.

Author
David K. Ameiss - Informatica Corporation
Version
Id
//UMprod/REL_6_12_1/29West/lbm/src/auxx/lbm/lbmaux.h#1

The Ultra Messaging (UM) Auxiliary Functions API Description. Included are types, constants, and functions related to the API. Contents are subject to change.

All of the documentation and software included in this and any other Informatica Corporation Ultra Messaging Releases Copyright (C) Informatica Corporation. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with Informatica Corporation.

Copyright (C) 2006-2019, Informatica Corporation. All Rights Reserved.

THE SOFTWARE IS PROVIDED "AS IS" AND INFORMATICA DISCLAIMS ALL WARRANTIES EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. INFORMATICA DOES NOT WARRANT THAT USE OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE. INFORMATICA SHALL NOT, UNDER ANY CIRCUMSTANCES, BE LIABLE TO LICENSEE FOR LOST PROFITS, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR INDIRECT DAMAGES ARISING OUT OF OR RELATED TO THIS AGREEMENT OR THE TRANSACTIONS CONTEMPLATED HEREUNDER, EVEN IF INFORMATICA HAS BEEN APPRISED OF THE LIKELIHOOD OF SUCH DAMAGES.

Function Documentation

LBMExpDLL int lbmaux_context_attr_setopt_from_file ( lbm_context_attr_t Attributes,
const char *  ConfigFile 
)

Set attributes values in an lbm_context_attr_t object from a configuration file.

This function parses a configuration file, and applies context-scope option values to an lbm_context_attr_t object.

Parameters
AttributesA pointer to an initialized lbm_context_attr_t object.
ConfigFileString containing the filename that contains the options to parse and set.
Returns
0 for Success and -1 for Failure.
LBMExpDLL int lbmaux_context_create_from_file ( lbm_context_t **  Context,
const char *  ConfigFile 
)

Create and initialize an lbm_context_t object, initialized with configuration options from a file.

This function parses a configuration file, and creates an lbm_context_attr_t object with context-scope option values from the configuration file. It then calls lbm_context_create() with the attributes object.

See also
lbm_context_create()
lbm_context_delete()
Parameters
ContextA pointer to a pointer to an LBM context object. Will be filled in by this function to point to the newly created lbm_context_t object.
ConfigFileString containing the filename that contains the options to parse and set.
Returns
0 for Success and -1 for Failure.
LBMExpDLL int lbmaux_event_queue_attr_setopt_from_file ( lbm_event_queue_attr_t Attributes,
const char *  ConfigFile 
)

Set attributes values in an lbm_event_queue_attr_t object from a configuration file.

This function parses a configuration file, and applies event-queue-scope option values to an lbm_event_queue_attr_t object.

Parameters
AttributesA pointer to an initialized lbm_event_queue_attr_t object.
ConfigFileString containing the filename that contains the options to parse and set.
Returns
0 for Success and -1 for Failure.
LBMExpDLL int lbmaux_rcv_topic_attr_setopt_from_file ( lbm_rcv_topic_attr_t Attributes,
const char *  ConfigFile 
)

Set attributes values in an lbm_rcv_topic_attr_t object from a configuration file.

This function parses a configuration file, and applies receiver-scope option values to an lbm_rcv_topic_attr_t object.

Parameters
AttributesA pointer to an initialized lbm_rcv_topic_attr_t object.
ConfigFileString containing the filename that contains the options to parse and set.
Returns
0 for Success and -1 for Failure.
LBMExpDLL int lbmaux_src_topic_attr_setopt_from_file ( lbm_src_topic_attr_t Attributes,
const char *  ConfigFile 
)

Set attributes values in an lbm_src_topic_attr_t object from a configuration file.

This function parses a configuration file, and applies source-scope option values to an lbm_src_topic_attr_t object.

Parameters
AttributesA pointer to an initialized lbm_src_topic_attr_t object.
ConfigFileString containing the filename that contains the options to parse and set.
Returns
0 for Success and -1 for Failure.
LBMExpDLL int lbmaux_wildcard_rcv_attr_setopt_from_file ( lbm_wildcard_rcv_attr_t Attributes,
const char *  ConfigFile 
)

Set attributes values in an lbm_wildcard_rcv_attr_t object from a configuration file.

This function parses a configuration file, and applies wildcard-receiver-scope option values to an lbm_wildcard_rcv_attr_t object.

Parameters
AttributesA pointer to an initialized lbm_wildcard_rcv_attr_t object.
ConfigFileString containing the filename that contains the options to parse and set.
Returns
0 for Success and -1 for Failure.