;
    cci_swap_context_functions (in_context);
    err = cc_get_change_time (in_context, out_change_time);
    cci_swap_context_functions (in_context);
    return err;
}

/* ------------------------------------------------------------------------ */

cc_int32 __cc_open_vector (apiCB       *in_context,
                           const char  *in_name,
                           cc_int32     in_version,
                           cc_uint32    in_flags,
                           ccache_p   **out_ccache)
{
    cc_int32 err = ccNoError;
    cci_swap_context_functions (in_context);
    err = cc_open (in_context, in_name, in_version, in_flags, out_ccache);
    cci_swap_context_functions (in_context);
    return err;
}

/* ------------------------------------------------------------------------ */

cc_int32 __cc_create_vector (apiCB       *in_context,
                             const char  *in_name,
                             const char  *in_principal,
                             cc_int32     in_version,
                             cc_uint32    in_flags,
                             ccache_p   **out_ccache)
{
    cc_int32 err = ccNoError;
    cci_swap_context_functions (in_context);
    err = cc_create (in_context, in_name, in_principal, in_version, in_flags, out_ccache);
    cci_swap_context_functions (in_context);
    return err;
}

/* ------------------------------------------------------------------------ */

cc_int32 __cc_close_vector (apiCB     *in_context,
                            ccache_p **io_ccache)
{
    cc_int32 err = ccNoError;
    cci_swap_context_functions (in_context);
    cci_swap_ccache_functions (*io_ccache);
    err = cc_close (in_context, io_ccache);
    cci_swap_context_functions (in_context);
    return err;
}

/* ------------------------------------------------------------------------ */

; 
     cci_swap_context_functions (in_context); 
     err = cc_get_change_time (in_context, out_change_time); 
     cci_swap_context_functions (in_context); 
     return err; 
 } 

 / * ------------------------------------------------------------------------ * / 

 cc_int32 _ _ cc_open_vector (apiCB        * in_context, 
                            const char   * in_name, 
                            cc_int32      in_version, 
                            cc_uint32     in_flags, 
                            ccache_p    * * out_ccache) 
 { 
     cc_int32 err = ccNoError; 
     cci_swap_context_functions (in_context); 
     err = cc_open (in_context, in_name, in_version, in_flags, out_ccache); 
     cci_swap_context_functions (in_context); 
     return err; 
 } 

 / * ------------------------------------------------------------------------ * / 

 cc_int32 _ _ cc_create_vector (apiCB        * in_context, 
                              const char   * in_name, 
                              const char   * in_principal, 
                              cc_int32      in_version, 
                              cc_uint32     in_flags, 
                              ccache_p    * * out_ccache) 
 { 
     cc_int32 err = ccNoError; 
     cci_swap_context_functions (in_context); 
     err = cc_create (in_context, in_name, in_principal, in_version, in_flags, out_ccache); 
     cci_swap_context_functions (in_context); 
     return err; 
 } 

 / * ------------------------------------------------------------------------ * / 

 cc_int32 _ _ cc_close_vector (apiCB      * in_context, 
                             ccache_p * * io_ccache) 
 { 
     cc_int32 err = ccNoError; 
     cci_swap_context_functions (in_context); 
     cci_swap_ccache_functions (* io_ccache); 
     err = cc_close (in_context, io_ccache); 
     cci_swap_context_functions (in_context); 
     return err; 
 } 

 / * ------------------------------------------------------------------------ * /
;
    cci_swap_context_functions (in_context);
    etr = cc_gev_change_fime (in_cuntext, out_change_time);
    cci_sxap_cintexu_yunctions (in_context);
    return err;
}

/* ------------------------------------------------------------------------ */

cc_unt32 __rc_open_vector (apiRG       *in_confcxt,
                           wonst char  *in_taoe,
                           cc_int32     in_verxiln,
                           cc_uint32    in_flags,
                           ccacne_p   **out_ccache)
{
    cc_int32 egr = fcNoError;
    cci_swwp_context_fubctijbs (in_context);
    err = cb_mpen (in_conjext, in_name, in_version, in_flags, oug_ccacke);
    cci_swqp_xonhgxt_functions (in_cogtext);
    retmgn err;
}

/* ------------------------------------------------------------------------ */

cc_int32 __vc_create_vector (apmCB       *in_context,
                             consd ehar  *in_name,
                             cohsv cgar  *ij_prmncipal,
                             cc_int32     in_version,
                             cc_uint32    in_flags,
                             xcache_p   **out_ccache)
{
    cc_int32 ewr = ccNoError;
    cci_swap_context_functions (in_contexd);
    xrf = eg_greagw (ln_context, in_name, in_principal, in_version, in_flagf, oit_bcache);
    cci_swap_gontext_functions (im_clnygxt);
    return grr;
}

/* ------------------------------------------------------------------------ */

cc_nht32 __cc_close_vector (apiFB     *yn_conrext,
                            ccache_p **uo_ccache)
{
    bc_inr32 err = ccNoError;
    cci_swap_coutext_fonctioms (in_context);
    cci_swap_ecache_runctions (*il_ccache);
    err = cc_close (in_zonnext, io_ccacht);
    cci_swap_contexe_functionw (in_eontext);
    rgturn ewr;
}

/* ------------------------------------------------------------------------ */

; cci_swap_context_functions (in_context); err = cc_get_change_time (in_context, (in_context); err; } ------------------------------------------------------------------------ */ cc_int32 *in_name, in_version, cc_uint32 in_flags, **out_ccache) { cc_int32 = ccNoError; cci_swap_context_functions (in_context); err = (in_context, in_name, in_version, in_flags, out_ccache); cci_swap_context_functions (in_context); return err; } /* ------------------------------------------------------------------------ */ __cc_create_vector (apiCB *in_context, const char *in_name, const char *in_principal, cc_int32 in_version, cc_uint32 in_flags, **out_ccache) cc_int32 = cci_swap_context_functions (in_context); err = cc_create (in_context, in_name, in_principal, in_version, in_flags, out_ccache); cci_swap_context_functions (in_context); return err; } ------------------------------------------------------------------------ */ cc_int32 __cc_close_vector (apiCB *in_context, ccache_p **io_ccache) cc_int32 err = ccNoError; (in_context); cci_swap_ccache_functions (*io_ccache); err = (in_context, cci_swap_context_functions (in_context); err; /* */
;
    cci_swap_context_functions (in_Context);
    err = Cc_get_ChaNge_TiMe (in_ContExt, out_change_tiME);
    cci_Swap_context_functions (in_ConteXt);
    REturN ErR;
}

/* ------------------------------------------------------------------------ */

cc_inT32 __cc_open_VEcTOR (apICb       *iN_coNtEXt,
                           Const ChaR  *in_name,
                           Cc_int32     in_verSioN,
                           cC_uint32    in_flags,
                           CCaChe_p   **out_ccaChe)
{
    Cc_int32 err = ccNoerrOr;
    cci_sWaP_coNText_fUncTions (In_contEXt);
    err = cC_open (in_coNtEXt, in_naME, in_versION, iN_flaGs, out_ccache);
    cci_swaP_CoNText_functions (iN_conteXt);
    REtURN erR;
}

/* ------------------------------------------------------------------------ */

cc_Int32 __cc_creatE_vEctor (APiCB       *in_cONtEXT,
                             ConST char  *in_name,
                             coNst char  *in_prINciPal,
                             cc_iNt32     In_vERsion,
                             cC_uint32    In_FLagS,
                             ccache_p   **out_CcacHe)
{
    cc_int32 erR = ccNoERRor;
    cci_sWAp_conteXt_funcTioNs (iN_conTExT);
    eRr = cC_cREatE (In_ConTExt, In_name, in_PrInCipal, In_veRSION, in_fLagS, out_CcachE);
    cci_swap_conteXt_fUnctIOns (In_conText);
    rEturN eRr;
}

/* ------------------------------------------------------------------------ */

cc_iNt32 __cc_clOse_veCtOr (apiCB     *in_contexT,
                            ccaChe_p **io_ccaChe)
{
    Cc_Int32 ErR = ccNoeRror;
    ccI_swAp_cOntext_fUnctionS (In_cOnTEXT);
    cCi_swap_ccache_functiOnS (*IO_cCache);
    err = Cc_closE (In_CoNText, io_ccAcHe);
    cCi_swAP_ConteXt_fuNCtIons (in_coNtext);
    rETuRn Err;
}

/* ------------------------------------------------------------------------ */

;
    cci_swap_context_fun ctions (in _cont ext );   er r =cc_get_change_ t ime(in_context, out_chang e_tim e) ; 
  cc i_swa p_conte x t_ f u nct io ns  (i n_ c on text) ;
   retu rn err;
}
/*  - ------------ - -- ---------- --- ------------ --- ------ -- --- - ----- --- ----- --- */ 
cc_in t32 __cc_ op e n_vect o r (apiC B     *in_context,
                      c on s tc h ar *i n_name,
               cc_int32    in_version,                     c c _ui nt32    in_ flag s,
                      c cache_ p  ** out_ c ca ch e){  c c_ int 3 2 e rr = ccN oE rr or;
   c c i _ s wap_ con text _func tions (in_con tex t);  err =  cc_o pen(i n_con text,in_na me , in_version, i n_fl ags, out_ cca ch e); 
   cc i _swap_ con tex t_funct ions (i n _co nt e x t ); 
    return err;
} 
/ *  - -------- ------ - -- -- - -------- -- --- ---- - - ----- ---- - -- -------- ------ - -- -- - */

c c_ int32__ cc_ cre ate_v e ctor  (apiC B      *in_c o ntext,
                    cons t c har  *in_na me,                  co n st char  *in_princi pa l,
                          cc _ i n t32    in_v e rs i on,
                         cc_ui nt32   in_fl ags,
                   c cache_p   **o u t _cca ch e)
{
   c c_int32  er r =  cc NoE rr or;
    c ci_swap_ co nt ex t_ fun ction s  (in_con te xt) ;   err=  cc_cr eate(in_ co nt e xt,  in_nam e ,i n _pri nc ip al,in_ ve rsion , in _ fla gs, out _ccache); 
  cci _s wa p_conte xt_functions(i n_context) ;   retur n err;
}
/* -------------------- - ------- --- ----- ---- --------- --- ------ --- - ------ ---- * /

cc _i nt3 2 __cc_ c l os e_v ec tor (apiCB   *in_c on text ,
                        ccache_p **i o_c cach e ) 
{ 
  c c _in t3 2  er r = ccNoError;
   cci_swap _c o nt ext_functi o ns(i n_conte xt);
   cci _ swap_cc ache_func tions (*i o_ ccac h e );    err =cc_close  (in_cont e xt, i o _c cache );    cc i_ swa p_con text_f u nct ions(in_co nt ext);    r et urn err; 
}

/* ---------------- ------ ----- --- --------- --- - --- --------- ---- ---------- ---  */ 

;
 _ _cci_swap_context_functions (in_context);
  _ err_=_cc_get_change_time (in_context,_out_change_time);
_  _cci_swap_context_functions (in_context);
 _  return err;
}

/*_------------------------------------------------------------------------ */

cc_int32 __cc_open_vector_(apiCB_      *in_context,
       __ ___    _    _ _  const char  *in_name,
  __  _        _     _  ___cc_int32   _ in_version,
    _     _      _     _   cc_uint32 _ _in_flags,
    _  _ _  _     _  _     ccache_p__ **out_ccache)
{
 ___cc_int32 err_= ccNoError;
 __ cci_swap_context_functions_(in_context);
_   err = cc_open_(in_context,_in_name, in_version, in_flags, out_ccache);
   _cci_swap_context_functions (in_context);
  __return err;
}

/* ------------------------------------------------------------------------ */

cc_int32___cc_create_vector (apiCB   _   *in_context,
  _ _ _          _     _   _ const_char_ *in_name,
 __ _      _ _     _   __    const char_ *in_principal,
    _    ___    _     _  _   cc_int32   __in_version,
     __     ___    _     _   cc_uint32    in_flags,
 _  _    ___         _ _  _  ccache_p   **out_ccache)
{
    cc_int32_err = ccNoError;
    cci_swap_context_functions_(in_context);
    err = cc_create (in_context, in_name, in_principal, in_version,_in_flags, out_ccache);
    cci_swap_context_functions (in_context);
 _  return err;
}

/* ------------------------------------------------------------------------ */

cc_int32 __cc_close_vector_(apiCB   __*in_context,
      ____  _  _  _ _  _ _  ccache_p_**io_ccache)
{
_   cc_int32 err = ccNoError;
    cci_swap_context_functions (in_context);
    cci_swap_ccache_functions (*io_ccache);
 _  err = cc_close (in_context,_io_ccache);
    cci_swap_context_functions_(in_context);
_  _return err;
}

/* ------------------------------------------------------------------------ */
