"Fossies" - the Fresh Open Source Software Archive

Member "opensaf-5.21.09/src/imm/agent/imma.h" (14 Sep 2021, 2343 Bytes) of package /linux/misc/opensaf-5.21.09.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "imma.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 5.21.06_vs_5.21.09.

    1 /*      -*- OpenSAF  -*-
    2  *
    3  * (C) Copyright 2008 The OpenSAF Foundation
    4  *
    5  * This program is distributed in the hope that it will be useful, but
    6  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    7  * or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed
    8  * under the GNU Lesser General Public License Version 2.1, February 1999.
    9  * The complete license can be accessed from the following location:
   10  * http://opensource.org/licenses/lgpl-license.php
   11  * See the Copying file included with the OpenSAF distribution for full
   12  * licensing terms.z
   13  *
   14  * Author(s): Ericsson AB
   15  *
   16  */
   17 
   18 /*****************************************************************************
   19 ..............................................................................
   20 
   21 ..............................................................................
   22 
   23   DESCRIPTION:
   24 
   25   This module is the main include file for IMM Agent (IMMA).
   26 
   27 *****************************************************************************/
   28 
   29 #ifndef IMM_AGENT_IMMA_H_
   30 #define IMM_AGENT_IMMA_H_
   31 
   32 #include "imm/common/immsv.h"
   33 #include "imma_def.h"
   34 #include "imma_cb.h"
   35 #include "imma_proc.h"
   36 #include "imma_mds.h"
   37 
   38 extern IMMA_CB imma_cb;
   39 extern const char *imma_sockname;
   40 
   41 unsigned int imma_shutdown(NCSMDS_SVC_ID sv_id);
   42 unsigned int imma_startup(NCSMDS_SVC_ID sv_id);
   43 void imma_copyAttrValue(IMMSV_EDU_ATTR_VAL *p,
   44                         const SaImmValueTypeT attrValueType,
   45                         const SaImmAttrValueT attrValue);
   46 SaImmAttrValueT imma_copyAttrValue3(const SaImmValueTypeT attrValueType,
   47                                     IMMSV_EDU_ATTR_VAL *attrValue);
   48 void imma_freeAttrValue(IMMSV_EDU_ATTR_VAL *p,
   49                         const SaImmValueTypeT attrValueType);
   50 void imma_freeAttrValue3(SaImmAttrValueT attrValue,
   51                          const SaImmValueTypeT attrValueType);
   52 void imma_freeSearchAttrs(SaImmAttrValuesT_2 **attr);
   53 SaAisErrorT imma_evt_fake_evs(IMMA_CB *cb, IMMSV_EVT *i_evt, IMMSV_EVT **o_evt,
   54                               SaTimeT timeout, SaImmHandleT immHandle,
   55                               bool *locked, bool checkWritable);
   56 SaAisErrorT imma_proc_check_stale(IMMA_CB *cb, SaImmHandleT immHandle,
   57                                   SaAisErrorT defaultEr);
   58 
   59 SaTimeT imma_getSyncrTimeout();
   60 
   61 #endif  // IMM_AGENT_IMMA_H_