/*
 * This file was automatically generated with ILU (version 2.0beta1) tools
 * at Tue Sep 21 11:46:00 1999 by `nobody'
 * running "c:/iluwin/bin/c-stubber.exe" of Tue Sep 21 10:50:33 1999
 * on "C:/iluwin/examples/httest/httest.isl" of Mon Sep 20 15:54:04 1999,
 * and "C:/iluwin/examples/httest/iluhttp.isl" of Mon Sep 20 15:51:46 1999,
 * and "c:/iluwin/interfaces/ilu.isl" of Mon Sep 20 15:51:47 1999.
 *
 * ILU is Copyright 1991-1999 Xerox Corporation, All Rights Reserved.
 * ILU information:  ftp://ftp.parc.xerox.com/pub/ilu/ilu.html.
 */

#include "httest.h"

ilu_CString _httest_DerivedResource_flipcase__clientstub (httest_DerivedResource _handle, ilu_CString strtoflipcase, ILU_C_ENVIRONMENT *_status)
{
  ilu_CString _retvalue;
  static struct _ILU_C_ExceptionDescription_s _evec[] = {
    { sizeof(CORBA_long), ILU_NIL, 0, 0, (ILU_C_InputFn) ilu_InputInteger, 0 }};

  _ILU_C_ParmDesc __parmsBlock[2];
  __parmsBlock[0].parm_in  = 0;
  __parmsBlock[0].parm_out = 1;
  __parmsBlock[0].parm_needs_assignment   = 0;
  __parmsBlock[0].parm_needs_dereference  = 0;
  __parmsBlock[0].parm_type = TC_ilu_CString;
  __parmsBlock[0].parm_val  = (void *) &_retvalue;
  __parmsBlock[1].parm_in  = 1;
  __parmsBlock[1].parm_out = 0;
  __parmsBlock[1].parm_needs_assignment   = 0;
  __parmsBlock[1].parm_needs_dereference  = 0;
  __parmsBlock[1].parm_type = TC_ilu_CString;
  __parmsBlock[1].parm_val  = (void *) strtoflipcase;
  _ILU_C_VectorCall (_httest_DerivedResource__ILUType, &_httest_DerivedResource__ILUType->cl_methods[0],
                     _evec, _handle, _status, 2, __parmsBlock);
  return _retvalue;
}

static ILU_C_Class _httest_DerivedResource__SurrogateClass = 0;
httest_DerivedResource httest_DerivedResource__CreateFromSBH (char *sbh, ILU_C_ENVIRONMENT * env)
{
  return (httest_DerivedResource) (ILU_C_SBHToObject(sbh, _httest_DerivedResource__ILUType, env));
}

void httest__Initialize(void)
{
  extern void _httest__GeneralInitialization(void);

  static ilu_boolean initialized = ilu_FALSE;
  if (initialized) return;
  initialized = ilu_TRUE;

  iluhttp__Initialize();
  _httest__GeneralInitialization();
  _httest_DerivedResource__SurrogateClass = httest_DerivedResource__MakeClass(
    _httest_DerivedResource_flipcase__clientstub,
    _iluhttp_Resource_GET__clientstub,
    _iluhttp_Resource_HEAD__clientstub,
    _iluhttp_Resource_POST__clientstub,
    0 /* no finalization */
    );
  _ILU_C_RegisterSurrogateCType (_httest_DerivedResource__ILUType,
	_httest_DerivedResource__SurrogateClass);
  return;
}
