--- gconf-1.0.9.orig/Makefile.in +++ gconf-1.0.9/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -96,6 +96,7 @@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_LIBS = @GUILE_LIBS@ +HAVE_LIB = @HAVE_LIB@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTALL_GCONF_CONFIG_SOURCE = @INSTALL_GCONF_CONFIG_SOURCE@ INSTOBJEXT = @INSTOBJEXT@ @@ -103,8 +104,10 @@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ LDFLAGS = @LDFLAGS@ +LIB = @LIB@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ +LTLIB = @LTLIB@ MAINT = @MAINT@ MAJOR_VERSION = @MAJOR_VERSION@ MAKEINFO = @MAKEINFO@ @@ -139,8 +142,7 @@ SUBDIRS = gconf backends wrappers po doc examples standard-schemas DIST_SUBDIRS = tests $(SUBDIRS) -EXTRA_DIST = gconf-config.in gconf.m4.in gconf.spec.in gconf.spec TODO \ - gconf.pc gconfgtk.pc +EXTRA_DIST = gconf-config.in gconf.m4.in gconf.spec.in gconf.spec TODO gconf.pc gconfgtk.pc pkgconfigdir = $(libdir)/pkgconfig @@ -161,14 +163,14 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -315,7 +317,7 @@ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)) mostlyclean-tags: @@ -364,6 +366,11 @@ -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ --- gconf-1.0.9.orig/README +++ gconf-1.0.9/README @@ -8,7 +8,7 @@ storage backend. There's an introductory article at -http://developer.gnome.org/feature/current/index.html, written a while +http://developer.gnome.org/feature/archive/gconf/gconf.html, written a while ago but mostly still valid. Also, there's a mailing list gconf-list@gnome.org, see http://mail.gnome.org/mailman/listinfo/gconf-list. --- gconf-1.0.9.orig/aclocal.m4 +++ gconf-1.0.9/aclocal.m4 @@ -1,4 +1,4 @@ -dnl aclocal.m4 generated automatically by aclocal 1.4-p5 +dnl aclocal.m4 generated automatically by aclocal 1.4-p6 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation @@ -351,48 +351,907 @@ ]) -# Search path for a program which passes the given test. -# Ulrich Drepper , 1996. -# -# This file can be copied and used freely without restrictions. It can -# be used in projects which are not available under the GNU General Public -# License or the GNU Library General Public License but which still want -# to provide support for the GNU gettext functionality. -# Please note that the actual code of the GNU gettext library is covered -# by the GNU Library General Public License, and the rest of the GNU -# gettext package package is covered by the GNU General Public License. -# They are *not* in the public domain. +# lib-prefix.m4 serial 3 (gettext-0.12.2) +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't +dnl require excessive bracketing. +ifdef([AC_HELP_STRING], +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) + +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed +dnl to access previously installed libraries. The basic assumption is that +dnl a user will want packages to use other packages he previously installed +dnl with the same --prefix option. +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate +dnl libraries, but is otherwise very convenient. +AC_DEFUN([AC_LIB_PREFIX], +[ + AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_LIB_ARG_WITH([lib-prefix], +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib + --without-lib-prefix don't search for libraries in includedir and libdir], +[ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi +]) + if test $use_additional = yes; then + dnl Potentially add $additional_includedir to $CPPFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's already present in $CPPFLAGS, + dnl 3. if it's /usr/local/include and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + for x in $CPPFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $CPPFLAGS. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" + fi + fi + fi + fi + dnl Potentially add $additional_libdir to $LDFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's already present in $LDFLAGS, + dnl 3. if it's /usr/local/lib and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + for x in $LDFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LDFLAGS. + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" + fi + fi + fi + fi + fi +]) + +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, +dnl acl_final_exec_prefix, containing the values to which $prefix and +dnl $exec_prefix will expand at the end of the configure script. +AC_DEFUN([AC_LIB_PREPARE_PREFIX], +[ + dnl Unfortunately, prefix and exec_prefix get only finally determined + dnl at the end of configure. + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" +]) + +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the +dnl variables prefix and exec_prefix bound to the values they will have +dnl at the end of the configure script. +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], +[ + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + $1 + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" +]) + +# lib-link.m4 serial 4 (gettext-0.12) +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and +dnl the libraries corresponding to explicit and implicit dependencies. +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and +dnl augments the CPPFLAGS variable. +AC_DEFUN([AC_LIB_LINKFLAGS], +[ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + ac_cv_lib[]Name[]_libs="$LIB[]NAME" + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" + ac_cv_lib[]Name[]_cppflags="$INC[]NAME" + ]) + LIB[]NAME="$ac_cv_lib[]Name[]_libs" + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" + INC[]NAME="$ac_cv_lib[]Name[]_cppflags" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the + dnl results of this search when this library appears as a dependency. + HAVE_LIB[]NAME=yes + undefine([Name]) + undefine([NAME]) +]) + +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) +dnl searches for libname and the libraries corresponding to explicit and +dnl implicit dependencies, together with the specified include files and +dnl the ability to compile and link the specified testcode. If found, it +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], +[ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME + dnl accordingly. + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, + dnl because if the user has installed lib[]Name and not disabled its use + dnl via --without-lib[]Name-prefix, he wants to use it. + ac_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ + ac_save_LIBS="$LIBS" + LIBS="$LIBS $LIB[]NAME" + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) + LIBS="$ac_save_LIBS" + ]) + if test "$ac_cv_lib[]Name" = yes; then + HAVE_LIB[]NAME=yes + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) + AC_MSG_CHECKING([how to link with lib[]$1]) + AC_MSG_RESULT([$LIB[]NAME]) + else + HAVE_LIB[]NAME=no + dnl If $LIB[]NAME didn't lead to a usable library, we don't need + dnl $INC[]NAME either. + CPPFLAGS="$ac_save_CPPFLAGS" + LIB[]NAME= + LTLIB[]NAME= + fi + AC_SUBST([HAVE_LIB]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + undefine([Name]) + undefine([NAME]) +]) + +dnl Determine the platform dependent parameters needed to use rpath: +dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, +dnl hardcode_direct, hardcode_minus_L. +AC_DEFUN([AC_LIB_RPATH], +[ + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + ]) + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + dnl Determine whether the user wants rpath handling at all. + AC_ARG_ENABLE(rpath, + [ --disable-rpath do not hardcode runtime library paths], + :, enable_rpath=yes) +]) + +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and +dnl the libraries corresponding to explicit and implicit dependencies. +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. +AC_DEFUN([AC_LIB_LINKFLAGS_BODY], +[ + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_LIB_ARG_WITH([lib$1-prefix], +[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib + --without-lib$1-prefix don't search for lib$1 in includedir and libdir], +[ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi +]) + dnl Search the library and its dependencies in $additional_libdir and + dnl $LDFLAGS. Using breadth-first-seach. + LIB[]NAME= + LTLIB[]NAME= + INC[]NAME= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='$1 $2' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS + dnl or AC_LIB_HAVE_LINKFLAGS call. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" + else + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined + dnl that this library doesn't exist. So just drop it. + : + fi + else + dnl Search the library lib$name in $additional_libdir and $LDFLAGS + dnl and the already constructed $LIBNAME/$LTLIBNAME. + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + dnl Found the library. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + dnl Linking with a shared library. We attempt to hardcode its + dnl directory into the executable's runpath, unless it's the + dnl standard /usr/lib. + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + dnl No hardcoding is needed. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + dnl The hardcoding into $LIBNAME is system dependent. + if test "$hardcode_direct" = yes; then + dnl Using DIR/libNAME.so during linking hardcodes DIR into the + dnl resulting binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + dnl Rely on "-L$found_dir". + dnl But don't add it if it's already contained in the LDFLAGS + dnl or the already constructed $LIBNAME + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH + dnl here, because this doesn't fit in flags passed to the + dnl compiler. So give up. No hardcoding. This affects only + dnl very old systems. + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + dnl Linking with a static library. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" + else + dnl We shouldn't come here, but anyway it's good to have a + dnl fallback. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" + fi + fi + dnl Assume the include files are nearby. + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + dnl Potentially add $additional_includedir to $INCNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's /usr/local/include and we are using GCC on Linux, + dnl 3. if it's already present in $CPPFLAGS or the already + dnl constructed $INCNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INC[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $INCNAME. + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + dnl Look for dependencies. + if test -n "$found_la"; then + dnl Read the .la file. It defines the variables + dnl dlname, library_names, old_library, dependency_libs, current, + dnl age, revision, installed, dlopen, dlpreopen, libdir. + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + dnl We use only dependency_libs. + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's /usr/local/lib and we are using GCC on Linux, + dnl 3. if it's already present in $LDFLAGS or the already + dnl constructed $LIBNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LIBNAME. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LTLIBNAME. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + dnl Handle this in the next round. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + dnl Handle this in the next round. Throw away the .la's + dnl directory; it is already contained in a preceding -L + dnl option. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + dnl Most likely an immediate library name. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" + ;; + esac + done + fi + else + dnl Didn't find the library; assume it is in the system directories + dnl known to the linker and runtime loader. (All the system + dnl directories known to the linker should also be known to the + dnl runtime loader, otherwise the system is severely misconfigured.) + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + dnl Weird platform: only the last -rpath option counts, the user must + dnl pass all path elements in one option. We can arrange that for a + dnl single library, but not when more than one $LIBNAMEs are used. + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + else + dnl The -rpath options are cumulative. + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + dnl When using libtool, the option that works for both libraries and + dnl executables is -R. The -R options are cumulative. + for found_dir in $ltrpathdirs; do + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" + done + fi +]) + +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, +dnl unless already present in VAR. +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes +dnl contains two or three consecutive elements that belong together. +AC_DEFUN([AC_LIB_APPENDTOVAR], +[ + for element in [$2]; do + haveit= + for x in $[$1]; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + [$1]="${[$1]}${[$1]:+ }$element" + fi + done +]) -# serial 2 +# lib-ld.m4 serial 2 (gettext-0.12) +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl Subroutines of libtool.m4, +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision +dnl with libtool.m4. + +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. +AC_DEFUN([AC_LIB_PROG_LD_GNU], +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, +[# I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 &5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi]) +with_gnu_ld=$acl_cv_prog_gnu_ld +]) + +dnl From libtool-1.4. Sets the variable LD. +AC_DEFUN([AC_LIB_PROG_LD], +[AC_ARG_WITH(gnu-ld, +[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by GCC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]* | [A-Za-z]:[\\/]*)] + [re_direlt='/[^/][^/]*/\.\./'] + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(acl_cv_path_LD, +[if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi]) +LD="$acl_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT($LD) +else + AC_MSG_RESULT(no) +fi +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +AC_LIB_PROG_LD_GNU +]) + +# progtest.m4 serial 3 (gettext-0.12) +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1996. + +# Search path for a program which passes the given test. dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN([AM_PATH_PROG_WITH_TEST], -[# Extract the first word of "$2", so it can be a program name with args. +[ +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in - /*) - ac_cv_path_$1="[$]$1" # Let the user override the test with a path. - ;; + [[\\/]]* | ?:[[\\/]]*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in ifelse([$5], , $PATH, [$5]); do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if [$3]; then - ac_cv_path_$1="$ac_dir/$ac_word" - break - fi - fi - done - IFS="$ac_save_ifs" + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in ifelse([$5], , $PATH, [$5]); do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl - ;; + ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then @@ -403,7 +1262,16 @@ AC_SUBST($1)dnl ]) -#serial 1 +# isc-posix.m4 serial 2 (gettext-0.11.2) +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +# This file is not needed with autoconf-2.53 and newer. Remove it in 2005. + # This test replaces the one in autoconf. # Currently this macro should have the same name as the autoconf macro # because gettext's gettext.m4 (distributed in the automake package) @@ -421,30 +1289,38 @@ ] ) -# Check whether LC_MESSAGES is available in . -# Ulrich Drepper , 1995. -# -# This file can be copied and used freely without restrictions. It can -# be used in projects which are not available under the GNU General Public -# License or the GNU Library General Public License but which still want -# to provide support for the GNU gettext functionality. -# Please note that the actual code of the GNU gettext library is covered -# by the GNU Library General Public License, and the rest of the GNU -# gettext package package is covered by the GNU General Public License. -# They are *not* in the public domain. +# lcmessage.m4 serial 3 (gettext-0.11.3) +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995. -# serial 2 +# Check whether LC_MESSAGES is available in . AC_DEFUN([AM_LC_MESSAGES], - [if test $ac_cv_header_locale_h = yes; then - AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, - [AC_TRY_LINK([#include ], [return LC_MESSAGES], +[ + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, + [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) - if test $am_cv_val_LC_MESSAGES = yes; then - AC_DEFINE(HAVE_LC_MESSAGES, 1, - [Define if your file defines LC_MESSAGES.]) - fi - fi]) + if test $am_cv_val_LC_MESSAGES = yes; then + AC_DEFINE(HAVE_LC_MESSAGES, 1, + [Define if your file defines LC_MESSAGES.]) + fi +]) # Like AC_CONFIG_HEADER, but automatically create stamp file. @@ -479,7 +1355,8 @@ dnl AM_INIT_AUTOMAKE(package,version, [no-define]) AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_REQUIRE([AC_PROG_INSTALL]) +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL]) PACKAGE=[$1] AC_SUBST(PACKAGE) VERSION=[$2] @@ -495,13 +1372,42 @@ AC_REQUIRE([AC_ARG_PROGRAM]) dnl FIXME This is truly gross. missing_dir=`cd $ac_aux_dir && pwd` -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_REQUIRE([AC_PROG_MAKE_SET])]) +# Copyright 2002 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"]) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION so it can be traced. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], + [AM_AUTOMAKE_VERSION([1.4-p6])]) + # # Check to make sure that the build environment is sane. # @@ -685,6 +1591,7 @@ # libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- # serial 46 AC_PROG_LIBTOOL + AC_DEFUN([AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl @@ -710,6 +1617,8 @@ AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl +AC_REQUIRE([LT_AC_PROG_SED])dnl + AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl AC_REQUIRE([AC_OBJEXT])dnl @@ -810,9 +1719,30 @@ ]) +# AC_LIBTOOL_HEADER_ASSERT +# ------------------------ +AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT], +[AC_CACHE_CHECK([whether $CC supports assert without backlinking], + [lt_cv_func_assert_works], + [case $host in + *-*-solaris*) + if test "$GCC" = yes && test "$with_gnu_ld" != yes; then + case `$CC --version 2>/dev/null` in + [[12]].*) lt_cv_func_assert_works=no ;; + *) lt_cv_func_assert_works=yes ;; + esac + fi + ;; + esac]) + +if test "x$lt_cv_func_assert_works" = xyes; then + AC_CHECK_HEADERS(assert.h) +fi +])# AC_LIBTOOL_HEADER_ASSERT + # _LT_AC_CHECK_DLFCN # -------------------- -AC_DEFUN(_LT_AC_CHECK_DLFCN, +AC_DEFUN([_LT_AC_CHECK_DLFCN], [AC_CHECK_HEADERS(dlfcn.h) ])# _LT_AC_CHECK_DLFCN @@ -830,10 +1760,10 @@ # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. -[symcode='[BCDEGRST]'] +symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. -[sympat='\([_A-Za-z][_A-Za-z0-9]*\)'] +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Transform the above into a raw symbol and a C symbol. symxfrm='\1 \2\3 \3' @@ -841,25 +1771,32 @@ # Transform an extracted symbol line into a proper C declaration lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + # Define system-specific variables. case $host_os in aix*) - [symcode='[BCDT]'] + symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32*) - [symcode='[ABCDGISTW]'] + symcode='[[ABCDGISTW]]' ;; hpux*) # Its linker distinguishes data from code symbols lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; -irix*) - [symcode='[BCDEGRST]'] +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' ;; solaris* | sysv5*) - [symcode='[BDT]'] + symcode='[[BDT]]' ;; sysv4) - [symcode='[DFNSTU]'] + symcode='[[DFNSTU]]' ;; esac @@ -873,14 +1810,14 @@ # If we're using GNU nm, then use its standard symbol codes. if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - [symcode='[ABCDGISTW]'] + symcode='[[ABCDGISTW]]' fi # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Write the raw and C identifiers. -[lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"] +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no @@ -922,23 +1859,23 @@ cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ -# define lt_ptr_t void * +# define lt_ptr void * #else -# define lt_ptr_t char * +# define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; - lt_ptr_t address; + lt_ptr address; } -[lt_preloaded_symbols[] =] +lt_preloaded_symbols[[]] = { EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr_t) 0} + {0, (lt_ptr) 0} }; #ifdef __cplusplus @@ -951,7 +1888,7 @@ save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$no_builtin_flag" - if AC_TRY_EVAL(ac_link) && test -s conftest; then + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS="$save_LIBS" @@ -982,10 +1919,13 @@ global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" if test -z "$lt_cv_sys_global_symbol_pipe"; then global_symbol_to_cdecl= + global_symbol_to_c_name_address= else global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" fi -if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; +then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) @@ -1003,16 +1943,17 @@ *-DOS) lt_cv_sys_path_separator=';' ;; *) lt_cv_sys_path_separator=':' ;; esac + PATH_SEPARATOR=$lt_cv_sys_path_separator fi ])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR # _LT_AC_PROG_ECHO_BACKSLASH # -------------------------- # Add some code to the start of the generated configure script which -# will find an echo command which doesn;t interpret backslashes. +# will find an echo command which doesn't interpret backslashes. AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) + [AC_DIVERT_PUSH(NOTICE)]) _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR # Check that we are running under the correct shell. @@ -1078,7 +2019,7 @@ # # So, first we look for a working echo in the user's PATH. - IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}" + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && @@ -1167,7 +2108,7 @@ # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ------------------------------------------------------------------ -AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF, +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], [if test "$cross_compiling" = yes; then : [$4] else @@ -1254,7 +2195,7 @@ # AC_LIBTOOL_DLOPEN_SELF # ------------------- -AC_DEFUN(AC_LIBTOOL_DLOPEN_SELF, +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown @@ -1276,16 +2217,22 @@ ;; *) - AC_CHECK_LIB(dl, dlopen, [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], - [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen", - [AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load", - [AC_CHECK_LIB(svld, dlopen, - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], - [AC_CHECK_LIB(dld, shl_load, - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) + ]) ]) - ]) - ]) + ]) + ]) ]) ;; esac @@ -1348,10 +2295,10 @@ # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e s/^X//' -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] +sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g' # Same as above, but do not quote variable references. -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] +double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. @@ -1420,8 +2367,15 @@ old_postuninstall_cmds= if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" fi # Allow CC to be a program name with arguments. @@ -1441,7 +2395,7 @@ AC_MSG_RESULT($objdir) -AC_ARG_WITH(pic, +AC_ARG_WITH(pic, [ --with-pic try to use only PIC/non-PIC objects [default=use both]], pic_mode="$withval", pic_mode=default) test -z "$pic_mode" && pic_mode=default @@ -1469,7 +2423,7 @@ # libC (AIX C++ library), which obviously doesn't included in libraries # list by gcc. This cause undefined symbols with -static flags. # This hack allows C programs to be linked with "-static -ldl", but - # we not sure about C++ programs. + # not sure about C++ programs. lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" ;; amigaos*) @@ -1478,7 +2432,7 @@ # like `-m68040'. lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' ;; - beos* | irix5* | irix6* | osf3* | osf4* | osf5*) + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; darwin* | rhapsody*) @@ -1504,13 +2458,13 @@ # PORTME Check for PIC flags for the system compiler. case $host_os in aix3* | aix4* | aix5*) + lt_cv_prog_cc_wl='-Wl,' # All AIX code is PIC. if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' + # AIX 5 now supports IA64 processor + lt_cv_prog_cc_static='-Bstatic' else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' fi ;; @@ -1521,7 +2475,7 @@ lt_cv_prog_cc_pic='+Z' ;; - irix5* | irix6*) + irix5* | irix6* | nonstopux*) lt_cv_prog_cc_wl='-Wl,' lt_cv_prog_cc_static='-non_shared' # PIC (with -KPIC) is the default. @@ -1565,11 +2519,7 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) lt_cv_prog_cc_pic='-KPIC' lt_cv_prog_cc_static='-Bstatic' - if test "x$host_vendor" = xsni; then - lt_cv_prog_cc_wl='-LD' - else - lt_cv_prog_cc_wl='-Wl,' - fi + lt_cv_prog_cc_wl='-Wl,' ;; uts4*) @@ -1635,7 +2585,7 @@ # Check for any special shared library compilation flags. if test -n "$lt_cv_prog_cc_shlib"; then AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries]) - if echo "$old_CC $old_CFLAGS " | [egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]"] >/dev/null; then : + if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then : else AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure]) lt_cv_prog_cc_can_build_shared=no @@ -1711,6 +2661,8 @@ lt_cv_compiler_o_lo=no save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -c -o conftest.lo" + save_objext="$ac_objext" + ac_objext=lo AC_TRY_COMPILE([], [int some_variable = 0;], [dnl # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -1720,6 +2672,7 @@ lt_cv_compiler_o_lo=yes fi ]) + ac_objext="$save_objext" CFLAGS="$save_CFLAGS" ]) compiler_o_lo=$lt_cv_compiler_o_lo @@ -1816,7 +2769,7 @@ extract_expsyms_cmds= case $host_os in -cygwin* | mingw* | pw32* ) +cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. @@ -1824,7 +2777,9 @@ with_gnu_ld=no fi ;; - +openbsd*) + with_gnu_ld=no + ;; esac ld_shlibs=yes @@ -1911,7 +2866,7 @@ # can override, but on older systems we have to supply one (in ltdll.c) if test "x$lt_cv_need_dllmain" = "xyes"; then ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~ + ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' else ltdll_obj= @@ -1924,24 +2879,25 @@ # Be careful not to strip the DATA tag left be newer dlltools. export_symbols_cmds="$ltdll_cmds"' $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - [sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//"] < $output_objdir/$soname-def > $export_symbols' + sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname-def; else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \[$]# in - 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; + echo EXPORTS > $output_objdir/$soname-def; + _lt_hint=1; + cat $export_symbols | while read symbol; do + set dummy \$symbol; + case \[$]# in + 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; + 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; + *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; + esac; + _lt_hint=`expr 1 + \$_lt_hint`; + done; fi~ '"$ltdll_cmds"' $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ @@ -2036,80 +2992,98 @@ ;; aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + hardcode_direct=yes archive_cmds='' hardcode_libdir_separator=':' if test "$GCC" = yes; then - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi + case $host_os in aix4.[[012]]|aix4.[[012]].*) + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + shared_flag='-shared' else + # not using gcc if test "$host_cpu" = ia64; then - shared_flag='-G' + shared_flag='${wl}-G' else - shared_flag='${wl}-bM:SRE' + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi fi - hardcode_direct=yes fi - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # Test if we are trying to use run time linking, or normal AIX style linking. - # If -brtl is somewhere in LDFLAGS, we need to do run time linking. - aix_use_runtimelinking=no - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then - aix_use_runtimelinking=yes - break - fi - done - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi # It seems that -bexpall can do strange things, so it is better to # generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - allow_undefined_flag=' -Wl,-G' - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-znodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, -berok will - # link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='${wl}-berok' + # This is a bit strange, but is similar to how AIX traditionally builds + # it's shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; @@ -2141,11 +3115,19 @@ ;; darwin* | rhapsody*) - allow_undefined_flag='-undefined suppress' + case "$host_os" in + rhapsody* | darwin1.[[012]]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. - archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes @@ -2197,13 +3179,14 @@ export_dynamic_flag_spec='${wl}-E' ;; - irix5* | irix6*) + irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='-rpath $libdir' fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: link_all_deplibs=yes ;; @@ -2220,7 +3203,7 @@ ;; newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts' + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: @@ -2228,10 +3211,24 @@ ;; openbsd*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case "$host_os" in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi ;; os2*) @@ -2276,10 +3273,39 @@ hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes + export_dynamic_flag_spec='${wl}-Bexport' ;; solaris*) + # gcc --version < 3.0 without binutils cannot create self contained + # shared libraries reliably, requiring libgcc.a to resolve some of + # the object symbols generated in some cases. Libraries that use + # assert need libgcc.a to resolve __eprintf, for example. Linking + # a copy of libgcc.a into every shared library to guarantee resolving + # such symbols causes other problems: According to Tim Van Holder + # , C++ libraries end up with a separate + # (to the application) exception stack for one thing. no_undefined_flag=' -z defs' + if test "$GCC" = yes; then + case `$CC --version 2>/dev/null` in + [[12]].*) + cat <&2 + +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably +*** create self contained shared libraries on Solaris systems, without +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling +*** -no-undefined support, which will at least allow you to build shared +*** libraries. However, you may find that when you link such libraries +*** into an application without using GCC, you have to manually add +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to +*** upgrade to a newer version of GCC. Another option is to rebuild your +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. + +EOF + no_undefined_flag= + ;; + esac + fi # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' @@ -2288,7 +3314,7 @@ hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in - [solaris2.[0-5] | solaris2.[0-5].*]) ;; + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; esac @@ -2310,13 +3336,23 @@ ;; sysv4) - if test "x$host_vendor" = xsno; then - archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts' - hardcode_direct=yes # is this really true??? - else - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - fi + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; @@ -2457,6 +3493,9 @@ aix4* | aix5*) version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' @@ -2468,22 +3507,24 @@ # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in - [ aix4 | aix4.[01] | aix4.[01].*)] - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. + # AIX (on Power*) has no versioning support, so currently we can + # not hardcode correct soname into executable. Probably we can + # add versioning support to collect2, so additional links can + # be useful in future. if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so instead of - # lib.a to let people know that these are not typical AIX shared libraries. + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' else # We preserve .a as extension for shared libraries through AIX4.2 @@ -2492,14 +3533,14 @@ soname_spec='${libname}${release}.so$major' fi shlibpath_var=LIBPATH - deplibs_check_method=pass_all fi + hardcode_into_libs=yes ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | [$Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\'']`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' ;; beos*) @@ -2530,7 +3571,7 @@ case $GCC,$host_os in yes,cygwin*) library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ @@ -2540,14 +3581,14 @@ $rm \$dlpath' ;; yes,mingw*) - library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` ;; yes,pw32*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' ;; *) - library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll $libname.lib' + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' @@ -2573,6 +3614,18 @@ dynamic_linker=no ;; +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU/FreeBSD ld.so' + ;; + freebsd*) objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat @@ -2624,14 +3677,17 @@ postinstall_cmds='chmod 555 $lib' ;; -irix5* | irix6*) - version_type=irix +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) version_type=irix ;; + esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' case $host_os in - irix5*) + irix5* | nonstopux*) libsuff= shlibsuff= ;; *) @@ -2705,9 +3761,19 @@ openbsd*) version_type=sunos - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - need_version=no + need_lib_prefix=no + need_version=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case "$host_os" in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes fi library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' @@ -2725,11 +3791,13 @@ osf3* | osf4* | osf5*) version_type=osf need_version=no - soname_spec='${libname}${release}.so' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' + need_lib_prefix=no + soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + hardcode_into_libs=yes ;; sco3.2v5*) @@ -2772,6 +3840,12 @@ case $host_vendor in sni) shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no ;; motorola) need_lib_prefix=no @@ -2818,6 +3892,33 @@ AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) +AC_MSG_CHECKING([whether to build shared libraries]) +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; +esac +AC_MSG_RESULT([$enable_shared]) + +AC_MSG_CHECKING([whether to build static libraries]) +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +AC_MSG_RESULT([$enable_static]) + if test "$hardcode_action" = relink; then # Fast installation is not supported enable_fast_install=no @@ -2899,7 +4000,7 @@ # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS \ + for var in echo old_CC old_CFLAGS SED \ AR AR_FLAGS CC LD LN_S NM SHELL \ reload_flag reload_cmds wl \ pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ @@ -2911,6 +4012,7 @@ old_striplib striplib file_magic_cmd export_symbols_cmds \ deplibs_check_method allow_undefined_flag no_undefined_flag \ finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ + global_symbol_to_c_name_address \ hardcode_libdir_flag_spec hardcode_libdir_separator \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do @@ -2960,8 +4062,11 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. +# A sed that does not truncate output. +SED=$lt_SED + # Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="sed -e s/^X//" +Xsed="${SED} -e s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. @@ -2977,12 +4082,12 @@ # Whether or not to build shared libraries. build_libtool_libs=$enable_shared -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc - # Whether or not to build static libraries. build_old_libs=$enable_static +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$need_lc + # Whether or not to optimize for fast installation. fast_install=$enable_fast_install @@ -3148,6 +4253,9 @@ # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address + # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -3270,9 +4378,9 @@ # return TRUE; # } # /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments + # This is a source program that is used to create import libraries + # on Windows for dlls which lack them. Don't remove nor modify the + # starting and closing comments # /* impgen.c starts here */ # /* Copyright (C) 1999-2000 Free Software Foundation, Inc. # @@ -3627,6 +4735,7 @@ AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. @@ -3640,8 +4749,8 @@ esac case $ac_prog in # Accept absolute paths. - [[\\/]* | [A-Za-z]:[\\/]*)] - [re_direlt='/[^/][^/]*/\.\./'] + [[\\/]]* | [[A-Za-z]]:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do @@ -3665,7 +4774,7 @@ fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then @@ -3718,7 +4827,7 @@ # AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies # -- PORTME fill in with the dynamic library characteristics AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], -[AC_CACHE_CHECK([how to recognise dependant libraries], +[AC_CACHE_CHECK([how to recognise dependent libraries], lt_cv_deplibs_check_method, [lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= @@ -3729,7 +4838,7 @@ # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. -# ['file_magic [regex]'] -- check by looking for files in library path +# 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given egrep regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. @@ -3744,7 +4853,7 @@ ;; bsdi4*) - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'] + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; @@ -3758,7 +4867,7 @@ lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in - rhapsody* | darwin1.[012]) + rhapsody* | darwin1.[[012]]) lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` ;; *) # Darwin 1.3 on @@ -3773,7 +4882,7 @@ i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. - [lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'] + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; @@ -3788,14 +4897,14 @@ ;; hpux10.20*|hpux11*) - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'] + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; -irix5* | irix6*) +irix5* | irix6* | nonstopux*) case $host_os in - irix5*) + irix5* | nonstopux*) # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ;; @@ -3807,7 +4916,7 @@ *) libmagic=never-match;; esac # this will be overridden with pass_all, but let us keep it just in case - [lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"] + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" ;; esac lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` @@ -3817,29 +4926,39 @@ # This must be Linux ELF. linux-gnu*) case $host_cpu in - alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* ) + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;] + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; esac lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'] + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' else - [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'] + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$' fi ;; newos6*) - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'] + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; +openbsd*) + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' + else + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + fi + ;; + osf3* | osf4* | osf5*) # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' @@ -3856,14 +4975,14 @@ lt_cv_file_magic_test_file=/lib/libc.so ;; -[sysv5uw[78]* | sysv4*uw2*)] +sysv5uw[[78]]* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'] + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) @@ -3871,13 +4990,16 @@ ;; sequent) lt_cv_file_magic_cmd='/bin/file' - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'] + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' - [lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"] + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; esac ;; esac @@ -3889,13 +5011,14 @@ # AC_PROG_NM - find the path to a BSD-compatible name lister AC_DEFUN([AC_PROG_NM], -[AC_MSG_CHECKING([for BSD-compatible nm]) +[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl +AC_MSG_CHECKING([for BSD-compatible nm]) AC_CACHE_VAL(lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/${ac_tool_prefix}nm @@ -3942,12 +5065,12 @@ ]) # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl convenience library and INCLTDL to the include flags for +# the libltdl convenience library and LTDLINCL to the include flags for # the libltdl header and adds --enable-ltdl-convenience to the -# configure arguments. Note that LIBLTDL and INCLTDL are not +# configure arguments. Note that LIBLTDL and LTDLINCL are not # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not # provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed -# with '${top_builddir}/' and INCLTDL will be prefixed with +# with '${top_builddir}/' and LTDLINCL will be prefixed with # '${top_srcdir}/' (note the single quotes!). If your package is not # flat and you're not using automake, define top_builddir and # top_srcdir appropriately in the Makefiles. @@ -3959,16 +5082,18 @@ ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; esac LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" ]) # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl installable library and INCLTDL to the include flags for +# the libltdl installable library and LTDLINCL to the include flags for # the libltdl header and adds --enable-ltdl-install to the configure -# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is +# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is # AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed # libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will -# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed # with '${top_srcdir}/' (note the single quotes!). If your package is # not flat and you're not using automake, define top_builddir and # top_srcdir appropriately in the Makefiles. @@ -3986,12 +5111,14 @@ if test x"$enable_ltdl_install" = x"yes"; then ac_configure_args="$ac_configure_args --enable-ltdl-install" LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) else ac_configure_args="$ac_configure_args --enable-ltdl-install=no" LIBLTDL="-lltdl" - INCLTDL= + LTDLINCL= fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" ]) # old names @@ -4006,6 +5133,95 @@ # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +# LT_AC_PROG_SED +# -------------- +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +AC_DEFUN([LT_AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_executable_p="test -f" +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" + fi + done + done +done + + # Create a temporary directory, and hook for its removal unless debugging. +$debug || +{ + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} + +# Create a (secure) tmp directory for tmp files. +: ${TMPDIR=/tmp} +{ + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=$TMPDIR/sed$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in $TMPDIR" >&2 + { (exit 1); exit 1; } +} + _max=0 + _count=0 + # Add /usr/xpg4/bin/sed as it is typically found on Solaris + # along with /bin/sed that truncates output. + for _sed in $_sed_list /usr/xpg4/bin/sed; do + test ! -f ${_sed} && break + cat /dev/null > "$tmp/sed.in" + _count=0 + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" + # Check for GNU sed and select it if it is found. + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then + lt_cv_path_SED=${_sed} + break + fi + while true; do + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" + mv "$tmp/sed.tmp" "$tmp/sed.in" + cp "$tmp/sed.in" "$tmp/sed.nl" + echo >>"$tmp/sed.nl" + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break + # 40000 chars as input seems more than enough + test $_count -gt 10 && break + _count=`expr $_count + 1` + if test $_count -gt $_max; then + _max=$_count + lt_cv_path_SED=$_sed + fi + done + done + rm -rf "$tmp" +]) +if test "X$SED" != "X"; then + lt_cv_path_SED=$SED +else + SED=$lt_cv_path_SED +fi +AC_MSG_RESULT([$SED]) +]) + # Configure paths for GLIB # Owen Taylor 97-11-3 --- gconf-1.0.9.orig/config.guess +++ gconf-1.0.9/config.guess @@ -1,9 +1,9 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# Free Software Foundation, Inc. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. -timestamp='2001-04-20' +timestamp='2003-10-07' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -24,8 +24,9 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. -# Written by Per Bothner . -# Please send patches to . +# Originally written by Per Bothner . +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and @@ -52,7 +53,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99, 2000 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO @@ -87,33 +88,45 @@ exit 1 fi +trap 'exit 1' 1 2 15 -dummy=dummy-$$ -trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. -# CC_FOR_BUILD -- compiler used by this script. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int dummy(){}" > $dummy.c - for c in cc gcc c89 ; do - ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 - if test $? = 0 ; then - CC_FOR_BUILD="$c"; break - fi - done - rm -f $dummy.c $dummy.o $dummy.rel + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found + CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac +esac ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 8/24/94.) +# (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi @@ -127,29 +140,31 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) - # Netbsd (nbsd) targets should (where applicable) match one or + # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. - # Determine the machine/vendor (is the vendor relevant). - case "${UNAME_MACHINE}" in - amiga) machine=m68k-unknown ;; - arm32) machine=arm-unknown ;; - atari*) machine=m68k-atari ;; - sun3*) machine=m68k-sun ;; - mac68k) machine=m68k-apple ;; - macppc) machine=powerpc-apple ;; - hp3[0-9][05]) machine=m68k-hp ;; - ibmrt|romp-ibm) machine=romp-ibm ;; - *) machine=${UNAME_MACHINE}-unknown ;; + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. - case "${UNAME_MACHINE}" in - i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k) + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then @@ -165,71 +180,112 @@ ;; esac # The OS release - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit 0 ;; + amiga:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + arc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + hp300:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mac68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + macppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvmeppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + pmax:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sgi:OpenBSD:*:*) + echo mipseb-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sun3:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + wgrisc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + *:OpenBSD:*:*) + echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; alpha:OSF1:*:*) if test $UNAME_RELEASE = "V4.0"; then UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` fi + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - cat <$dummy.s - .data -\$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main -main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - esac - fi - rm -f $dummy.s $dummy echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; + Alpha*:OpenVMS:*:*) + echo alpha-hp-vms + exit 0 ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead @@ -242,29 +298,11 @@ Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit 0;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit 0 ;; - arc64:OpenBSD:*:*) - echo mips64el-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hkmips:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos exit 0 ;; *:OS/390:*:*) echo i370-ibm-openedition @@ -286,6 +324,13 @@ NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit 0 ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit 0 ;; + DRS?6000:UNIX_SV:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7 && exit 0 ;; + esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; @@ -314,7 +359,7 @@ echo m68k-sun-sunos${UNAME_RELEASE} exit 0 ;; sun*:*:4.2BSD:*) - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) @@ -328,9 +373,6 @@ aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit 0 ;; - atari*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor @@ -357,18 +399,6 @@ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit 0 ;; - sun3*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit 0 ;; @@ -385,6 +415,7 @@ echo clipper-intergraph-clix${UNAME_RELEASE} exit 0 ;; mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ @@ -406,15 +437,20 @@ exit (-1); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy \ - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c \ + && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ + && exit 0 echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit 0 ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit 0 ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit 0 ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit 0 ;; @@ -475,6 +511,7 @@ exit 0 ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include @@ -486,8 +523,7 @@ exit(0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo rs6000-ibm-aix3.2.5 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 @@ -496,7 +532,7 @@ fi exit 0 ;; *:AIX:*:[45]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else @@ -536,10 +572,8 @@ 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) - case "${HPUX_REV}" in - 11.[0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 @@ -548,12 +582,13 @@ case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac - fi ;; - esac - if [ "${HP_ARCH}" = "" ]; then - sed 's/^ //' << EOF >$dummy.c + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include @@ -586,11 +621,21 @@ exit (0); } EOF - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` - if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi - rm -f $dummy.c $dummy - fi ;; + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + # avoid double evaluation of $set_cc_for_build + test -n "$CC_FOR_BUILD" || eval $set_cc_for_build + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; ia64:HP-UX:*:*) @@ -598,6 +643,7 @@ echo ia64-hp-hpux${HPUX_REV} exit 0 ;; 3050*:HI-UX:*:*) + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int @@ -623,8 +669,7 @@ exit (0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo unknown-hitachi-hiuxwe2 exit 0 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) @@ -633,7 +678,7 @@ 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit 0 ;; - *9??*:MPE/iX:*:*) + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit 0 ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) @@ -652,9 +697,6 @@ parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit 0 ;; - hppa*:OpenBSD:*:*) - echo hppa-unknown-openbsd - exit 0 ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit 0 ;; @@ -673,41 +715,33 @@ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit 0 ;; - CRAY*X-MP:*:*:*) - echo xmp-cray-unicos - exit 0 ;; CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; - CRAY*T3D:*:*:*) - echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; - CRAY-2:*:*:*) - echo cray2-cray-unicos - exit 0 ;; + *:UNICOS/mp:*:*) + echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; @@ -718,10 +752,21 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + # Determine whether the default compiler uses glibc. + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #if __GLIBC__ >= 2 + LIBC=gnu + #else + LIBC= + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + # GNU/KFreeBSD systems have a "k" prefix to indicate we are using + # FreeBSD's kernel, but not the complete OS. + case ${LIBC} in gnu) kernel_only='k' ;; esac + echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -732,11 +777,17 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit 0 ;; + x86:Interix*:[34]*) + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' + exit 0 ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit 0 ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? - echo i386-pc-interix + echo i586-pc-interix exit 0 ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin @@ -748,112 +799,84 @@ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; *:GNU:*:*) + # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit 0 ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit 0 ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit 0 ;; ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux + echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; mips:Linux:*:*) - cat >$dummy.c < /* for printf() prototype */ -int main (int argc, char *argv[]) { -#else -int main (argc, argv) int argc; char *argv[]; { -#endif -#ifdef __MIPSEB__ - printf ("%s-unknown-linux-gnu\n", argv[1]); -#endif -#ifdef __MIPSEL__ - printf ("%sel-unknown-linux-gnu\n", argv[1]); -#endif - return 0; -} + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mipsel + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips + #else + CPU= + #endif + #endif EOF - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 ;; - ppc:Linux:*:*) - # Determine Lib Version - cat >$dummy.c < -#if defined(__GLIBC__) -extern char __libc_version[]; -extern char __libc_release[]; -#endif -main(argc, argv) - int argc; - char *argv[]; -{ -#if defined(__GLIBC__) - printf("%s %s\n", __libc_version, __libc_release); -#else - printf("unknown\n"); -#endif - return 0; -} + mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips64 + #undef mips64el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mips64el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips64 + #else + CPU= + #endif + #endif EOF - LIBC="" - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null - if test "$?" = 0 ; then - ./$dummy | grep 1\.99 > /dev/null - if test "$?" = 0 ; then LIBC="libc1" ; fi - fi - rm -f $dummy.c $dummy - echo powerpc-unknown-linux-gnu${LIBC} + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 + ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit 0 ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu exit 0 ;; alpha:Linux:*:*) - cat <$dummy.s - .data - \$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - .text - .globl main - .align 4 - .ent main - main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - LIBC="" - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) UNAME_MACHINE="alpha" ;; - 1-0) UNAME_MACHINE="alphaev5" ;; - 1-1) UNAME_MACHINE="alphaev56" ;; - 1-101) UNAME_MACHINE="alphapca56" ;; - 2-303) UNAME_MACHINE="alphaev6" ;; - 2-307) UNAME_MACHINE="alphaev67" ;; - esac - objdump --private-headers $dummy | \ - grep ld.so.1 > /dev/null - if test "$?" = 0 ; then - LIBC="libc1" - fi - fi - rm -f $dummy.s $dummy + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit 0 ;; parisc:Linux:*:* | hppa:Linux:*:*) @@ -870,6 +893,9 @@ s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit 0 ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; @@ -883,71 +909,62 @@ # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. - ld_supported_emulations=`cd /; ld --help 2>&1 \ - | sed -ne '/supported emulations:/!d + # Set LC_ALL=C to ensure ld outputs messages in English. + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ + | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g - s/.*supported emulations: *// + s/.*supported targets: *// s/ .*// p'` - case "$ld_supported_emulations" in - i*86linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 - ;; - elf_i*86) + case "$ld_supported_targets" in + elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; - i*86coff) + a.out-i386-linux) + echo "${UNAME_MACHINE}-pc-linux-gnuaout" + exit 0 ;; + coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit 0 - ;; - esac - # Either a pre-BFD a.out linker (linux-gnuoldld) - # or one that does not give us useful --help. - # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout. - # If ld does not provide *any* "supported emulations:" - # that means it is gnuoldld. - test -z "$ld_supported_emulations" && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0 - case "${UNAME_MACHINE}" in - i*86) - VENDOR=pc; - ;; - *) - VENDOR=unknown; - ;; + exit 0 ;; + "") + # Either a pre-BFD a.out linker (linux-gnuoldld) or + # one that does not give us useful --help. + echo "${UNAME_MACHINE}-pc-linux-gnuoldld" + exit 0 ;; esac # Determine whether the default compiler is a.out or elf - cat >$dummy.c < -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif -#ifdef __ELF__ -# ifdef __GLIBC__ -# if __GLIBC__ >= 2 - printf ("%s-${VENDOR}-linux-gnu\n", argv[1]); -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -#else - printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]); -#endif - return 0; -} + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #ifdef __ELF__ + # ifdef __GLIBC__ + # if __GLIBC__ >= 2 + LIBC=gnu + # else + LIBC=gnulibc1 + # endif + # else + LIBC=gnulibc1 + # endif + #else + #ifdef __INTEL_COMPILER + LIBC=gnu + #else + LIBC=gnuaout + #endif + #endif + #ifdef __dietlibc__ + LIBC=dietlibc + #endif EOF - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 ;; -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions -# are messed up and put the nodename in both sysname and nodename. i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. echo i386-sequent-sysv4 exit 0 ;; i*86:UNIX_SV:4.2MP:2.*) @@ -958,6 +975,23 @@ # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit 0 ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit 0 ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit 0 ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit 0 ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit 0 ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then @@ -966,36 +1000,32 @@ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit 0 ;; - i*86:*:5:7*) - # Fixed at (any) Pentium or better - UNAME_MACHINE=i586 - if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then - echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} - fi + i*86:*:5:[78]*) + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit 0 ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \ + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \ + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit 0 ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit 0 ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about @@ -1019,9 +1049,15 @@ # "miniframe" echo m68010-convergent-sysv exit 0 ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit 0 ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit 0 ;; M68*:*:R3V[567]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` @@ -1038,9 +1074,6 @@ mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit 0 ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; @@ -1067,8 +1100,8 @@ echo ns32k-sni-sysv fi exit 0 ;; - PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says echo i586-unisys-sysv4 exit 0 ;; *:UNIX_System_V:4*:FTX*) @@ -1080,6 +1113,10 @@ # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit 0 ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit 0 ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit 0 ;; @@ -1108,6 +1145,9 @@ SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit 0 ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit 0 ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit 0 ;; @@ -1115,18 +1155,24 @@ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Darwin:*:*) - echo `uname -p`-apple-darwin${UNAME_RELEASE} + case `uname -p` in + *86) UNAME_PROCESSOR=i686 ;; + powerpc) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit 0 ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) - if test "${UNAME_MACHINE}" = "x86pc"; then + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi - echo `uname -p`-${UNAME_MACHINE}-nto-qnx + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit 0 ;; *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; - NSR-[KW]:NONSTOP_KERNEL:*:*) + NSR-[DGKLNPTVWY]:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; *:NonStop-UX:*:*) @@ -1149,11 +1195,6 @@ fi echo ${UNAME_MACHINE}-unknown-plan9 exit 0 ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit 0 ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit 0 ;; @@ -1172,11 +1213,15 @@ *:ITS:*:*) echo pdp10-unknown-its exit 0 ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit 0 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 +eval $set_cc_for_build cat >$dummy.c < @@ -1291,8 +1336,7 @@ } EOF -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0 -rm -f $dummy.c $dummy +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 # Apollos put the system type in the environment. --- gconf-1.0.9.orig/config.h.in +++ gconf-1.0.9/config.h.in @@ -1,4 +1,45 @@ -/* config.h.in. Generated automatically from configure.in by autoheader. */ +/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */ + +/* Define if using alloca.c. */ +#undef C_ALLOCA + +/* Define to empty if the keyword does not work. */ +#undef const + +/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. + This function is required for alloca.c support on those systems. */ +#undef CRAY_STACKSEG_END + +/* Define if you have alloca, as a function or macro. */ +#undef HAVE_ALLOCA + +/* Define if you have and it should be used (not on Ultrix). */ +#undef HAVE_ALLOCA_H + +/* Define if you have a working `mmap' system call. */ +#undef HAVE_MMAP + +/* Define as __inline if that's what the C compiler calls it. */ +#undef inline + +/* Define to `long' if doesn't define. */ +#undef off_t + +/* Define to `unsigned' if doesn't define. */ +#undef size_t + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown + */ +#undef STACK_DIRECTION + +/* Define if you have the ANSI C header files. */ +#undef STDC_HEADERS + #undef PACKAGE #undef VERSION #undef HAVE_CATGETS @@ -10,157 +51,96 @@ #undef GETTEXT_PACKAGE #undef HAVE_DB3_DB_H -/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP - systems. This function is required for `alloca.c' support on those systems. - */ -#undef CRAY_STACKSEG_END - -/* Define if using `alloca.c'. */ -#undef C_ALLOCA - -/* Define if you have `alloca', as a function or macro. */ -#undef HAVE_ALLOCA - -/* Define if you have and it should be used (not on Ultrix). */ -#undef HAVE_ALLOCA_H +/* Define if you have the __argz_count function. */ +#undef HAVE___ARGZ_COUNT -/* Define if you have the header file. */ -#undef HAVE_ARGZ_H +/* Define if you have the __argz_next function. */ +#undef HAVE___ARGZ_NEXT -/* Define if you have the header file. */ -#undef HAVE_DB3_DB_H +/* Define if you have the __argz_stringify function. */ +#undef HAVE___ARGZ_STRINGIFY -/* Define if you have the `dcgettext' function. */ +/* Define if you have the dcgettext function. */ #undef HAVE_DCGETTEXT -/* Define if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Define if you have the `flockfile' function. */ +/* Define if you have the flockfile function. */ #undef HAVE_FLOCKFILE -/* Define if you have the `getcwd' function. */ +/* Define if you have the getcwd function. */ #undef HAVE_GETCWD -/* Define if you have the `getpagesize' function. */ +/* Define if you have the getpagesize function. */ #undef HAVE_GETPAGESIZE -/* Define if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define if your file defines LC_MESSAGES. */ -#undef HAVE_LC_MESSAGES - -/* Define if you have the `i' library (-li). */ -#undef HAVE_LIBI - -/* Define if you have the header file. */ -#undef HAVE_LIMITS_H - -/* Define if you have the header file. */ -#undef HAVE_LOCALE_H - -/* Define if you have the header file. */ -#undef HAVE_MALLOC_H - -/* Define if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define if you have a working `mmap' system call. */ -#undef HAVE_MMAP - -/* Define if you have the `munmap' function. */ +/* Define if you have the munmap function. */ #undef HAVE_MUNMAP -/* Define if you have the `nanosleep' function. */ +/* Define if you have the nanosleep function. */ #undef HAVE_NANOSLEEP -/* Define if you have the header file. */ -#undef HAVE_NL_TYPES_H - -/* Define if you have the `putenv' function. */ +/* Define if you have the putenv function. */ #undef HAVE_PUTENV -/* Define if you have the `setenv' function. */ +/* Define if you have the setenv function. */ #undef HAVE_SETENV -/* Define if you have the `setlocale' function. */ +/* Define if you have the setlocale function. */ #undef HAVE_SETLOCALE -/* Define if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define if you have the `stpcpy' function. */ +/* Define if you have the stpcpy function. */ #undef HAVE_STPCPY -/* Define if you have the `strcasecmp' function. */ +/* Define if you have the strcasecmp function. */ #undef HAVE_STRCASECMP -/* Define if you have the `strchr' function. */ +/* Define if you have the strchr function. */ #undef HAVE_STRCHR -/* Define if you have the `strdup' function. */ +/* Define if you have the strdup function. */ #undef HAVE_STRDUP -/* Define if you have the header file. */ -#undef HAVE_STRINGS_H +/* Define if you have the usleep function. */ +#undef HAVE_USLEEP -/* Define if you have the header file. */ -#undef HAVE_STRING_H +/* Define if you have the header file. */ +#undef HAVE_ARGZ_H -/* Define if you have the header file. */ -#undef HAVE_SYS_PARAM_H +/* Define if you have the header file. */ +#undef HAVE_DB_H -/* Define if you have the header file. */ -#undef HAVE_SYS_STAT_H +/* Define if you have the header file. */ +#undef HAVE_DLFCN_H -/* Define if you have the header file. */ -#undef HAVE_SYS_TYPES_H +/* Define if you have the header file. */ +#undef HAVE_LIMITS_H -/* Define if you have the header file. */ -#undef HAVE_UNISTD_H +/* Define if you have the header file. */ +#undef HAVE_LOCALE_H -/* Define if you have the `usleep' function. */ -#undef HAVE_USLEEP +/* Define if you have the header file. */ +#undef HAVE_MALLOC_H -/* Define if you have the `__argz_count' function. */ -#undef HAVE___ARGZ_COUNT +/* Define if you have the header file. */ +#undef HAVE_NL_TYPES_H -/* Define if you have the `__argz_next' function. */ -#undef HAVE___ARGZ_NEXT +/* Define if you have the header file. */ +#undef HAVE_STRING_H -/* Define if you have the `__argz_stringify' function. */ -#undef HAVE___ARGZ_STRINGIFY +/* Define if you have the header file. */ +#undef HAVE_SYS_PARAM_H -/* Name of package */ -#undef PACKAGE +/* Define if you have the header file. */ +#undef HAVE_UNISTD_H -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ -#undef STACK_DIRECTION +/* Define if you have the i library (-li). */ +#undef HAVE_LIBI -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS +/* Name of package */ +#undef PACKAGE /* Version number of package */ #undef VERSION -/* Define to empty if `const' does not conform to ANSI C. */ -#undef const - -/* Define as `__inline' if that's what the C compiler calls it, or to nothing - if it is not supported. */ -#undef inline - -/* Define to `long' if does not define. */ -#undef off_t +/* Define if your file defines LC_MESSAGES. */ +#undef HAVE_LC_MESSAGES -/* Define to `unsigned' if does not define. */ -#undef size_t --- gconf-1.0.9.orig/config.sub +++ gconf-1.0.9/config.sub @@ -1,9 +1,9 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# Free Software Foundation, Inc. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. -timestamp='2001-04-20' +timestamp='2003-10-07' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -29,7 +29,8 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. -# Please send patches to . +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. @@ -117,7 +118,7 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*) + nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -157,6 +158,14 @@ os=-vxworks basic_machine=$1 ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; -hiux*) os=-hiuxwe2 ;; @@ -215,26 +224,50 @@ case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. - tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \ - | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \ - | pyramid | mn10200 | mn10300 | tron | a29k \ - | 580 | i960 | h8300 \ - | x86 | ppcbe | mipsbe | mipsle | shbe | shle \ - | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ - | hppa64 \ - | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ - | alphaev6[78] \ - | we32k | ns16k | clipper | i370 | sh | sh[34] \ - | powerpc | powerpcle \ - | 1750a | dsp16xx | pdp10 | pdp11 \ - | mips16 | mips64 | mipsel | mips64el \ - | mips64orion | mips64orionel | mipstx39 | mipstx39el \ - | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ - | mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \ - | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \ - | v850 | c4x \ - | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \ - | pj | pjl | h8500) + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | m32r | m68000 | m68k | m88k | mcore \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64vr | mips64vrel \ + | mips64orion | mips64orionel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | msp430 \ + | ns16k | ns32k \ + | openrisc | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ + | strongarm \ + | tahoe | thumb | tic4x | tic80 | tron \ + | v850 | v850e \ + | we32k \ + | x86 | xscale | xstormy16 | xtensa \ + | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) @@ -242,7 +275,7 @@ basic_machine=$basic_machine-unknown os=-none ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65) + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; # We use `pc' rather than `unknown' @@ -257,31 +290,61 @@ exit 1 ;; # Recognize the basic CPU types with company name. - # FIXME: clean up the formatting here. - vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ - | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \ - | arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \ - | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ - | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ - | xmp-* | ymp-* \ - | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \ - | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ - | hppa2.0n-* | hppa64-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ - | alphaev6[78]-* \ - | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ - | clipper-* | orion-* \ - | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ - | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \ - | mips16-* | mips64-* | mipsel-* \ - | mips64el-* | mips64orion-* | mips64orionel-* \ - | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ - | mipstx39-* | mipstx39el-* | mcore-* \ - | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \ - | [cjt]90-* \ - | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ - | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \ - | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*) + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* \ + | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | clipper-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | m32r-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | mcore-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | msp430-* \ + | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* \ + | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ + | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tron-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ + | xtensa-* \ + | ymp-* \ + | z8k-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. @@ -313,6 +376,9 @@ basic_machine=a29k-none os=-bsd ;; + amd64) + basic_machine=x86_64-pc + ;; amdahl) basic_machine=580-amdahl os=-sysv @@ -344,6 +410,10 @@ basic_machine=ns32k-sequent os=-dynix ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -364,16 +434,8 @@ basic_machine=c38-convex os=-bsd ;; - cray | ymp) - basic_machine=ymp-cray - os=-unicos - ;; - cray2) - basic_machine=cray2-cray - os=-unicos - ;; - [cjt]90) - basic_machine=${basic_machine}-cray + cray | j90) + basic_machine=j90-cray os=-unicos ;; crds | unos) @@ -388,6 +450,14 @@ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola @@ -568,14 +638,6 @@ basic_machine=m68k-atari os=-mint ;; - mipsel*-linux*) - basic_machine=mipsel-unknown - os=-linux-gnu - ;; - mips*-linux*) - basic_machine=mips-unknown - os=-linux-gnu - ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; @@ -590,6 +652,10 @@ basic_machine=m68k-rom68k os=-coff ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; msdos) basic_machine=i386-pc os=-msdos @@ -662,6 +728,10 @@ np1) basic_machine=np1-gould ;; + nv1) + basic_machine=nv1-cray + os=-unicosmp + ;; nsr-tandem) basic_machine=nsr-tandem ;; @@ -669,6 +739,10 @@ basic_machine=hppa1.1-oki os=-proelf ;; + or32 | or32-*) + basic_machine=or32-unknown + os=-coff + ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose @@ -691,42 +765,58 @@ pbb) basic_machine=m68k-tti ;; - pc532 | pc532-*) + pc532 | pc532-*) basic_machine=ns32k-pc532 ;; - pentium | p5 | k5 | k6 | nexgen) + pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; - pentiumpro | p6 | 6x86 | athlon) + pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; - pentiumii | pentium2) + pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-*) + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - pentiumii-* | pentium2-*) + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown - ;; + ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown - ;; + ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; ps2) basic_machine=i386-ibm ;; @@ -744,10 +834,26 @@ rtpc | rtpc-*) basic_machine=romp-ibm ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; sa29200) basic_machine=a29k-amd os=-udi ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; sequent) basic_machine=i386-sequent ;; @@ -755,7 +861,10 @@ basic_machine=sh-hitachi os=-hms ;; - sparclite-wrs) + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; @@ -822,19 +931,35 @@ os=-dynix ;; t3e) - basic_machine=t3e-cray + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; tower | tower-32) basic_machine=m68k-ncr ;; @@ -859,8 +984,8 @@ os=-vms ;; vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; + basic_machine=f301-fujitsu + ;; vxworks960) basic_machine=i960-wrs os=-vxworks @@ -881,13 +1006,13 @@ basic_machine=hppa1.1-winbond os=-proelf ;; - xmp) - basic_machine=xmp-cray - os=-unicos - ;; - xps | xps100) + xps | xps100) basic_machine=xps100-honeywell ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim @@ -908,13 +1033,6 @@ op60c) basic_machine=hppa1.1-oki ;; - mips) - if [ x$os = x-linux-gnu ]; then - basic_machine=mips-unknown - else - basic_machine=mips-mips - fi - ;; romp) basic_machine=romp-ibm ;; @@ -934,13 +1052,16 @@ we32k) basic_machine=we32k-att ;; - sh3 | sh4) + sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; + sh64) + basic_machine=sh64-unknown + ;; sparc | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; - cydra) + cydra) basic_machine=cydra-cydrome ;; orion) @@ -955,10 +1076,6 @@ pmac | pmac-mpw) basic_machine=powerpc-apple ;; - c4x*) - basic_machine=c4x-none - os=-coff - ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; @@ -1014,15 +1131,19 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ + | -hiux* | -386bsd* | -knetbsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*) + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1034,8 +1155,10 @@ ;; esac ;; + -nto-qnx*) + ;; -nto*) - os=-nto-qnx + os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ @@ -1044,6 +1167,9 @@ -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; @@ -1074,14 +1200,20 @@ -acis*) os=-aos ;; + -atheos*) + os=-atheos + ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; + -nova*) + os=-rtmk-nova + ;; -ns2 ) - os=-nextstep2 + os=-nextstep2 ;; -nsk*) os=-nsk @@ -1120,8 +1252,14 @@ -xenix) os=-xenix ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos ;; -none) ;; @@ -1154,10 +1292,14 @@ arm*-semi) os=-aout ;; + c4x-* | tic4x-*) + os=-coff + ;; + # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; - pdp11-*) + pdp11-*) os=-none ;; *-dec | vax-*) @@ -1184,6 +1326,9 @@ mips*-*) os=-elf ;; + or32-*) + os=-coff + ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; @@ -1247,19 +1392,19 @@ *-next) os=-nextstep3 ;; - *-gould) + *-gould) os=-sysv ;; - *-highlevel) + *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; - *-sgi) + *-sgi) os=-irix ;; - *-siemens) + *-siemens) os=-sysv4 ;; *-masscomp) @@ -1331,7 +1476,7 @@ -ptx*) vendor=sequent ;; - -vxsim* | -vxworks*) + -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) @@ -1346,6 +1491,9 @@ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; + -vos*) + vendor=stratus + ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; --- gconf-1.0.9.orig/configure +++ gconf-1.0.9/configure @@ -1,12 +1,28 @@ #! /bin/sh + # Guess values for system-dependent variables and create Makefiles. -# Generated by Autoconf 2.52. +# Generated automatically using autoconf version 2.13 +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 -# Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. +# Defaults: +ac_help= +ac_default_prefix=/usr/local +# Any additions from configure.in: +ac_help="$ac_help + --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer" +ac_help="$ac_help + --enable-shared[=PKGS] build shared libraries [default=yes]" +ac_help="$ac_help + --enable-static[=PKGS] build static libraries [default=yes]" +ac_help="$ac_help + --enable-fast-install[=PKGS] optimize for fast installation [default=yes]" +ac_help="$ac_help + --with-gnu-ld assume the C compiler uses GNU ld [default=no]" + # Find the correct PATH separator. Usually this is `:', but # DJGPP uses `;' like DOS. if test "X${PATH_SEPARATOR+set}" != Xset; then @@ -15,8 +31,10 @@ *-DOS) lt_cv_sys_path_separator=';' ;; *) lt_cv_sys_path_separator=':' ;; esac + PATH_SEPARATOR=$lt_cv_sys_path_separator fi + # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} @@ -80,7 +98,7 @@ # # So, first we look for a working echo in the user's PATH. - IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}" + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && @@ -162,149 +180,49 @@ ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix -fi - -# Name of the executable. -as_me=`echo "$0" |sed 's,.*[\\/],,'` - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links - as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.file - -as_executable_p="test -f" - -# Support unset when possible. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - -# NLS nuisances. -$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } -$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } -$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } -$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } -$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } -$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } -$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } -$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } - -# IFS -# We need space, tab and new line, in precisely that order. -as_nl=' -' -IFS=" $as_nl" - -# CDPATH. -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -exec 6>&1 - -# -# Initializations. -# -ac_default_prefix=/usr/local -cross_compiling=no -subdirs= -MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} -# Maximum number of lines to put in a shell here document. -# This variable seems obsolete. It should probably be removed, and -# only ac_max_sed_lines should be used. -: ${ac_max_here_lines=38} - -ac_unique_file="gconf/gconf.h" -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#if HAVE_SYS_TYPES_H -# include -#endif -#if HAVE_SYS_STAT_H -# include -#endif -#if STDC_HEADERS -# include -# include -#else -# if HAVE_STDLIB_H -# include -# endif -#endif -#if HAVE_STRING_H -# if !STDC_HEADERS && HAVE_MEMORY_H -# include -# endif -# include -#endif -#if HAVE_STRINGS_H -# include -#endif -#if HAVE_INTTYPES_H -# include -#else -# if HAVE_STDINT_H -# include -# endif -#endif -#if HAVE_UNISTD_H -# include -#endif" +ac_help="$ac_help + --disable-libtool-lock avoid locking (might break parallel builds)" +ac_help="$ac_help + --with-pic try to use only PIC/non-PIC objects [default=use both]" +ac_help="$ac_help + --enable-gconf-source=sourceaddress Where to install schema files." +ac_help="$ac_help + --enable-debug=[no/yes] Compile with debug checks." +ac_help="$ac_help + --enable-docs=[no/yes] Just do enough configure-foo to build HTML docs." +ac_help="$ac_help + --with-glib-prefix=PFX Prefix where GLIB is installed (optional)" +ac_help="$ac_help + --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)" +ac_help="$ac_help + --disable-glibtest Do not try to compile and run a test GLIB program" +ac_help="$ac_help + --with-oaf-prefix=PFX Prefix where OAF is installed (optional)" +ac_help="$ac_help + --with-oaf-exec-prefix=PFX Exec prefix where OAF is installed (optional)" +ac_help="$ac_help + --disable-oaftest Do not try to compile and run a test OAF program" +ac_help="$ac_help + --with-gtk-prefix=PFX Prefix where GTK is installed (optional)" +ac_help="$ac_help + --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)" +ac_help="$ac_help + --disable-gtktest Do not try to compile and run a test GTK program" +ac_help="$ac_help + --disable-nls do not use Native Language Support" +ac_help="$ac_help + --with-catgets use catgets functions if available" # Initialize some variables set by options. -ac_init_help= -ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. -cache_file=/dev/null +build=NONE +cache_file=./config.cache exec_prefix=NONE +host=NONE no_create= +nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE @@ -313,15 +231,10 @@ silent= site= srcdir= +target=NONE verbose= x_includes=NONE x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' @@ -335,16 +248,17 @@ infodir='${prefix}/info' mandir='${prefix}/man' -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= +# Initialize some other variables. +subdirs= +MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} +# Maximum number of lines to put in a shell here document. +ac_max_here_lines=12 ac_prev= for ac_option do + # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" @@ -352,59 +266,59 @@ continue fi - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` + case "$ac_option" in + -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) ac_optarg= ;; + esac # Accept the important Cygnus configure options, so we can diagnose typos. - case $ac_option in + case "$ac_option" in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; + bindir="$ac_optarg" ;; -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; + ac_prev=build ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; + build="$ac_optarg" ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; + cache_file="$ac_optarg" ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) - datadir=$ac_optarg ;; + datadir="$ac_optarg" ;; -disable-* | --disable-*) - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/-/_/g'` - eval "enable_$ac_feature=no" ;; + if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + eval "enable_${ac_feature}=no" ;; -enable-* | --enable-*) - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/-/_/g'` - case $ac_option in - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; + if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; *) ac_optarg=yes ;; esac - eval "enable_$ac_feature='$ac_optarg'" ;; + eval "enable_${ac_feature}='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ @@ -413,47 +327,95 @@ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; + exec_prefix="$ac_optarg" ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; + -help | --help | --hel | --he) + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat << EOF +Usage: configure [options] [host] +Options: [defaults in brackets after descriptions] +Configuration: + --cache-file=FILE cache test results in FILE + --help print this message + --no-create do not create output files + --quiet, --silent do not print \`checking...' messages + --version print the version of autoconf that created configure +Directory and file names: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [same as prefix] + --bindir=DIR user executables in DIR [EPREFIX/bin] + --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] + --libexecdir=DIR program executables in DIR [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data in DIR + [PREFIX/share] + --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data in DIR + [PREFIX/com] + --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] + --libdir=DIR object code libraries in DIR [EPREFIX/lib] + --includedir=DIR C header files in DIR [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] + --infodir=DIR info documentation in DIR [PREFIX/info] + --mandir=DIR man documentation in DIR [PREFIX/man] + --srcdir=DIR find the sources in DIR [configure dir or ..] + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM + run sed PROGRAM on installed program names +EOF + cat << EOF +Host type: + --build=BUILD configure for building on BUILD [BUILD=HOST] + --host=HOST configure for HOST [guessed] + --target=TARGET configure for TARGET [TARGET=HOST] +Features and packages: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --x-includes=DIR X include files are in DIR + --x-libraries=DIR X library files are in DIR +EOF + if test -n "$ac_help"; then + echo "--enable and --with options recognized:$ac_help" + fi + exit 0 ;; -host | --host | --hos | --ho) - ac_prev=host_alias ;; + ac_prev=host ;; -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; + host="$ac_optarg" ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; + includedir="$ac_optarg" ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; + infodir="$ac_optarg" ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; + libdir="$ac_optarg" ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; + libexecdir="$ac_optarg" ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ @@ -462,12 +424,12 @@ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir=$ac_optarg ;; + localstatedir="$ac_optarg" ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; + mandir="$ac_optarg" ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. @@ -488,26 +450,26 @@ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; + oldincludedir="$ac_optarg" ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; + prefix="$ac_optarg" ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; + program_prefix="$ac_optarg" ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; + program_suffix="$ac_optarg" ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ @@ -524,7 +486,7 @@ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; + program_transform_name="$ac_optarg" ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) @@ -534,7 +496,7 @@ ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; + sbindir="$ac_optarg" ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ @@ -545,57 +507,58 @@ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; + sharedstatedir="$ac_optarg" ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) - site=$ac_optarg ;; + site="$ac_optarg" ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; + srcdir="$ac_optarg" ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; + sysconfdir="$ac_optarg" ;; -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; + ac_prev=target ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; + target="$ac_optarg" ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; + -version | --version | --versio | --versi | --vers) + echo "configure generated by autoconf version 2.13" + exit 0 ;; -with-* | --with-*) - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } + if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi ac_package=`echo $ac_package| sed 's/-/_/g'` - case $ac_option in - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; + case "$ac_option" in + *=*) ;; *) ac_optarg=yes ;; esac - eval "with_$ac_package='$ac_optarg'" ;; + eval "with_${ac_package}='$ac_optarg'" ;; -without-* | --without-*) - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` + ac_package=`echo $ac_option|sed -e 's/-*without-//'` # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/-/_/g'` - eval "with_$ac_package=no" ;; + if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi + ac_package=`echo $ac_package| sed 's/-/_/g'` + eval "with_${ac_package}=no" ;; --x) # Obsolete; use --with-x. @@ -606,98 +569,98 @@ ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; + x_includes="$ac_optarg" ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; + x_libraries="$ac_optarg" ;; - -*) { echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } + -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } ;; - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` - eval "$ac_envvar='$ac_optarg'" - export $ac_envvar ;; - *) - # FIXME: should be removed in autoconf 3.0. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then + echo "configure: warning: $ac_option: invalid host type" 1>&2 + fi + if test "x$nonopt" != xNONE; then + { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } + fi + nonopt="$ac_option" ;; esac done if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } + { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } fi -# Be sure to have absolute paths. -for ac_var in exec_prefix prefix -do - eval ac_val=$`echo $ac_var` - case $ac_val in - [\\/$]* | ?:[\\/]* | NONE | '' ) ;; - *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; };; - esac -done +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +# File descriptor usage: +# 0 standard input +# 1 file creation +# 2 errors and warnings +# 3 some systems may open it to /dev/tty +# 4 used on the Kubota Titan +# 6 checking for... messages and results +# 5 compiler messages saved in config.log +if test "$silent" = yes; then + exec 6>/dev/null +else + exec 6>&1 +fi +exec 5>./config.log -# Be sure to have absolute paths. -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ - localstatedir libdir includedir oldincludedir infodir mandir +echo "\ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. +" 1>&5 + +# Strip out --no-create and --no-recursion so they do not pile up. +# Also quote any args containing shell metacharacters. +ac_configure_args= +for ac_arg do - eval ac_val=$`echo $ac_var` - case $ac_val in - [\\/$]* | ?:[\\/]* ) ;; - *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; };; + case "$ac_arg" in + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c) ;; + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) + ac_configure_args="$ac_configure_args '$ac_arg'" ;; + *) ac_configure_args="$ac_configure_args $ac_arg" ;; esac done -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: should be removed in autoconf 3.0. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi +# NLS nuisances. +# Only set these to C if already set. These must not be set unconditionally +# because not all systems understand e.g. LANG=C (notably SCO). +# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! +# Non-C LC_CTYPE values break the ctype check. +if test "${LANG+set}" = set; then LANG=C; export LANG; fi +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi +if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi +if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -rf conftest* confdefs.h +# AIX cpp loses on an empty file, so make sure it contains at least a newline. +echo > confdefs.h -test "$silent" = yes && exec 6>/dev/null +# A filename unique to this package, relative to the directory that +# configure is in, which we can look for to find out if srcdir is correct. +ac_unique_file=gconf/gconf.h # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_prog=$0 - ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` + ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then @@ -708,344 +671,13 @@ fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then - { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 - { (exit 1); exit 1; }; } + { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } else - { echo "$as_me: error: cannot find sources in $srcdir" >&2 - { (exit 1); exit 1; }; } + { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } fi fi -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` -ac_env_build_alias_set=${build_alias+set} -ac_env_build_alias_value=$build_alias -ac_cv_env_build_alias_set=${build_alias+set} -ac_cv_env_build_alias_value=$build_alias -ac_env_host_alias_set=${host_alias+set} -ac_env_host_alias_value=$host_alias -ac_cv_env_host_alias_set=${host_alias+set} -ac_cv_env_host_alias_value=$host_alias -ac_env_target_alias_set=${target_alias+set} -ac_env_target_alias_value=$target_alias -ac_cv_env_target_alias_set=${target_alias+set} -ac_cv_env_target_alias_value=$target_alias -ac_env_CC_set=${CC+set} -ac_env_CC_value=$CC -ac_cv_env_CC_set=${CC+set} -ac_cv_env_CC_value=$CC -ac_env_CFLAGS_set=${CFLAGS+set} -ac_env_CFLAGS_value=$CFLAGS -ac_cv_env_CFLAGS_set=${CFLAGS+set} -ac_cv_env_CFLAGS_value=$CFLAGS -ac_env_LDFLAGS_set=${LDFLAGS+set} -ac_env_LDFLAGS_value=$LDFLAGS -ac_cv_env_LDFLAGS_set=${LDFLAGS+set} -ac_cv_env_LDFLAGS_value=$LDFLAGS -ac_env_CPPFLAGS_set=${CPPFLAGS+set} -ac_env_CPPFLAGS_value=$CPPFLAGS -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} -ac_cv_env_CPPFLAGS_value=$CPPFLAGS -ac_env_CXX_set=${CXX+set} -ac_env_CXX_value=$CXX -ac_cv_env_CXX_set=${CXX+set} -ac_cv_env_CXX_value=$CXX -ac_env_CXXFLAGS_set=${CXXFLAGS+set} -ac_env_CXXFLAGS_value=$CXXFLAGS -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} -ac_cv_env_CXXFLAGS_value=$CXXFLAGS -ac_env_CPP_set=${CPP+set} -ac_env_CPP_value=$CPP -ac_cv_env_CPP_set=${CPP+set} -ac_cv_env_CPP_value=$CPP - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat < if you have libraries in a - nonstandard directory - CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have - headers in a nonstandard directory - CXX C++ compiler command - CXXFLAGS C++ compiler flags - CPP C preprocessor - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -EOF -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - ac_popdir=`pwd` - for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue - cd $ac_subdir - # A "../" for each directory in /$ac_subdir. - ac_dots=`echo $ac_subdir | - sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` - - case $srcdir in - .) # No --srcdir option. We are building in place. - ac_sub_srcdir=$srcdir ;; - [\\/]* | ?:[\\/]* ) # Absolute path. - ac_sub_srcdir=$srcdir/$ac_subdir ;; - *) # Relative path. - ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; - esac - - # Check for guested configure; otherwise get Cygnus style configure. - if test -f $ac_sub_srcdir/configure.gnu; then - echo - $SHELL $ac_sub_srcdir/configure.gnu --help=recursive - elif test -f $ac_sub_srcdir/configure; then - echo - $SHELL $ac_sub_srcdir/configure --help=recursive - elif test -f $ac_sub_srcdir/configure.ac || - test -f $ac_sub_srcdir/configure.in; then - echo - $ac_configure --help - else - echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 - fi - cd $ac_popdir - done -fi - -test -n "$ac_init_help" && exit 0 -if $ac_init_version; then - cat <<\EOF - -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -EOF - exit 0 -fi -exec 5>config.log -cat >&5 </dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -hostinfo = `(hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -PATH = $PATH - -_ASUNAME -} >&5 - -cat >&5 <\?\"\']*) - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" - ac_sep=" " ;; - *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" - ac_sep=" " ;; - esac - # Get rid of the leading space. -done - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - echo >&5 - echo "## ----------------- ##" >&5 - echo "## Cache variables. ##" >&5 - echo "## ----------------- ##" >&5 - echo >&5 - # The following way of writing the cache mishandles newlines in values, -{ - (set) 2>&1 | - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in - *ac_space=\ *) - sed -n \ - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" - ;; - *) - sed -n \ - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" - ;; - esac; -} >&5 - sed "/^$/d" confdefs.h >conftest.log - if test -s conftest.log; then - echo >&5 - echo "## ------------ ##" >&5 - echo "## confdefs.h. ##" >&5 - echo "## ------------ ##" >&5 - echo >&5 - cat conftest.log >&5 - fi - (echo; echo) >&5 - test "$ac_signal" != 0 && - echo "$as_me: caught signal $ac_signal" >&5 - echo "$as_me: exit $exit_status" >&5 - rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && - exit $exit_status - ' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo >confdefs.h - -# Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then @@ -1056,111 +688,45 @@ fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then - { echo "$as_me:1059: loading site script $ac_site_file" >&5 -echo "$as_me: loading site script $ac_site_file" >&6;} - cat "$ac_site_file" >&5 + echo "loading site script $ac_site_file" . "$ac_site_file" fi done if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { echo "$as_me:1070: loading cache $cache_file" >&5 -echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . $cache_file;; - *) . ./$cache_file;; - esac - fi + echo "loading cache $cache_file" + . $cache_file else - { echo "$as_me:1078: creating cache $cache_file" >&5 -echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in `(set) 2>&1 | - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val="\$ac_cv_env_${ac_var}_value" - eval ac_new_val="\$ac_env_${ac_var}_value" - case $ac_old_set,$ac_new_set in - set,) - { echo "$as_me:1094: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { echo "$as_me:1098: error: \`$ac_var' was not set in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:1104: error: \`$ac_var' has changed since the previous run:" >&5 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:1106: former value: $ac_old_val" >&5 -echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:1108: current value: $ac_new_val" >&5 -echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: - fi;; - esac - # Pass precious variables to config.status. It doesn't matter if - # we pass some twice (in addition to the command line arguments). - if test "$ac_new_set" = set; then - case $ac_new_val in - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` - ac_configure_args="$ac_configure_args '$ac_arg'" - ;; - *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" - ;; - esac - fi -done -if $ac_cache_corrupted; then - { echo "$as_me:1127: error: changes in the environment can compromise the build" >&5 -echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:1129: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } + echo "creating cache $cache_file" + > $cache_file fi ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in - *c*,-n*) ECHO_N= ECHO_C=' -' ECHO_T=' ' ;; - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; -esac -echo "#! $SHELL" >conftest.sh -echo "exit 0" >>conftest.sh -chmod +x conftest.sh -if { (echo "$as_me:1149: PATH=\".;.\"; conftest.sh") >&5 - (PATH=".;."; conftest.sh) 2>&5 - ac_status=$? - echo "$as_me:1152: \$? = $ac_status" >&5 - (exit $ac_status); }; then - ac_path_separator=';' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross + +ac_exeext= +ac_objext=o +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then + # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. + if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then + ac_n= ac_c=' +' ac_t=' ' + else + ac_n=-n ac_c= ac_t= + fi else - ac_path_separator=: + ac_n= ac_c='\c' ac_t= fi -PATH_SEPARATOR="$ac_path_separator" -rm -f conftest.sh -ac_config_headers="$ac_config_headers config.h" -ac_config_commands="$ac_config_commands default-1" + + + + ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do @@ -1172,21 +738,16 @@ ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break - elif test -f $ac_dir/shtool; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break fi done if test -z "$ac_aux_dir"; then - { { echo "$as_me:1182: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} - { (exit 1); exit 1; }; } -fi -ac_config_guess="$SHELL $ac_aux_dir/config.guess" -ac_config_sub="$SHELL $ac_aux_dir/config.sub" -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. + { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } +fi +ac_config_guess=$ac_aux_dir/config.guess +ac_config_sub=$ac_aux_dir/config.sub +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. +am__api_version="1.4" # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: @@ -1194,39 +755,31 @@ # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. -echo "$as_me:1202: checking for a BSD compatible install" >&5 -echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 +echo "configure:764: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_IFS=$IFS; IFS=$ac_path_separator + IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do - IFS=$ac_save_IFS # Account for people who put trailing slashes in PATH elements. - case $ac_dir/ in - / | ./ | .// | /cC/* \ - | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ - | /usr/ucb/* ) ;; + case "$ac_dir/" in + /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do - if $as_executable_p "$ac_dir/$ac_prog"; then + if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && - grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then + grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : - elif test $ac_prog = install && - grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 @@ -1236,31 +789,31 @@ ;; esac done + IFS="$ac_save_IFS" fi if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install + INSTALL="$ac_cv_path_install" else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. - INSTALL=$ac_install_sh + INSTALL="$ac_install_sh" fi fi -echo "$as_me:1251: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6 +echo "$ac_t""$INSTALL" 1>&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -echo "$as_me:1262: checking whether build environment is sane" >&5 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 +echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 +echo "configure:817: checking whether build environment is sane" >&5 # Just in case sleep 1 echo timestamp > conftestfile @@ -1282,11 +835,8 @@ # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". - { { echo "$as_me:1285: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" >&5 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" >&2;} - { (exit 1); exit 1; }; } + { echo "configure: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" 1>&2; exit 1; } fi test "$2" = conftestfile @@ -1295,162 +845,155 @@ # Ok. : else - { { echo "$as_me:1298: error: newly created file is older than distributed files! -Check your system clock" >&5 -echo "$as_me: error: newly created file is older than distributed files! -Check your system clock" >&2;} - { (exit 1); exit 1; }; } + { echo "configure: error: newly created file is older than distributed files! +Check your system clock" 1>&2; exit 1; } fi rm -f conftest* -echo "$as_me:1305: result: yes" >&5 -echo "${ECHO_T}yes" >&6 +echo "$ac_t""yes" 1>&6 +if test "$program_transform_name" = s,x,x,; then + program_transform_name= +else + # Double any \ or $. echo might interpret backslashes. + cat <<\EOF_SED > conftestsed +s,\\,\\\\,g; s,\$,$$,g +EOF_SED + program_transform_name="`echo $program_transform_name|sed -f conftestsed`" + rm -f conftestsed +fi test "$program_prefix" != NONE && - program_transform_name="s,^,$program_prefix,;$program_transform_name" + program_transform_name="s,^,${program_prefix},; $program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && - program_transform_name="s,\$,$program_suffix,;$program_transform_name" -# Double any \ or $. echo might interpret backslashes. -# By default was `s,x,x', remove it if useless. -cat <<\_ACEOF >conftest.sed -s/[\\$]/&&/g;s/;s,x,x,$// -_ACEOF -program_transform_name=`echo $program_transform_name | sed -f conftest.sed` -rm conftest.sed - -echo "$as_me:1320: checking whether ${MAKE-make} sets \${MAKE}" >&5 -echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" + +# sed with no file args requires a program. +test "$program_transform_name" = "" && program_transform_name="s,x,x," + +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 +echo "configure:874: checking whether ${MAKE-make} sets \${MAKE}" >&5 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.make <<\EOF + cat > conftestmake <<\EOF all: @echo 'ac_maketemp="${MAKE}"' EOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` +eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi -rm -f conftest.make +rm -f conftestmake fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$as_me:1340: result: yes" >&5 -echo "${ECHO_T}yes" >&6 + echo "$ac_t""yes" 1>&6 SET_MAKE= else - echo "$as_me:1344: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 SET_MAKE="MAKE=${MAKE-make}" fi + PACKAGE=GConf VERSION=1.0.9 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - { { echo "$as_me:1354: error: source directory already configured; run \"make distclean\" there first" >&5 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} - { (exit 1); exit 1; }; } + { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } fi - -cat >>confdefs.h <> confdefs.h <>confdefs.h <> confdefs.h <&5 -echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6 +echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 +echo "configure:920: checking for working aclocal-${am__api_version}" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. -if (aclocal --version) < /dev/null > /dev/null 2>&1; then - ACLOCAL=aclocal - echo "$as_me:1375: result: found" >&5 -echo "${ECHO_T}found" >&6 -else - ACLOCAL="$missing_dir/missing aclocal" - echo "$as_me:1379: result: missing" >&5 -echo "${ECHO_T}missing" >&6 +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then + ACLOCAL=aclocal-${am__api_version} + echo "$ac_t""found" 1>&6 +else + ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" + echo "$ac_t""missing" 1>&6 fi -echo "$as_me:1383: checking for working autoconf" >&5 -echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 +echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 +echo "configure:933: checking for working autoconf" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf - echo "$as_me:1390: result: found" >&5 -echo "${ECHO_T}found" >&6 + echo "$ac_t""found" 1>&6 else AUTOCONF="$missing_dir/missing autoconf" - echo "$as_me:1394: result: missing" >&5 -echo "${ECHO_T}missing" >&6 + echo "$ac_t""missing" 1>&6 fi -echo "$as_me:1398: checking for working automake" >&5 -echo $ECHO_N "checking for working automake... $ECHO_C" >&6 +echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 +echo "configure:946: checking for working automake-${am__api_version}" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. -if (automake --version) < /dev/null > /dev/null 2>&1; then - AUTOMAKE=automake - echo "$as_me:1405: result: found" >&5 -echo "${ECHO_T}found" >&6 -else - AUTOMAKE="$missing_dir/missing automake" - echo "$as_me:1409: result: missing" >&5 -echo "${ECHO_T}missing" >&6 +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then + AUTOMAKE=automake-${am__api_version} + echo "$ac_t""found" 1>&6 +else + AUTOMAKE="$missing_dir/missing automake-${am__api_version}" + echo "$ac_t""missing" 1>&6 fi -echo "$as_me:1413: checking for working autoheader" >&5 -echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 +echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 +echo "configure:959: checking for working autoheader" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader - echo "$as_me:1420: result: found" >&5 -echo "${ECHO_T}found" >&6 + echo "$ac_t""found" 1>&6 else AUTOHEADER="$missing_dir/missing autoheader" - echo "$as_me:1424: result: missing" >&5 -echo "${ECHO_T}missing" >&6 + echo "$ac_t""missing" 1>&6 fi -echo "$as_me:1428: checking for working makeinfo" >&5 -echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 +echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 +echo "configure:972: checking for working makeinfo" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo - echo "$as_me:1435: result: found" >&5 -echo "${ECHO_T}found" >&6 + echo "$ac_t""found" 1>&6 else MAKEINFO="$missing_dir/missing makeinfo" - echo "$as_me:1439: result: missing" >&5 -echo "${ECHO_T}missing" >&6 + echo "$ac_t""missing" 1>&6 fi -echo "$as_me:1443: checking whether to enable maintainer-specific portions of Makefiles" >&5 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 + + +echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 +echo "configure:987: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no -fi; - echo "$as_me:1452: result: $USE_MAINTAINER_MODE" >&5 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 +fi + + echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 + if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= @@ -1460,579 +1003,217 @@ MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE + -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -echo "$as_me:1472: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_CC="${ac_tool_prefix}gcc" -echo "$as_me:1487: found $ac_dir/$ac_word" >&5 -break -done - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - echo "$as_me:1495: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 -else - echo "$as_me:1498: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. +# Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -echo "$as_me:1507: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_ac_ct_CC="gcc" -echo "$as_me:1522: found $ac_dir/$ac_word" >&5 -break -done - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - echo "$as_me:1530: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6 -else - echo "$as_me:1533: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - CC=$ac_ct_CC -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -echo "$as_me:1546: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1013: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_CC="${ac_tool_prefix}cc" -echo "$as_me:1561: found $ac_dir/$ac_word" >&5 -break -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="gcc" + break + fi + done + IFS="$ac_save_ifs" fi fi -CC=$ac_cv_prog_CC +CC="$ac_cv_prog_CC" if test -n "$CC"; then - echo "$as_me:1569: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 + echo "$ac_t""$CC" 1>&6 else - echo "$as_me:1572: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC +if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo "$as_me:1581: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_ac_ct_CC="cc" -echo "$as_me:1596: found $ac_dir/$ac_word" >&5 -break -done - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - echo "$as_me:1604: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6 -else - echo "$as_me:1607: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - CC=$ac_ct_CC -else - CC="$ac_cv_prog_CC" -fi - -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -echo "$as_me:1620: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1043: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue -fi -ac_cv_prog_CC="cc" -echo "$as_me:1640: found $ac_dir/$ac_word" >&5 -break -done - + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + break + fi + done + IFS="$ac_save_ifs" if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift - if test $# != 0; then + if test $# -gt 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift - set dummy "$ac_dir/$ac_word" ${1+"$@"} + set dummy "$ac_dir/$ac_word" "$@" shift ac_cv_prog_CC="$@" fi fi fi fi -CC=$ac_cv_prog_CC +CC="$ac_cv_prog_CC" if test -n "$CC"; then - echo "$as_me:1662: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 + echo "$ac_t""$CC" 1>&6 else - echo "$as_me:1665: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:1676: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + if test -z "$CC"; then + case "`uname -s`" in + *win32* | *WIN32*) + # Extract the first word of "cl", so it can be a program name with args. +set dummy cl; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1094: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_CC="$ac_tool_prefix$ac_prog" -echo "$as_me:1691: found $ac_dir/$ac_word" >&5 -break -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="cl" + break + fi + done + IFS="$ac_save_ifs" fi fi -CC=$ac_cv_prog_CC +CC="$ac_cv_prog_CC" if test -n "$CC"; then - echo "$as_me:1699: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 + echo "$ac_t""$CC" 1>&6 else - echo "$as_me:1702: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -echo "$as_me:1715: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_ac_ct_CC="$ac_prog" -echo "$as_me:1730: found $ac_dir/$ac_word" >&5 -break -done - -fi + echo "$ac_t""no" 1>&6 fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - echo "$as_me:1738: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6 -else - echo "$as_me:1741: result: no" >&5 -echo "${ECHO_T}no" >&6 + ;; + esac + fi + test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } fi - test -n "$ac_ct_CC" && break -done +echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 +echo "configure:1126: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 - CC=$ac_ct_CC -fi - -fi +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross -test -z "$CC" && { { echo "$as_me:1753: error: no acceptable cc found in \$PATH" >&5 -echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} - { (exit 1); exit 1; }; } - -# Provide some information about the compiler. -echo "$as_me:1758:" \ - "checking for C compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (eval echo "$as_me:1761: \"$ac_compiler --version &5\"") >&5 - (eval $ac_compiler --version &5) 2>&5 - ac_status=$? - echo "$as_me:1764: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (eval echo "$as_me:1766: \"$ac_compiler -v &5\"") >&5 - (eval $ac_compiler -v &5) 2>&5 - ac_status=$? - echo "$as_me:1769: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (eval echo "$as_me:1771: \"$ac_compiler -V &5\"") >&5 - (eval $ac_compiler -V &5) 2>&5 - ac_status=$? - echo "$as_me:1774: \$? = $ac_status" >&5 - (exit $ac_status); } +cat > conftest.$ac_ext << EOF -cat >conftest.$ac_ext <<_ACEOF -#line 1778 "configure" +#line 1137 "configure" #include "confdefs.h" -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.exe" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -echo "$as_me:1794: checking for C compiler default output" >&5 -echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -if { (eval echo "$as_me:1797: \"$ac_link_default\"") >&5 - (eval $ac_link_default) 2>&5 - ac_status=$? - echo "$as_me:1800: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Find the output, starting from the most likely. This scheme is -# not robust to junk in `.', hence go to wildcards (a.*) only as a last -# resort. -for ac_file in `ls a.exe conftest.exe 2>/dev/null; - ls a.out conftest 2>/dev/null; - ls a.* conftest.* 2>/dev/null`; do - case $ac_file in - *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; - a.out ) # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - # FIXME: I believe we export ac_cv_exeext for Libtool --akim. - export ac_cv_exeext - break;; - * ) break;; - esac -done -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -{ { echo "$as_me:1823: error: C compiler cannot create executables" >&5 -echo "$as_me: error: C compiler cannot create executables" >&2;} - { (exit 77); exit 77; }; } -fi - -ac_exeext=$ac_cv_exeext -echo "$as_me:1829: result: $ac_file" >&5 -echo "${ECHO_T}$ac_file" >&6 - -# Check the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -echo "$as_me:1834: checking whether the C compiler works" >&5 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (eval echo "$as_me:1840: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:1843: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no +main(){return(0);} +EOF +if { (eval echo configure:1142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest; exit) 2>/dev/null; then + ac_cv_prog_cc_cross=no else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { echo "$as_me:1850: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'." >&5 -echo "$as_me: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'." >&2;} - { (exit 1); exit 1; }; } - fi + ac_cv_prog_cc_cross=yes fi -fi -echo "$as_me:1858: result: yes" >&5 -echo "${ECHO_T}yes" >&6 - -rm -f a.out a.exe conftest$ac_cv_exeext -ac_clean_files=$ac_clean_files_save -# Check the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -echo "$as_me:1865: checking whether we are cross compiling" >&5 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 -echo "$as_me:1867: result: $cross_compiling" >&5 -echo "${ECHO_T}$cross_compiling" >&6 - -echo "$as_me:1870: checking for executable suffix" >&5 -echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 -if { (eval echo "$as_me:1872: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:1875: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do - case $ac_file in - *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - export ac_cv_exeext - break;; - * ) break;; - esac -done else - { { echo "$as_me:1891: error: cannot compute EXEEXT: cannot compile and link" >&5 -echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} - { (exit 1); exit 1; }; } + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + ac_cv_prog_cc_works=no fi - -rm -f conftest$ac_cv_exeext -echo "$as_me:1897: result: $ac_cv_exeext" >&5 -echo "${ECHO_T}$ac_cv_exeext" >&6 - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -echo "$as_me:1903: checking for object suffix" >&5 -echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 -if test "${ac_cv_objext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +rm -fr conftest* +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross + +echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 +if test $ac_cv_prog_cc_works = no; then + { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } +fi +echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 +echo "configure:1168: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 +cross_compiling=$ac_cv_prog_cc_cross + +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 +echo "configure:1173: checking whether we are using GNU C" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 1909 "configure" -#include "confdefs.h" - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { (eval echo "$as_me:1921: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:1924: \$? = $ac_status" >&5 - (exit $ac_status); }; then - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done + cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gcc=yes else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -{ { echo "$as_me:1936: error: cannot compute OBJEXT: cannot compile" >&5 -echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} - { (exit 1); exit 1; }; } + ac_cv_prog_gcc=no fi - -rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -echo "$as_me:1943: result: $ac_cv_objext" >&5 -echo "${ECHO_T}$ac_cv_objext" >&6 -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -echo "$as_me:1947: checking whether we are using the GNU C compiler" >&5 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 -if test "${ac_cv_c_compiler_gnu+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line 1953 "configure" -#include "confdefs.h" -int -main () -{ -#ifndef __GNUC__ - choke me -#endif +echo "$ac_t""$ac_cv_prog_gcc" 1>&6 - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:1968: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:1971: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1974: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:1977: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_compiler_gnu=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_compiler_gnu=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -echo "$as_me:1989: result: $ac_cv_c_compiler_gnu" >&5 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 -GCC=`test $ac_compiler_gnu = yes && echo yes` -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -CFLAGS="-g" -echo "$as_me:1995: checking whether $CC accepts -g" >&5 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 -if test "${ac_cv_prog_cc_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +if test $ac_cv_prog_gcc = yes; then + GCC=yes else - cat >conftest.$ac_ext <<_ACEOF -#line 2001 "configure" -#include "confdefs.h" - -int -main () -{ + GCC= +fi - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:2013: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:2016: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2019: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:2022: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +ac_test_CFLAGS="${CFLAGS+set}" +ac_save_CFLAGS="$CFLAGS" +CFLAGS= +echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 +echo "configure:1201: checking whether ${CC-cc} accepts -g" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + echo 'void f(){}' > conftest.c +if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then ac_cv_prog_cc_g=yes else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_prog_cc_g=no + ac_cv_prog_cc_g=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest* + fi -echo "$as_me:2032: result: $ac_cv_prog_cc_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 + +echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS + CFLAGS="$ac_save_CFLAGS" elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" @@ -2046,312 +1227,136 @@ CFLAGS= fi fi -# Some people use a C++ compiler to compile C. Since we use `exit', -# in C++ we need to declare it. In case someone uses the same compiler -# for both compiling C and C++ we need to have the C++ compiler decide -# the declaration of exit, since it's the most demanding environment. -cat >conftest.$ac_ext <<_ACEOF -#ifndef __cplusplus - choke me -#endif -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:2059: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:2062: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2065: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:2068: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - for ac_declaration in \ - ''\ - '#include ' \ - 'extern "C" void std::exit (int) throw (); using std::exit;' \ - 'extern "C" void std::exit (int); using std::exit;' \ - 'extern "C" void exit (int) throw ();' \ - 'extern "C" void exit (int);' \ - 'void exit (int);' -do - cat >conftest.$ac_ext <<_ACEOF -#line 2080 "configure" -#include "confdefs.h" -#include -$ac_declaration -int -main () -{ -exit (42); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:2093: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:2096: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2099: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:2102: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -continue -fi -rm -f conftest.$ac_objext conftest.$ac_ext - cat >conftest.$ac_ext <<_ACEOF -#line 2112 "configure" -#include "confdefs.h" -$ac_declaration -int -main () -{ -exit (42); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:2124: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:2127: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2130: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:2133: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - break -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -fi -rm -f conftest.$ac_objext conftest.$ac_ext -done -rm -f conftest* -if test -n "$ac_declaration"; then - echo '#ifdef __cplusplus' >>confdefs.h - echo $ac_declaration >>confdefs.h - echo '#endif' >>confdefs.h -fi -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -fi -rm -f conftest.$ac_objext conftest.$ac_ext -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -n "$ac_tool_prefix"; then - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:2170: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CXX+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl +do +# Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1237: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" -echo "$as_me:2185: found $ac_dir/$ac_word" >&5 -break -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CXX="$ac_prog" + break + fi + done + IFS="$ac_save_ifs" fi fi -CXX=$ac_cv_prog_CXX +CXX="$ac_cv_prog_CXX" if test -n "$CXX"; then - echo "$as_me:2193: result: $CXX" >&5 -echo "${ECHO_T}$CXX" >&6 + echo "$ac_t""$CXX" 1>&6 else - echo "$as_me:2196: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -echo "$as_me:2209: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_ac_ct_CXX="$ac_prog" -echo "$as_me:2224: found $ac_dir/$ac_word" >&5 -break +test -n "$CXX" && break done +test -n "$CXX" || CXX="gcc" -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - echo "$as_me:2232: result: $ac_ct_CXX" >&5 -echo "${ECHO_T}$ac_ct_CXX" >&6 -else - echo "$as_me:2235: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - test -n "$ac_ct_CXX" && break -done -test -n "$ac_ct_CXX" || ac_ct_CXX="g++" +echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 +echo "configure:1269: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 - CXX=$ac_ct_CXX -fi +ac_ext=C +# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cxx_cross -# Provide some information about the compiler. -echo "$as_me:2247:" \ - "checking for C++ compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (eval echo "$as_me:2250: \"$ac_compiler --version &5\"") >&5 - (eval $ac_compiler --version &5) 2>&5 - ac_status=$? - echo "$as_me:2253: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (eval echo "$as_me:2255: \"$ac_compiler -v &5\"") >&5 - (eval $ac_compiler -v &5) 2>&5 - ac_status=$? - echo "$as_me:2258: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (eval echo "$as_me:2260: \"$ac_compiler -V &5\"") >&5 - (eval $ac_compiler -V &5) 2>&5 - ac_status=$? - echo "$as_me:2263: \$? = $ac_status" >&5 - (exit $ac_status); } - -echo "$as_me:2266: checking whether we are using the GNU C++ compiler" >&5 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line 2272 "configure" +cat > conftest.$ac_ext << EOF + +#line 1280 "configure" #include "confdefs.h" -int -main () -{ -#ifndef __GNUC__ - choke me +int main(){return(0);} +EOF +if { (eval echo configure:1285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cxx_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest; exit) 2>/dev/null; then + ac_cv_prog_cxx_cross=no + else + ac_cv_prog_cxx_cross=yes + fi +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + ac_cv_prog_cxx_works=no +fi +rm -fr conftest* +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross + +echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 +if test $ac_cv_prog_cxx_works = no; then + { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } +fi +echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 +echo "configure:1311: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 +cross_compiling=$ac_cv_prog_cxx_cross + +echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 +echo "configure:1316: checking whether we are using GNU C++" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.C <&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:2290: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2293: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:2296: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_compiler_gnu=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_compiler_gnu=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -echo "$as_me:2308: result: $ac_cv_cxx_compiler_gnu" >&5 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 -GXX=`test $ac_compiler_gnu = yes && echo yes` -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -CXXFLAGS="-g" -echo "$as_me:2314: checking whether $CXX accepts -g" >&5 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 -if test "${ac_cv_prog_cxx_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +EOF +if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gxx=yes else - cat >conftest.$ac_ext <<_ACEOF -#line 2320 "configure" -#include "confdefs.h" + ac_cv_prog_gxx=no +fi +fi -int -main () -{ +echo "$ac_t""$ac_cv_prog_gxx" 1>&6 - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:2332: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:2335: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2338: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:2341: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +if test $ac_cv_prog_gxx = yes; then + GXX=yes +else + GXX= +fi + +ac_test_CXXFLAGS="${CXXFLAGS+set}" +ac_save_CXXFLAGS="$CXXFLAGS" +CXXFLAGS= +echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 +echo "configure:1344: checking whether ${CXX-g++} accepts -g" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + echo 'void f(){}' > conftest.cc +if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then ac_cv_prog_cxx_g=yes else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_prog_cxx_g=no + ac_cv_prog_cxx_g=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest* + fi -echo "$as_me:2351: result: $ac_cv_prog_cxx_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 + +echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS + CXXFLAGS="$ac_save_CXXFLAGS" elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" @@ -2365,148 +1370,57 @@ CXXFLAGS= fi fi -for ac_declaration in \ - ''\ - '#include ' \ - 'extern "C" void std::exit (int) throw (); using std::exit;' \ - 'extern "C" void std::exit (int); using std::exit;' \ - 'extern "C" void exit (int) throw ();' \ - 'extern "C" void exit (int);' \ - 'void exit (int);' -do - cat >conftest.$ac_ext <<_ACEOF -#line 2378 "configure" -#include "confdefs.h" -#include -$ac_declaration -int -main () -{ -exit (42); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:2391: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:2394: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2397: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:2400: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -continue -fi -rm -f conftest.$ac_objext conftest.$ac_ext - cat >conftest.$ac_ext <<_ACEOF -#line 2410 "configure" -#include "confdefs.h" -$ac_declaration -int -main () -{ -exit (42); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:2422: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:2425: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2428: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:2431: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - break -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -fi -rm -f conftest.$ac_objext conftest.$ac_ext -done -rm -f conftest* -if test -n "$ac_declaration"; then - echo '#ifdef __cplusplus' >>confdefs.h - echo $ac_declaration >>confdefs.h - echo '#endif' >>confdefs.h -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - echo "$as_me:2453: checking for strerror in -lcposix" >&5 -echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 -if test "${ac_cv_lib_cposix_strerror+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + + echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 +echo "configure:1377: checking for strerror in -lcposix" >&5 +ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_check_lib_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lcposix $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 2461 "configure" +cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:2483: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:2486: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:2489: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_cposix_strerror=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_cposix_strerror=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:2500: result: $ac_cv_lib_cposix_strerror" >&5 -echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 -if test $ac_cv_lib_cposix_strerror = yes; then + builtin and then its argument prototype would still apply. */ +char strerror(); + +int main() { +strerror() +; return 0; } +EOF +if { (eval echo configure:1396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lcposix" +else + echo "$ac_t""no" 1>&6 fi -echo "$as_me:2506: checking for ${CC-cc} option to accept ANSI C" >&5 -echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 -if test "${am_cv_prog_cc_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + + + + + +echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 +echo "configure:1422: checking for ${CC-cc} option to accept ANSI C" >&5 +if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else am_cv_prog_cc_stdc=no ac_save_CC="$CC" @@ -2519,8 +1433,8 @@ for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" - cat >conftest.$ac_ext <<_ACEOF -#line 2523 "configure" + cat > conftest.$ac_ext < #include @@ -2551,302 +1465,155 @@ int argc; char **argv; -int -main () -{ +int main() { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:2565: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:2568: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2571: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:2574: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +; return 0; } +EOF +if { (eval echo configure:1475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* am_cv_prog_cc_stdc="$ac_arg"; break else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest* done CC="$ac_save_CC" fi if test -z "$am_cv_prog_cc_stdc"; then - echo "$as_me:2588: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6 + echo "$ac_t""none needed" 1>&6 else - echo "$as_me:2591: result: $am_cv_prog_cc_stdc" >&5 -echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6 + echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6 fi case "x$am_cv_prog_cc_stdc" in x|xno) ;; *) CC="$CC $am_cv_prog_cc_stdc" ;; esac -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:2604: checking how to run the C preprocessor" >&5 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 +echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 +echo "configure:1499: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. + # This must be in double quotes, not single quotes, because CPP may get + # substituted into the Makefile and "${CC-cc}" will confuse make. + CPP="${CC-cc} -E" # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -#line 2625 "configure" + # not just through cpp. + cat > conftest.$ac_ext < - Syntax error -_ACEOF -if { (eval echo "$as_me:2630: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:2636: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then : else - echo "$as_me: failed program was:" >&5 + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether non-existent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -#line 2659 "configure" + rm -rf conftest* + CPP="${CC-cc} -E -traditional-cpp" + cat > conftest.$ac_ext < -_ACEOF -if { (eval echo "$as_me:2663: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:2669: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - # Broken: success on invalid input. -continue +#include +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : else - echo "$as_me: failed program was:" >&5 + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -echo "$as_me:2706: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6 -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -#line 2716 "configure" + rm -rf conftest* + CPP="${CC-cc} -nologo -E" + cat > conftest.$ac_ext < - Syntax error -_ACEOF -if { (eval echo "$as_me:2721: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:2727: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then : else - echo "$as_me: failed program was:" >&5 + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - # Broken: fails on valid input. -continue + rm -rf conftest* + CPP=/lib/cpp fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether non-existent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -#line 2750 "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:2754: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:2760: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes +rm -f conftest* fi -if test -z "$ac_cpp_err"; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - # Passes both tests. -ac_preproc_ok=: -break +rm -f conftest* fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : +rm -f conftest* + ac_cv_prog_CPP="$CPP" +fi + CPP="$ac_cv_prog_CPP" else - { { echo "$as_me:2788: error: C preprocessor \"$CPP\" fails sanity check" >&5 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} - { (exit 1); exit 1; }; } + ac_cv_prog_CPP="$CPP" fi +echo "$ac_t""$CPP" 1>&6 -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -echo "$as_me:2799: checking for ANSI C header files" >&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 -if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 +echo "configure:1579: checking for ANSI C header files" >&5 +if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 2805 "configure" + cat > conftest.$ac_ext < #include #include #include - -_ACEOF -if { (eval echo "$as_me:2813: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:2819: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* ac_cv_header_stdc=yes else - echo "$as_me: failed program was:" >&5 + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_header_stdc=no fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line 2841 "configure" +cat > conftest.$ac_ext < - -_ACEOF +EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then : else + rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -2855,16 +1622,16 @@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line 2859 "configure" +cat > conftest.$ac_ext < - -_ACEOF +EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "free" >/dev/null 2>&1; then : else + rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -2873,67 +1640,136 @@ if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then +if test "$cross_compiling" = yes; then : else - cat >conftest.$ac_ext <<_ACEOF -#line 2880 "configure" + cat > conftest.$ac_ext < -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - +#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - exit(2); - exit (0); -} -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:2906: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:2909: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:2911: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:2914: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +int main () { int i; for (i = 0; i < 256; i++) +if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); +exit (0); } + +EOF +if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then : else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_header_stdc=no + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_header_stdc=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -fr conftest* fi + fi fi -echo "$as_me:2927: result: $ac_cv_header_stdc" >&5 -echo "${ECHO_T}$ac_cv_header_stdc" >&6 -if test $ac_cv_header_stdc = yes; then -cat >>confdefs.h <<\EOF +echo "$ac_t""$ac_cv_header_stdc" 1>&6 +if test $ac_cv_header_stdc = yes; then + cat >> confdefs.h <<\EOF #define STDC_HEADERS 1 EOF fi +if test "$program_transform_name" = s,x,x,; then + program_transform_name= +else + # Double any \ or $. echo might interpret backslashes. + cat <<\EOF_SED > conftestsed +s,\\,\\\\,g; s,\$,$$,g +EOF_SED + program_transform_name="`echo $program_transform_name|sed -f conftestsed`" + rm -f conftestsed +fi +test "$program_prefix" != NONE && + program_transform_name="s,^,${program_prefix},; $program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" + +# sed with no file args requires a program. +test "$program_transform_name" = "" && program_transform_name="s,x,x," + +# Find the correct PATH separator. Usually this is `:', but +# DJGPP uses `;' like DOS. +if test "X${PATH_SEPARATOR+set}" != Xset; then + UNAME=${UNAME-`uname 2>/dev/null`} + case X$UNAME in + *-DOS) lt_cv_sys_path_separator=';' ;; + *) lt_cv_sys_path_separator=':' ;; + esac + PATH_SEPARATOR=$lt_cv_sys_path_separator +fi + +echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 +echo "configure:1713: checking for Cygwin environment" >&5 +if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_cygwin=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_cygwin=no +fi +rm -f conftest* +rm -f conftest* +fi + +echo "$ac_t""$ac_cv_cygwin" 1>&6 +CYGWIN= +test "$ac_cv_cygwin" = yes && CYGWIN=yes +echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 +echo "configure:1746: checking for mingw32 environment" >&5 +if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_mingw32=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_mingw32=no +fi +rm -f conftest* +rm -f conftest* +fi + +echo "$ac_t""$ac_cv_mingw32" 1>&6 +MINGW32= +test "$ac_cv_mingw32" = yes && MINGW32=yes # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" @@ -2955,7 +1791,8 @@ esac else enable_shared=yes -fi; +fi + # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" @@ -2977,7 +1814,8 @@ esac else enable_static=yes -fi; +fi + # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" @@ -2999,58 +1837,52 @@ esac else enable_fast_install=yes -fi; +fi + + # Make sure we can run config.sub. -$ac_config_sub sun4 >/dev/null 2>&1 || - { { echo "$as_me:3005: error: cannot run $ac_config_sub" >&5 -echo "$as_me: error: cannot run $ac_config_sub" >&2;} - { (exit 1); exit 1; }; } - -echo "$as_me:3009: checking build system type" >&5 -echo $ECHO_N "checking build system type... $ECHO_C" >&6 -if test "${ac_cv_build+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_build_alias=$build_alias -test -z "$ac_cv_build_alias" && - ac_cv_build_alias=`$ac_config_guess` -test -z "$ac_cv_build_alias" && - { { echo "$as_me:3018: error: cannot guess build type; you must specify one" >&5 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;} - { (exit 1); exit 1; }; } -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || - { { echo "$as_me:3022: error: $ac_config_sub $ac_cv_build_alias failed." >&5 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} - { (exit 1); exit 1; }; } - -fi -echo "$as_me:3027: result: $ac_cv_build" >&5 -echo "${ECHO_T}$ac_cv_build" >&6 -build=$ac_cv_build -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` - -echo "$as_me:3034: checking host system type" >&5 -echo $ECHO_N "checking host system type... $ECHO_C" >&6 -if test "${ac_cv_host+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_host_alias=$host_alias -test -z "$ac_cv_host_alias" && - ac_cv_host_alias=$ac_cv_build_alias -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || - { { echo "$as_me:3043: error: $ac_config_sub $ac_cv_host_alias failed" >&5 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} - { (exit 1); exit 1; }; } - -fi -echo "$as_me:3048: result: $ac_cv_host" >&5 -echo "${ECHO_T}$ac_cv_host" >&6 -host=$ac_cv_host -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : +else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } +fi + +echo $ac_n "checking host system type""... $ac_c" 1>&6 +echo "configure:1850: checking host system type" >&5 + +host_alias=$host +case "$host_alias" in +NONE) + case $nonopt in + NONE) + if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : + else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } + fi ;; + *) host_alias=$nonopt ;; + esac ;; +esac + +host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` +host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +echo "$ac_t""$host" 1>&6 + +echo $ac_n "checking build system type""... $ac_c" 1>&6 +echo "configure:1871: checking build system type" >&5 + +build_alias=$build +case "$build_alias" in +NONE) + case $nonopt in + NONE) build_alias=$host_alias ;; + *) build_alias=$nonopt ;; + esac ;; +esac + +build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` +build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +echo "$ac_t""$build" 1>&6 # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then @@ -3058,12 +1890,13 @@ test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no -fi; +fi + ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. - echo "$as_me:3065: checking for ld used by GCC" >&5 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 + echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 +echo "configure:1900: checking for ld used by GCC" >&5 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -3092,17 +1925,17 @@ ;; esac elif test "$with_gnu_ld" = yes; then - echo "$as_me:3095: checking for GNU ld" >&5 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 + echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 +echo "configure:1930: checking for GNU ld" >&5 else - echo "$as_me:3098: checking for non-GNU ld" >&5 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 + echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 +echo "configure:1933: checking for non-GNU ld" >&5 fi -if test "${lt_cv_path_LD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test -z "$LD"; then - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then @@ -3125,19 +1958,15 @@ LD="$lt_cv_path_LD" if test -n "$LD"; then - echo "$as_me:3128: result: $LD" >&5 -echo "${ECHO_T}$LD" >&6 + echo "$ac_t""$LD" 1>&6 else - echo "$as_me:3131: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi -test -z "$LD" && { { echo "$as_me:3134: error: no acceptable ld found in \$PATH" >&5 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -echo "$as_me:3137: checking if the linker ($LD) is GNU ld" >&5 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 -if test "${lt_cv_prog_gnu_ld+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } +echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 +echo "configure:1968: checking if the linker ($LD) is GNU ld" >&5 +if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. if $LD -v 2>&1 &5; then @@ -3146,32 +1975,33 @@ lt_cv_prog_gnu_ld=no fi fi -echo "$as_me:3149: result: $lt_cv_prog_gnu_ld" >&5 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 + +echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 with_gnu_ld=$lt_cv_prog_gnu_ld -echo "$as_me:3153: checking for $LD option to reload object files" >&5 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 -if test "${lt_cv_ld_reload_flag+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + +echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 +echo "configure:1985: checking for $LD option to reload object files" >&5 +if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else lt_cv_ld_reload_flag='-r' fi -echo "$as_me:3160: result: $lt_cv_ld_reload_flag" >&5 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 + +echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6 reload_flag=$lt_cv_ld_reload_flag test -n "$reload_flag" && reload_flag=" $reload_flag" -echo "$as_me:3165: checking for BSD-compatible nm" >&5 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 -if test "${lt_cv_path_NM+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 +echo "configure:1997: checking for BSD-compatible nm" >&5 +if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/${ac_tool_prefix}nm @@ -3197,25 +2027,118 @@ fi fi -NM="$lt_cv_path_NM" -echo "$as_me:3201: result: $NM" >&5 -echo "${ECHO_T}$NM" >&6 +NM="$lt_cv_path_NM" +echo "$ac_t""$NM" 1>&6 + +echo $ac_n "checking for a sed that does not truncate output""... $ac_c" 1>&6 +echo "configure:2035: checking for a sed that does not truncate output" >&5 +if eval "test \"`echo '$''{'lt_cv_path_SED'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_executable_p="test -f" +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" + fi + done + done +done + + # Create a temporary directory, and hook for its removal unless debugging. +$debug || +{ + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} + +# Create a (secure) tmp directory for tmp files. +: ${TMPDIR=/tmp} +{ + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=$TMPDIR/sed$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in $TMPDIR" >&2 + { (exit 1); exit 1; } +} + _max=0 + _count=0 + # Add /usr/xpg4/bin/sed as it is typically found on Solaris + # along with /bin/sed that truncates output. + for _sed in $_sed_list /usr/xpg4/bin/sed; do + test ! -f ${_sed} && break + cat /dev/null > "$tmp/sed.in" + _count=0 + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" + # Check for GNU sed and select it if it is found. + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then + lt_cv_path_SED=${_sed} + break + fi + while true; do + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" + mv "$tmp/sed.tmp" "$tmp/sed.in" + cp "$tmp/sed.in" "$tmp/sed.nl" + echo >>"$tmp/sed.nl" + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break + # 40000 chars as input seems more than enough + test $_count -gt 10 && break + _count=`expr $_count + 1` + if test $_count -gt $_max; then + _max=$_count + lt_cv_path_SED=$_sed + fi + done + done + rm -rf "$tmp" + +fi + +if test "X$SED" != "X"; then + lt_cv_path_SED=$SED +else + SED=$lt_cv_path_SED +fi +echo "$ac_t""$SED" 1>&6 + +echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 +echo "configure:2119: checking whether ln -s works" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + rm -f conftestdata +if ln -s X conftestdata 2>/dev/null +then + rm -f conftestdata + ac_cv_prog_LN_S="ln -s" +else + ac_cv_prog_LN_S=ln +fi +fi +LN_S="$ac_cv_prog_LN_S" +if test "$ac_cv_prog_LN_S" = "ln -s"; then + echo "$ac_t""yes" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi -echo "$as_me:3204: checking whether ln -s works" >&5 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 -LN_S=$as_ln_s -if test "$LN_S" = "ln -s"; then - echo "$as_me:3208: result: yes" >&5 -echo "${ECHO_T}yes" >&6 -else - echo "$as_me:3211: result: no, using $LN_S" >&5 -echo "${ECHO_T}no, using $LN_S" >&6 -fi - -echo "$as_me:3215: checking how to recognise dependant libraries" >&5 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 -if test "${lt_cv_deplibs_check_method+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking how to recognise dependent libraries""... $ac_c" 1>&6 +echo "configure:2140: checking how to recognise dependent libraries" >&5 +if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= @@ -3226,7 +2149,7 @@ # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. -# ['file_magic [regex]'] -- check by looking for files in library path +# 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given egrep regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. @@ -3255,7 +2178,7 @@ lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in - rhapsody* | darwin1.012) + rhapsody* | darwin1.[012]) lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` ;; *) # Darwin 1.3 on @@ -3290,9 +2213,9 @@ lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; -irix5* | irix6*) +irix5* | irix6* | nonstopux*) case $host_os in - irix5*) + irix5* | nonstopux*) # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ;; @@ -3314,7 +2237,7 @@ # This must be Linux ELF. linux-gnu*) case $host_cpu in - alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* ) + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM @@ -3337,6 +2260,16 @@ lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; +openbsd*) + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' + else + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + fi + ;; + osf3* | osf4* | osf5*) # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' @@ -3375,23 +2308,92 @@ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; esac ;; esac fi -echo "$as_me:3383: result: $lt_cv_deplibs_check_method" >&5 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 + +echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method -# Check for command to grab the raw symbol name followed by C symbol from nm. -echo "$as_me:3389: checking command to parse $NM output" >&5 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for object suffix""... $ac_c" 1>&6 +echo "configure:2326: checking for object suffix" >&5 +if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + rm -f conftest* +echo 'int i = 1;' > conftest.$ac_ext +if { (eval echo configure:2332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + for ac_file in conftest.*; do + case $ac_file in + *.c) ;; + *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; + esac + done +else + { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } +fi +rm -f conftest* +fi + +echo "$ac_t""$ac_cv_objext" 1>&6 +OBJEXT=$ac_cv_objext +ac_objext=$ac_cv_objext + + + +echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 +echo "configure:2352: checking for executable suffix" >&5 +if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else + if test "$CYGWIN" = yes || test "$MINGW32" = yes; then + ac_cv_exeext=.exe +else + rm -f conftest* + echo 'int main () { return 0; }' > conftest.$ac_ext + ac_cv_exeext= + if { (eval echo configure:2362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then + for file in conftest.*; do + case $file in + *.$ac_ext | *.c | *.o | *.obj) ;; + *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; + esac + done + else + { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } + fi + rm -f conftest* + test x"${ac_cv_exeext}" = x && ac_cv_exeext=no +fi +fi + +EXEEXT="" +test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} +echo "$ac_t""${ac_cv_exeext}" 1>&6 +ac_exeext=$EXEEXT + +if test $host != $build; then + ac_tool_prefix=${host_alias}- +else + ac_tool_prefix= +fi + + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6 +echo "configure:2393: checking command to parse $NM output" >&5 +if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] @@ -3407,6 +2409,9 @@ # Transform an extracted symbol line into a proper C declaration lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + # Define system-specific variables. case $host_os in aix*) @@ -3417,10 +2422,14 @@ ;; hpux*) # Its linker distinguishes data from code symbols lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; -irix*) +irix* | nonstopux*) symcode='[BCDEGRST]' ;; +osf*) + symcode='[BCDEGQRST]' + ;; solaris* | sysv5*) symcode='[BDT]' ;; @@ -3463,18 +2472,10 @@ int main(){nm_test_var='a';nm_test_func();return(0);} EOF - if { (eval echo "$as_me:3466: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:3469: \$? = $ac_status" >&5 - (exit $ac_status); }; then + if { (eval echo configure:2476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then # Now try to grab the symbols. nlist=conftest.nm - if { (eval echo "$as_me:3473: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? - echo "$as_me:3476: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s "$nlist"; then + if { (eval echo configure:2479: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" @@ -3496,23 +2497,23 @@ cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ -# define lt_ptr_t void * +# define lt_ptr void * #else -# define lt_ptr_t char * +# define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; - lt_ptr_t address; + lt_ptr address; } lt_preloaded_symbols[] = { EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr_t) 0} + {0, (lt_ptr) 0} }; #ifdef __cplusplus @@ -3525,11 +2526,7 @@ save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$no_builtin_flag" - if { (eval echo "$as_me:3528: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:3531: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest; then + if { (eval echo configure:2530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS="$save_LIBS" @@ -3562,73 +2559,71 @@ global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" if test -z "$lt_cv_sys_global_symbol_pipe"; then global_symbol_to_cdecl= + global_symbol_to_c_name_address= else global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" fi -if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then - echo "$as_me:3569: result: failed" >&5 -echo "${ECHO_T}failed" >&6 +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; +then + echo "$ac_t""failed" 1>&6 else - echo "$as_me:3572: result: ok" >&5 -echo "${ECHO_T}ok" >&6 + echo "$ac_t""ok" 1>&6 fi -for ac_header in dlfcn.h +for ac_hdr in dlfcn.h do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:3579: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line 3585 "configure" -#include "confdefs.h" -#include <$ac_header> -_ACEOF -if { (eval echo "$as_me:3589: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:3595: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - eval "$as_ac_Header=no" -fi -rm -f conftest.err conftest.$ac_ext -fi -echo "$as_me:3614: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <&6 +echo "configure:2579: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < EOF - +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:2589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 fi done + + + + + # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then - echo "$as_me:3628: checking for ${ac_tool_prefix}file" >&5 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 +echo "configure:2625: checking for ${ac_tool_prefix}file" >&5 +if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else case $MAGIC_CMD in /*) @@ -3680,19 +2675,17 @@ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - echo "$as_me:3683: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 + echo "$ac_t""$MAGIC_CMD" 1>&6 else - echo "$as_me:3686: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then - echo "$as_me:3692: checking for file" >&5 -echo $ECHO_N "checking for file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "checking for file""... $ac_c" 1>&6 +echo "configure:2687: checking for file" >&5 +if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else case $MAGIC_CMD in /*) @@ -3744,11 +2737,9 @@ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - echo "$as_me:3747: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 + echo "$ac_t""$MAGIC_CMD" 1>&6 else - echo "$as_me:3750: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi else @@ -3760,162 +2751,150 @@ ;; esac -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -echo "$as_me:3766: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_RANLIB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:2758: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -echo "$as_me:3781: found $ac_dir/$ac_word" >&5 -break -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + break + fi + done + IFS="$ac_save_ifs" fi fi -RANLIB=$ac_cv_prog_RANLIB +RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then - echo "$as_me:3789: result: $RANLIB" >&5 -echo "${ECHO_T}$RANLIB" >&6 + echo "$ac_t""$RANLIB" 1>&6 else - echo "$as_me:3792: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi -fi + if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB +if test -n "$ac_tool_prefix"; then # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -echo "$as_me:3801: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_ac_ct_RANLIB="ranlib" -echo "$as_me:3816: found $ac_dir/$ac_word" >&5 -break -done - - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:2790: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_RANLIB="ranlib" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" fi fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - echo "$as_me:3825: result: $ac_ct_RANLIB" >&5 -echo "${ECHO_T}$ac_ct_RANLIB" >&6 +RANLIB="$ac_cv_prog_RANLIB" +if test -n "$RANLIB"; then + echo "$ac_t""$RANLIB" 1>&6 else - echo "$as_me:3828: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi - RANLIB=$ac_ct_RANLIB else - RANLIB="$ac_cv_prog_RANLIB" + RANLIB=":" +fi fi -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -echo "$as_me:3840: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_STRIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:2825: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_STRIP="${ac_tool_prefix}strip" -echo "$as_me:3855: found $ac_dir/$ac_word" >&5 -break -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + break + fi + done + IFS="$ac_save_ifs" fi fi -STRIP=$ac_cv_prog_STRIP +STRIP="$ac_cv_prog_STRIP" if test -n "$STRIP"; then - echo "$as_me:3863: result: $STRIP" >&5 -echo "${ECHO_T}$STRIP" >&6 + echo "$ac_t""$STRIP" 1>&6 else - echo "$as_me:3866: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi -fi + if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP +if test -n "$ac_tool_prefix"; then # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -echo "$as_me:3875: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_ac_ct_STRIP="strip" -echo "$as_me:3890: found $ac_dir/$ac_word" >&5 -break -done - - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:2857: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_STRIP="strip" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" fi fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - echo "$as_me:3899: result: $ac_ct_STRIP" >&5 -echo "${ECHO_T}$ac_ct_STRIP" >&6 +STRIP="$ac_cv_prog_STRIP" +if test -n "$STRIP"; then + echo "$ac_t""$STRIP" 1>&6 else - echo "$as_me:3902: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi - STRIP=$ac_ct_STRIP else - STRIP="$ac_cv_prog_STRIP" + STRIP=":" +fi fi + enable_dlopen=no enable_win32_dll=no # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" + : +fi -fi; test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good @@ -3923,12 +2902,8 @@ case $host in *-*-irix6*) # Find out which ABI we are using. - echo '#line 3926 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:3927: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:3930: \$? = $ac_status" >&5 - (exit $ac_status); }; then + echo '#line 2906 "configure"' > conftest.$ac_ext + if { (eval echo configure:2907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" @@ -3948,64 +2923,54 @@ # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" - echo "$as_me:3951: checking whether the C compiler needs -belf" >&5 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 -if test "${lt_cv_cc_needs_belf+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 +echo "configure:2928: checking whether the C compiler needs -belf" >&5 +if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - + ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross - cat >conftest.$ac_ext <<_ACEOF -#line 3964 "configure" + cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:3979: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3982: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:3985: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +; return 0; } +EOF +if { (eval echo configure:2948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* lt_cv_cc_needs_belf=yes else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -lt_cv_cc_needs_belf=no + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + lt_cv_cc_needs_belf=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest* ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross fi -echo "$as_me:4001: result: $lt_cv_cc_needs_belf" >&5 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 + +echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; + esac # Sed substitution that helps us do robust quoting. It backslashifies @@ -4083,16 +3048,23 @@ old_postuninstall_cmds= if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" fi # Allow CC to be a program name with arguments. set dummy $CC compiler="$2" -echo "$as_me:4094: checking for objdir" >&5 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6 +echo $ac_n "checking for objdir""... $ac_c" 1>&6 +echo "configure:3068: checking for objdir" >&5 rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then @@ -4102,8 +3074,8 @@ objdir=_libs fi rmdir .libs 2>/dev/null -echo "$as_me:4105: result: $objdir" >&5 -echo "${ECHO_T}$objdir" >&6 +echo "$ac_t""$objdir" 1>&6 + # Check whether --with-pic or --without-pic was given. if test "${with_pic+set}" = set; then @@ -4111,16 +3083,17 @@ pic_mode="$withval" else pic_mode=default -fi; +fi + test -z "$pic_mode" && pic_mode=default # We assume here that the value for lt_cv_prog_cc_pic will not be cached # in isolation, and that seeing it set (from the cache) indicates that # the associated values are set (in the cache) correctly too. -echo "$as_me:4120: checking for $compiler option to produce PIC" >&5 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_pic+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6 +echo "configure:3095: checking for $compiler option to produce PIC" >&5 +if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else lt_cv_prog_cc_pic= lt_cv_prog_cc_shlib= @@ -4140,7 +3113,7 @@ # libC (AIX C++ library), which obviously doesn't included in libraries # list by gcc. This cause undefined symbols with -static flags. # This hack allows C programs to be linked with "-static -ldl", but - # we not sure about C++ programs. + # not sure about C++ programs. lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" ;; amigaos*) @@ -4149,7 +3122,7 @@ # like `-m68040'. lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' ;; - beos* | irix5* | irix6* | osf3* | osf4* | osf5*) + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; darwin* | rhapsody*) @@ -4175,13 +3148,13 @@ # PORTME Check for PIC flags for the system compiler. case $host_os in aix3* | aix4* | aix5*) + lt_cv_prog_cc_wl='-Wl,' # All AIX code is PIC. if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' + # AIX 5 now supports IA64 processor + lt_cv_prog_cc_static='-Bstatic' else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' fi ;; @@ -4192,7 +3165,7 @@ lt_cv_prog_cc_pic='+Z' ;; - irix5* | irix6*) + irix5* | irix6* | nonstopux*) lt_cv_prog_cc_wl='-Wl,' lt_cv_prog_cc_static='-non_shared' # PIC (with -KPIC) is the default. @@ -4236,11 +3209,7 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) lt_cv_prog_cc_pic='-KPIC' lt_cv_prog_cc_static='-Bstatic' - if test "x$host_vendor" = xsni; then - lt_cv_prog_cc_wl='-LD' - else - lt_cv_prog_cc_wl='-Wl,' - fi + lt_cv_prog_cc_wl='-Wl,' ;; uts4*) @@ -4264,44 +3233,28 @@ fi if test -z "$lt_cv_prog_cc_pic"; then - echo "$as_me:4267: result: none" >&5 -echo "${ECHO_T}none" >&6 + echo "$ac_t""none" 1>&6 else - echo "$as_me:4270: result: $lt_cv_prog_cc_pic" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 + echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6 # Check to make sure the pic_flag actually works. - echo "$as_me:4274: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6 +echo "configure:3243: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 + if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - cat >conftest.$ac_ext <<_ACEOF -#line 4282 "configure" + cat > conftest.$ac_ext <&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:4297: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4300: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:4303: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +; return 0; } +EOF +if { (eval echo configure:3257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* case $host_os in hpux9* | hpux10* | hpux11*) # On HP-UX, both CC and GCC only warn that PIC is supported... then @@ -4317,18 +3270,20 @@ lt_cv_prog_cc_pic_works=yes ;; esac - + else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 - lt_cv_prog_cc_pic_works=no - + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + lt_cv_prog_cc_pic_works=no + fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest* CFLAGS="$save_CFLAGS" - + fi + if test "X$lt_cv_prog_cc_pic_works" = Xno; then lt_cv_prog_cc_pic= lt_cv_prog_cc_can_build_shared=no @@ -4336,68 +3291,51 @@ lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" fi - echo "$as_me:4339: result: $lt_cv_prog_cc_pic_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 + echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6 fi # Check for any special shared library compilation flags. if test -n "$lt_cv_prog_cc_shlib"; then - { echo "$as_me:4345: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} + echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : else - { echo "$as_me:4349: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} + echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2 lt_cv_prog_cc_can_build_shared=no fi fi -echo "$as_me:4355: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_static_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6 +echo "configure:3309: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 +if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else lt_cv_prog_cc_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - cat >conftest.$ac_ext <<_ACEOF -#line 4364 "configure" + cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:4379: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4382: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:4385: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +; return 0; } +EOF +if { (eval echo configure:3324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* lt_cv_prog_cc_static_works=yes else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest* LDFLAGS="$save_LDFLAGS" fi + # Belt *and* braces to stop my trousers falling down: test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -echo "$as_me:4399: result: $lt_cv_prog_cc_static_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 +echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6 pic_flag="$lt_cv_prog_cc_pic" special_shlib_compile_flags="$lt_cv_prog_cc_shlib" @@ -4406,13 +3344,14 @@ no_builtin_flag="$lt_cv_prog_cc_no_builtin" can_build_shared="$lt_cv_prog_cc_can_build_shared" + # Check to see if options -o and -c are simultaneously supported by compiler -echo "$as_me:4410: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 -if test "${lt_cv_compiler_c_o+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6 +echo "configure:3351: checking if $compiler supports -c -o file.$ac_objext" >&5 +if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - + $rm -r conftest 2>/dev/null mkdir conftest cd conftest @@ -4427,7 +3366,7 @@ save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" compiler_c_o=no -if { (eval echo configure:4430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then +if { (eval echo configure:3370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s out/conftest.err; then @@ -4451,44 +3390,31 @@ fi compiler_c_o=$lt_cv_compiler_c_o -echo "$as_me:4454: result: $compiler_c_o" >&5 -echo "${ECHO_T}$compiler_c_o" >&6 +echo "$ac_t""$compiler_c_o" 1>&6 if test x"$compiler_c_o" = x"yes"; then # Check to see if we can write to a .lo - echo "$as_me:4459: checking if $compiler supports -c -o file.lo" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 - if test "${lt_cv_compiler_o_lo+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6 +echo "configure:3399: checking if $compiler supports -c -o file.lo" >&5 + if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - + lt_cv_compiler_o_lo=no save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -c -o conftest.lo" - cat >conftest.$ac_ext <<_ACEOF -#line 4469 "configure" + save_objext="$ac_objext" + ac_objext=lo + cat > conftest.$ac_ext <&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:4484: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4487: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:4490: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +; return 0; } +EOF +if { (eval echo configure:3417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then @@ -4496,19 +3422,19 @@ else lt_cv_compiler_o_lo=yes fi - + else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest* + ac_objext="$save_objext" CFLAGS="$save_CFLAGS" - + fi compiler_o_lo=$lt_cv_compiler_o_lo - echo "$as_me:4510: result: $compiler_o_lo" >&5 -echo "${ECHO_T}$compiler_o_lo" >&6 + echo "$ac_t""$compiler_o_lo" 1>&6 else compiler_o_lo=no fi @@ -4517,19 +3443,17 @@ hard_links="nottested" if test "$compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user - echo "$as_me:4520: checking if we can lock with hard links" >&5 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6 +echo "configure:3448: checking if we can lock with hard links" >&5 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no - echo "$as_me:4528: result: $hard_links" >&5 -echo "${ECHO_T}$hard_links" >&6 + echo "$ac_t""$hard_links" 1>&6 if test "$hard_links" = no; then - { echo "$as_me:4531: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2 need_locks=warn fi else @@ -4538,36 +3462,22 @@ if test "$GCC" = yes; then # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - echo "$as_me:4541: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 + echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6 +echo "configure:3467: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo "int some_variable = 0;" > conftest.$ac_ext save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" compiler_rtti_exceptions=no - cat >conftest.$ac_ext <<_ACEOF -#line 4548 "configure" + cat > conftest.$ac_ext <&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:4563: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4566: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:4569: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +; return 0; } +EOF +if { (eval echo configure:3480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then @@ -4575,15 +3485,14 @@ else compiler_rtti_exceptions=yes fi - + else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest* CFLAGS="$save_CFLAGS" - echo "$as_me:4585: result: $compiler_rtti_exceptions" >&5 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6 + echo "$ac_t""$compiler_rtti_exceptions" 1>&6 if test "$compiler_rtti_exceptions" = "yes"; then no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' @@ -4593,8 +3502,8 @@ fi # See if the linker supports building shared libraries. -echo "$as_me:4596: checking whether the linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 +echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6 +echo "configure:3507: checking whether the linker ($LD) supports shared libraries" >&5 allow_undefined_flag= no_undefined_flag= @@ -4635,7 +3544,7 @@ extract_expsyms_cmds= case $host_os in -cygwin* | mingw* | pw32* ) +cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. @@ -4643,7 +3552,9 @@ with_gnu_ld=no fi ;; - +openbsd*) + with_gnu_ld=no + ;; esac ld_shlibs=yes @@ -4730,7 +3641,7 @@ # can override, but on older systems we have to supply one (in ltdll.c) if test "x$lt_cv_need_dllmain" = "xyes"; then ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~ + ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' else ltdll_obj= @@ -4748,19 +3659,20 @@ # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname-def; else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \$# in - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; + echo EXPORTS > $output_objdir/$soname-def; + _lt_hint=1; + cat $export_symbols | while read symbol; do + set dummy \$symbol; + case \$# in + 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; + 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; + *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; + esac; + _lt_hint=`expr 1 + \$_lt_hint`; + done; fi~ '"$ltdll_cmds"' $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ @@ -4855,80 +3767,98 @@ ;; aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + hardcode_direct=yes archive_cmds='' hardcode_libdir_separator=':' if test "$GCC" = yes; then - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi + case $host_os in aix4.[012]|aix4.[012].*) + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + shared_flag='-shared' else + # not using gcc if test "$host_cpu" = ia64; then - shared_flag='-G' + shared_flag='${wl}-G' else - shared_flag='${wl}-bM:SRE' + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi fi - hardcode_direct=yes fi - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # Test if we are trying to use run time linking, or normal AIX style linking. - # If -brtl is somewhere in LDFLAGS, we need to do run time linking. - aix_use_runtimelinking=no - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then - aix_use_runtimelinking=yes - break - fi - done - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi # It seems that -bexpall can do strange things, so it is better to # generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - allow_undefined_flag=' -Wl,-G' - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-znodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, -berok will - # link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='${wl}-berok' + # This is a bit strange, but is similar to how AIX traditionally builds + # it's shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; @@ -4960,11 +3890,19 @@ ;; darwin* | rhapsody*) - allow_undefined_flag='-undefined suppress' + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. - archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes @@ -5016,13 +3954,14 @@ export_dynamic_flag_spec='${wl}-E' ;; - irix5* | irix6*) + irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='-rpath $libdir' fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: link_all_deplibs=yes ;; @@ -5039,7 +3978,7 @@ ;; newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts' + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: @@ -5047,10 +3986,24 @@ ;; openbsd*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case "$host_os" in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi ;; os2*) @@ -5095,10 +4048,39 @@ hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes + export_dynamic_flag_spec='${wl}-Bexport' ;; solaris*) + # gcc --version < 3.0 without binutils cannot create self contained + # shared libraries reliably, requiring libgcc.a to resolve some of + # the object symbols generated in some cases. Libraries that use + # assert need libgcc.a to resolve __eprintf, for example. Linking + # a copy of libgcc.a into every shared library to guarantee resolving + # such symbols causes other problems: According to Tim Van Holder + # , C++ libraries end up with a separate + # (to the application) exception stack for one thing. no_undefined_flag=' -z defs' + if test "$GCC" = yes; then + case `$CC --version 2>/dev/null` in + [12].*) + cat <&2 + +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably +*** create self contained shared libraries on Solaris systems, without +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling +*** -no-undefined support, which will at least allow you to build shared +*** libraries. However, you may find that when you link such libraries +*** into an application without using GCC, you have to manually add +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to +*** upgrade to a newer version of GCC. Another option is to rebuild your +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. + +EOF + no_undefined_flag= + ;; + esac + fi # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' @@ -5129,13 +4111,23 @@ ;; sysv4) - if test "x$host_vendor" = xsno; then - archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts' - hardcode_direct=yes # is this really true??? - else - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - fi + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; @@ -5205,13 +4197,12 @@ ;; esac fi -echo "$as_me:5208: result: $ld_shlibs" >&5 -echo "${ECHO_T}$ld_shlibs" >&6 +echo "$ac_t""$ld_shlibs" 1>&6 test "$ld_shlibs" = no && can_build_shared=no # Check hardcoding attributes. -echo "$as_me:5213: checking how to hardcode library paths into programs" >&5 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6 +echo "configure:4206: checking how to hardcode library paths into programs" >&5 hardcode_action= if test -n "$hardcode_libdir_flag_spec" || \ test -n "$runpath_var"; then @@ -5234,29 +4225,26 @@ # directories. hardcode_action=unsupported fi -echo "$as_me:5237: result: $hardcode_action" >&5 -echo "${ECHO_T}$hardcode_action" >&6 +echo "$ac_t""$hardcode_action" 1>&6 striplib= old_striplib= -echo "$as_me:5242: checking whether stripping libraries is possible" >&5 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6 +echo "configure:4234: checking whether stripping libraries is possible" >&5 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" - echo "$as_me:5247: result: yes" >&5 -echo "${ECHO_T}yes" >&6 + echo "$ac_t""yes" 1>&6 else - echo "$as_me:5250: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi reload_cmds='$LD$reload_flag -o $output$reload_objs' test -z "$deplibs_check_method" && deplibs_check_method=unknown # PORTME Fill in your ld.so characteristics -echo "$as_me:5258: checking dynamic linker characteristics" >&5 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6 +echo "configure:4248: checking dynamic linker characteristics" >&5 library_names_spec= libname_spec='lib$name' soname_spec= @@ -5283,6 +4271,9 @@ aix4* | aix5*) version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' @@ -5294,22 +4285,24 @@ # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. + # AIX (on Power*) has no versioning support, so currently we can + # not hardcode correct soname into executable. Probably we can + # add versioning support to collect2, so additional links can + # be useful in future. if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so instead of - # lib.a to let people know that these are not typical AIX shared libraries. + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' else # We preserve .a as extension for shared libraries through AIX4.2 @@ -5318,8 +4311,8 @@ soname_spec='${libname}${release}.so$major' fi shlibpath_var=LIBPATH - deplibs_check_method=pass_all fi + hardcode_into_libs=yes ;; amigaos*) @@ -5367,7 +4360,7 @@ ;; yes,mingw*) library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` ;; yes,pw32*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' @@ -5399,6 +4392,18 @@ dynamic_linker=no ;; +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU/FreeBSD ld.so' + ;; + freebsd*) objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat @@ -5450,14 +4455,17 @@ postinstall_cmds='chmod 555 $lib' ;; -irix5* | irix6*) - version_type=irix +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) version_type=irix ;; + esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' case $host_os in - irix5*) + irix5* | nonstopux*) libsuff= shlibsuff= ;; *) @@ -5531,9 +4539,19 @@ openbsd*) version_type=sunos - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - need_version=no + need_lib_prefix=no + need_version=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case "$host_os" in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes fi library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' @@ -5551,11 +4569,13 @@ osf3* | osf4* | osf5*) version_type=osf need_version=no - soname_spec='${libname}${release}.so' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' + need_lib_prefix=no + soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + hardcode_into_libs=yes ;; sco3.2v5*) @@ -5598,6 +4618,12 @@ case $host_vendor in sni) shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no ;; motorola) need_lib_prefix=no @@ -5637,15 +4663,42 @@ dynamic_linker=no ;; esac -echo "$as_me:5640: result: $dynamic_linker" >&5 -echo "${ECHO_T}$dynamic_linker" >&6 +echo "$ac_t""$dynamic_linker" 1>&6 test "$dynamic_linker" = no && can_build_shared=no # Report the final consequences. -echo "$as_me:5645: checking if libtool supports shared libraries" >&5 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 -echo "$as_me:5647: result: $can_build_shared" >&5 -echo "${ECHO_T}$can_build_shared" >&6 +echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6 +echo "configure:4672: checking if libtool supports shared libraries" >&5 +echo "$ac_t""$can_build_shared" 1>&6 + +echo $ac_n "checking whether to build shared libraries""... $ac_c" 1>&6 +echo "configure:4676: checking whether to build shared libraries" >&5 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; +esac +echo "$ac_t""$enable_shared" 1>&6 + +echo $ac_n "checking whether to build static libraries""... $ac_c" 1>&6 +echo "configure:4699: checking whether to build static libraries" >&5 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$ac_t""$enable_static" 1>&6 if test "$hardcode_action" = relink; then # Fast installation is not supported @@ -5682,291 +4735,265 @@ ;; *) - echo "$as_me:5685: checking for dlopen in -ldl" >&5 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 5693 "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char dlopen (); -int -main () -{ -dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5712: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:5715: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5718: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:5721: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_dl_dlopen=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_dl_dlopen=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:5732: result: $ac_cv_lib_dl_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 -if test $ac_cv_lib_dl_dlopen = yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" + echo $ac_n "checking for shl_load""... $ac_c" 1>&6 +echo "configure:4740: checking for shl_load" >&5 +if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - echo "$as_me:5737: checking for dlopen" >&5 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 -if test "${ac_cv_func_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line 5743 "configure" + cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char dlopen (); -char (*f) (); + builtin and then its argument prototype would still apply. */ +char shl_load(); + +int main() { -int -main () -{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ -#if defined (__stub_dlopen) || defined (__stub___dlopen) +#if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -f = dlopen; +shl_load(); #endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5774: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:5777: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5780: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:5783: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_dlopen=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_dlopen=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:5793: result: $ac_cv_func_dlopen" >&5 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6 -if test $ac_cv_func_dlopen = yes; then - lt_cv_dlopen="dlopen" +; return 0; } +EOF +if { (eval echo configure:4768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_shl_load=yes" else - echo "$as_me:5798: checking for shl_load" >&5 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 -if test "${ac_cv_func_shl_load+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_shl_load=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then + echo "$ac_t""yes" 1>&6 + lt_cv_dlopen="shl_load" +else + echo "$ac_t""no" 1>&6 +echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 +echo "configure:4786: checking for shl_load in -ldld" >&5 +ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-ldld $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" else - cat >conftest.$ac_ext <<_ACEOF -#line 5804 "configure" + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$ac_t""no" 1>&6 +echo $ac_n "checking for dlopen""... $ac_c" 1>&6 +echo "configure:4824: checking for dlopen" >&5 +if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char shl_load (); -char (*f) (); + builtin and then its argument prototype would still apply. */ +char dlopen(); + +int main() { -int -main () -{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ -#if defined (__stub_shl_load) || defined (__stub___shl_load) +#if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -f = shl_load; +dlopen(); #endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5835: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:5838: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5841: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:5844: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_shl_load=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_shl_load=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:5854: result: $ac_cv_func_shl_load" >&5 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6 -if test $ac_cv_func_shl_load = yes; then - lt_cv_dlopen="shl_load" +; return 0; } +EOF +if { (eval echo configure:4852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_dlopen=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_dlopen=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then + echo "$ac_t""yes" 1>&6 + lt_cv_dlopen="dlopen" else - echo "$as_me:5859: checking for dlopen in -lsvld" >&5 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo "$ac_t""no" 1>&6 +echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 +echo "configure:4870: checking for dlopen in -ldl" >&5 +ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsvld $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 5867 "configure" + ac_save_LIBS="$LIBS" +LIBS="-ldl $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$ac_t""no" 1>&6 +echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 +echo "configure:4908: checking for dlopen in -lsvld" >&5 +ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lsvld $LIBS" +cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:5889: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5892: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:5895: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_svld_dlopen=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_svld_dlopen=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:5906: result: $ac_cv_lib_svld_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 -if test $ac_cv_lib_svld_dlopen = yes; then + builtin and then its argument prototype would still apply. */ +char dlopen(); + +int main() { +dlopen() +; return 0; } +EOF +if { (eval echo configure:4927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else - echo "$as_me:5911: checking for shl_load in -ldld" >&5 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo "$ac_t""no" 1>&6 +echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6 +echo "configure:4946: checking for dld_link in -ldld" >&5 +ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_check_lib_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-ldld $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 5919 "configure" +cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:5941: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5944: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:5947: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_dld_shl_load=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_dld_shl_load=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:5958: result: $ac_cv_lib_dld_shl_load" >&5 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 -if test $ac_cv_lib_dld_shl_load = yes; then + builtin and then its argument prototype would still apply. */ +char dld_link(); + +int main() { +dld_link() +; return 0; } +EOF +if { (eval echo configure:4965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +else + echo "$ac_t""no" 1>&6 fi + fi + fi + fi + +fi + + fi ;; @@ -5989,10 +5016,10 @@ save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" - echo "$as_me:5992: checking whether a program can dlopen itself" >&5 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 -if test "${lt_cv_dlopen_self+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6 +echo "configure:5021: checking whether a program can dlopen itself" >&5 +if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross @@ -6000,7 +5027,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:6067: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then + if { (eval echo configure:5092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in @@ -6080,16 +5103,17 @@ fi rm -fr conftest* + fi -echo "$as_me:6084: result: $lt_cv_dlopen_self" >&5 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + +echo "$ac_t""$lt_cv_dlopen_self" 1>&6 if test "x$lt_cv_dlopen_self" = xyes; then LDFLAGS="$LDFLAGS $link_static_flag" - echo "$as_me:6089: checking whether a statically linked program can dlopen itself" >&5 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 -if test "${lt_cv_dlopen_self_static+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6 +echo "configure:5115: checking whether a statically linked program can dlopen itself" >&5 +if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross @@ -6097,7 +5121,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:6164: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then + if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in @@ -6177,9 +5197,10 @@ fi rm -fr conftest* + fi -echo "$as_me:6181: result: $lt_cv_dlopen_self_static" >&5 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + +echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6 fi CPPFLAGS="$save_CPPFLAGS" @@ -6199,6 +5220,7 @@ esac fi + if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) @@ -6208,19 +5230,15 @@ # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. - echo "$as_me:6211: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6 +echo "configure:5235: checking whether -lc should be explicitly linked in" >&5 + if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else $rm conftest* echo 'static int dummy;' > conftest.$ac_ext - if { (eval echo "$as_me:6219: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:6222: \$? = $ac_status" >&5 - (exit $ac_status); }; then + if { (eval echo configure:5242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then soname=conftest lib=conftest libobjs=conftest.$ac_objext @@ -6233,11 +5251,7 @@ libname=conftest save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= - if { (eval echo "$as_me:6236: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - echo "$as_me:6239: \$? = $ac_status" >&5 - (exit $ac_status); } + if { (eval echo configure:5255: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; } then lt_cv_archive_cmds_need_lc=no else @@ -6249,8 +5263,7 @@ fi fi - echo "$as_me:6252: result: $lt_cv_archive_cmds_need_lc" >&5 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 + echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6 ;; esac fi @@ -6278,7 +5291,7 @@ # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS \ + for var in echo old_CC old_CFLAGS SED \ AR AR_FLAGS CC LD LN_S NM SHELL \ reload_flag reload_cmds wl \ pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ @@ -6290,6 +5303,7 @@ old_striplib striplib file_magic_cmd export_symbols_cmds \ deplibs_check_method allow_undefined_flag no_undefined_flag \ finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ + global_symbol_to_c_name_address \ hardcode_libdir_flag_spec hardcode_libdir_separator \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do @@ -6339,8 +5353,11 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. +# A sed that does not truncate output. +SED=$lt_SED + # Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="sed -e s/^X//" +Xsed="${SED} -e s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. @@ -6356,12 +5373,12 @@ # Whether or not to build shared libraries. build_libtool_libs=$enable_shared -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc - # Whether or not to build static libraries. build_old_libs=$enable_static +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$need_lc + # Whether or not to optimize for fast installation. fast_install=$enable_fast_install @@ -6527,6 +5544,9 @@ # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address + # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -6649,9 +5669,9 @@ # return TRUE; # } # /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments + # This is a source program that is used to create import libraries + # on Windows for dlls which lack them. Don't remove nor modify the + # starting and closing comments # /* impgen.c starts here */ # /* Copyright (C) 1999-2000 Free Software Foundation, Inc. # @@ -6802,6 +5822,10 @@ chmod +x "$ofile" fi + + + + # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" @@ -6810,6 +5834,8 @@ # Prevent multiple expansion + + if test "x$GCC" = "xyes"; then case " $CFLAGS " in *[\ \ ]-Wall[\ \ ]*) ;; @@ -6831,26 +5857,43 @@ MAJOR_VERSION=1 + GETTEXT_PACKAGE=gconf$MAJOR_VERSION -cat >>confdefs.h <> confdefs.h <$prefix/etc->/usr/local/etc +# Have to go $sysconfdir->$prefix/etc->/usr/local/etc # if you actually know how to code shell then fix this :-) SYSCONFDIR_TMP="$sysconfdir" old_prefix=$prefix @@ -6867,14 +5910,17 @@ EXPANDED_SYSCONFDIR=`eval echo $SYSCONFDIR_TMP` prefix=$old_prefix + ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" + GCONF_CONFIG_SOURCE= # Check whether --enable-gconf-source or --disable-gconf-source was given. if test "${enable_gconf_source+set}" = set; then enableval="$enable_gconf_source" GCONF_CONFIG_SOURCE=$enable_gconf_source -fi; +fi + if test "x$GCONF_CONFIG_SOURCE" = "x"; then GCONF_CONFIG_SOURCE="xml::\${sysconfdir}/gconf/gconf.xml.defaults" @@ -6884,13 +5930,17 @@ echo "FYI: " "Using config source $GCONF_CONFIG_SOURCE for schema installation" fi + + + # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then enableval="$enable_debug" - + : else enable_debug=no -fi; +fi + if test "x$enable_debug" = "xyes"; then CFLAGS="$CFLAGS -DGCONF_ENABLE_DEBUG=1" @@ -6906,122 +5956,98 @@ docs_only=yes else docs_only=no -fi; +fi + if test "x$docs_only" = "xyes"; then echo "FYI: " "Only building documentation" else -echo "$as_me:6915: checking for poptGetArg in -lpopt" >&5 -echo $ECHO_N "checking for poptGetArg in -lpopt... $ECHO_C" >&6 -if test "${ac_cv_lib_popt_poptGetArg+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for poptGetArg in -lpopt""... $ac_c" 1>&6 +echo "configure:5968: checking for poptGetArg in -lpopt" >&5 +ac_lib_var=`echo popt'_'poptGetArg | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_check_lib_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lpopt $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 6923 "configure" +cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:6945: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:6948: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:6951: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_popt_poptGetArg=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_popt_poptGetArg=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:6962: result: $ac_cv_lib_popt_poptGetArg" >&5 -echo "${ECHO_T}$ac_cv_lib_popt_poptGetArg" >&6 -if test $ac_cv_lib_popt_poptGetArg = yes; then + builtin and then its argument prototype would still apply. */ +char poptGetArg(); + +int main() { +poptGetArg() +; return 0; } +EOF +if { (eval echo configure:5987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 POPT_LIBS=-lpopt else - echo "$as_me:6967: checking for popt.h" >&5 -echo $ECHO_N "checking for popt.h... $ECHO_C" >&6 -if test "${ac_cv_header_popt_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo "$ac_t""no" 1>&6 +ac_safe=`echo "popt.h" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for popt.h""... $ac_c" 1>&6 +echo "configure:6007: checking for popt.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 6973 "configure" + cat > conftest.$ac_ext < -_ACEOF -if { (eval echo "$as_me:6977: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:6983: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_cv_header_popt_h=yes +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:6017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" else - echo "$as_me: failed program was:" >&5 + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - ac_cv_header_popt_h=no + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest* fi -echo "$as_me:7002: result: $ac_cv_header_popt_h" >&5 -echo "${ECHO_T}$ac_cv_header_popt_h" >&6 -if test $ac_cv_header_popt_h = yes; then +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 : else - { { echo "$as_me:7007: error: -*** Couldn't find popt. Please download and install from -*** ftp://ftp.redhat.com/pub/redhat/code/popt and try again." >&5 -echo "$as_me: error: + echo "$ac_t""no" 1>&6 +{ echo "configure: error: *** Couldn't find popt. Please download and install from -*** ftp://ftp.redhat.com/pub/redhat/code/popt and try again." >&2;} - { (exit 1); exit 1; }; } +*** ftp://ftp.redhat.com/pub/redhat/code/popt and try again." 1>&2; exit 1; } fi fi + + # Check whether --with-glib-prefix or --without-glib-prefix was given. if test "${with_glib_prefix+set}" = set; then withval="$with_glib_prefix" glib_config_prefix="$withval" else glib_config_prefix="" -fi; +fi # Check whether --with-glib-exec-prefix or --without-glib-exec-prefix was given. if test "${with_glib_exec_prefix+set}" = set; then @@ -7029,14 +6055,16 @@ glib_config_exec_prefix="$withval" else glib_config_exec_prefix="" -fi; +fi + # Check whether --enable-glibtest or --disable-glibtest was given. if test "${enable_glibtest+set}" = set; then enableval="$enable_glibtest" - + : else enable_glibtest=yes -fi; +fi + if test x$glib_config_exec_prefix != x ; then glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix" @@ -7054,10 +6082,10 @@ for module in . gmodule do case "$module" in - gmodule) + gmodule) glib_config_args="$glib_config_args gmodule" ;; - gthread) + gthread) glib_config_args="$glib_config_args gthread" ;; esac @@ -7065,45 +6093,43 @@ # Extract the first word of "glib-config", so it can be a program name with args. set dummy glib-config; ac_word=$2 -echo "$as_me:7068: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:6098: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_GLIB_CONFIG'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - case $GLIB_CONFIG in - [\\/]* | ?:[\\/]*) + case "$GLIB_CONFIG" in + /*) ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a dos path. + ;; *) - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - if $as_executable_p "$ac_dir/$ac_word"; then - ac_cv_path_GLIB_CONFIG="$ac_dir/$ac_word" - echo "$as_me:7085: found $ac_dir/$ac_word" >&5 - break -fi -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_GLIB_CONFIG="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" ;; esac fi -GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG - +GLIB_CONFIG="$ac_cv_path_GLIB_CONFIG" if test -n "$GLIB_CONFIG"; then - echo "$as_me:7097: result: $GLIB_CONFIG" >&5 -echo "${ECHO_T}$GLIB_CONFIG" >&6 + echo "$ac_t""$GLIB_CONFIG" 1>&6 else - echo "$as_me:7100: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi min_glib_version=1.2.0 - echo "$as_me:7105: checking for GLIB - version >= $min_glib_version" >&5 -echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6 + echo $ac_n "checking for GLIB - version >= $min_glib_version""... $ac_c" 1>&6 +echo "configure:6133: checking for GLIB - version >= $min_glib_version" >&5 no_glib="" if test "$GLIB_CONFIG" = "no" ; then no_glib=yes @@ -7125,15 +6151,15 @@ if test "$cross_compiling" = yes; then echo $ac_n "cross compiling; assumed OK... $ac_c" else - cat >conftest.$ac_ext <<_ACEOF -#line 7129 "configure" + cat > conftest.$ac_ext < #include #include -int +int main () { int major, minor, micro; @@ -7152,7 +6178,7 @@ (glib_minor_version != $glib_config_minor_version) || (glib_micro_version != $glib_config_micro_version)) { - printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", + printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, glib_major_version, glib_minor_version, glib_micro_version); printf ("*** was found! If glib-config was correct, then it is best\n"); @@ -7163,7 +6189,7 @@ printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n"); printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n"); printf("*** before re-running configure\n"); - } + } else if ((glib_major_version != GLIB_MAJOR_VERSION) || (glib_minor_version != GLIB_MINOR_VERSION) || (glib_micro_version != GLIB_MICRO_VERSION)) @@ -7201,38 +6227,28 @@ return 1; } -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:7206: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:7209: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:7211: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:7214: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +EOF +if { (eval echo configure:6232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then : else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -no_glib=yes + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + no_glib=yes fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -fr conftest* fi + CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi if test "x$no_glib" = x ; then - echo "$as_me:7230: result: yes" >&5 -echo "${ECHO_T}yes" >&6 - : + echo "$ac_t""yes" 1>&6 + : else - echo "$as_me:7234: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 if test "$GLIB_CONFIG" = "no" ; then echo "*** The glib-config script installed by GLIB could not be found" echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" @@ -7245,33 +6261,19 @@ echo "*** Could not run GLIB test program, checking why..." CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$LIBS $GLIB_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 7249 "configure" + cat > conftest.$ac_ext < #include -int -main () -{ - return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7264: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:7267: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7270: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:7273: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +int main() { + return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); +; return 0; } +EOF +if { (eval echo configure:6276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GLIB or finding the wrong" echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" @@ -7285,27 +6287,27 @@ echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" echo "*** came with the system with the command" echo "***" - echo "*** rpm --erase --nodeps gtk gtk-devel" + echo "*** rpm --erase --nodeps gtk gtk-devel" else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 - echo "*** The test program failed to compile or link. See the file config.log for the" + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means GLIB was incorrectly installed" echo "*** or that you have moved GLIB since it was installed. In the latter case, you" - echo "*** may want to edit the glib-config script: $GLIB_CONFIG" + echo "*** may want to edit the glib-config script: $GLIB_CONFIG" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest* CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi GLIB_CFLAGS="" GLIB_LIBS="" - { { echo "$as_me:7304: error: glib not found or too old" >&5 -echo "$as_me: error: glib not found or too old" >&2;} - { (exit 1); exit 1; }; } + { echo "configure: error: glib not found or too old" 1>&2; exit 1; } fi - + + rm -f conf.glibtest # Check whether --with-oaf-prefix or --without-oaf-prefix was given. @@ -7314,7 +6316,7 @@ oaf_config_prefix="$withval" else oaf_config_prefix="" -fi; +fi # Check whether --with-oaf-exec-prefix or --without-oaf-exec-prefix was given. if test "${with_oaf_exec_prefix+set}" = set; then @@ -7322,14 +6324,16 @@ oaf_config_exec_prefix="$withval" else oaf_config_exec_prefix="" -fi; +fi + # Check whether --enable-oaftest or --disable-oaftest was given. if test "${enable_oaftest+set}" = set; then enableval="$enable_oaftest" - + : else enable_oaftest=yes -fi; +fi + oaf_config_args="$oaf_config_args " @@ -7348,45 +6352,43 @@ # Extract the first word of "oaf-config", so it can be a program name with args. set dummy oaf-config; ac_word=$2 -echo "$as_me:7351: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_OAF_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:6357: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_OAF_CONFIG'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - case $OAF_CONFIG in - [\\/]* | ?:[\\/]*) + case "$OAF_CONFIG" in + /*) ac_cv_path_OAF_CONFIG="$OAF_CONFIG" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_OAF_CONFIG="$OAF_CONFIG" # Let the user override the test with a dos path. + ;; *) - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - if $as_executable_p "$ac_dir/$ac_word"; then - ac_cv_path_OAF_CONFIG="$ac_dir/$ac_word" - echo "$as_me:7368: found $ac_dir/$ac_word" >&5 - break -fi -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_OAF_CONFIG="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" test -z "$ac_cv_path_OAF_CONFIG" && ac_cv_path_OAF_CONFIG="no" ;; esac fi -OAF_CONFIG=$ac_cv_path_OAF_CONFIG - +OAF_CONFIG="$ac_cv_path_OAF_CONFIG" if test -n "$OAF_CONFIG"; then - echo "$as_me:7380: result: $OAF_CONFIG" >&5 -echo "${ECHO_T}$OAF_CONFIG" >&6 + echo "$ac_t""$OAF_CONFIG" 1>&6 else - echo "$as_me:7383: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi min_oaf_version=0.2.0 - echo "$as_me:7388: checking for OAF - version >= $min_oaf_version" >&5 -echo $ECHO_N "checking for OAF - version >= $min_oaf_version... $ECHO_C" >&6 + echo $ac_n "checking for OAF - version >= $min_oaf_version""... $ac_c" 1>&6 +echo "configure:6392: checking for OAF - version >= $min_oaf_version" >&5 no_oaf="" if test "$OAF_CONFIG" = "no" ; then no_oaf=yes @@ -7408,15 +6410,15 @@ if test "$cross_compiling" = yes; then echo $ac_n "cross compiling; assumed OK... $ac_c" else - cat >conftest.$ac_ext <<_ACEOF -#line 7412 "configure" + cat > conftest.$ac_ext < #include #include -int +int main () { int major, minor, micro; @@ -7435,7 +6437,7 @@ (liboaf_minor_version != $oaf_config_minor_version) || (liboaf_micro_version != $oaf_config_micro_version)) { - printf("\n*** 'oaf-config --version' returned %d.%d.%d, but OAF (%d.%d.%d)\n", + printf("\n*** 'oaf-config --version' returned %d.%d.%d, but OAF (%d.%d.%d)\n", $oaf_config_major_version, $oaf_config_minor_version, $oaf_config_micro_version, liboaf_major_version, liboaf_minor_version, liboaf_micro_version); printf ("*** was found! If oaf-config was correct, then it is best\n"); @@ -7446,7 +6448,7 @@ printf("*** If oaf-config was wrong, set the environment variable OAF_CONFIG\n"); printf("*** to point to the correct copy of oaf-config, and remove the file config.cache\n"); printf("*** before re-running configure\n"); - } + } #if defined (OAF_MAJOR_VERSION) && defined (OAF_MINOR_VERSION) && defined (OAF_MICRO_VERSION) else if ((liboaf_major_version != OAF_MAJOR_VERSION) || (liboaf_minor_version != OAF_MINOR_VERSION) || @@ -7486,38 +6488,28 @@ return 1; } -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:7491: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:7494: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:7496: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:7499: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +EOF +if { (eval echo configure:6493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then : else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -no_oaf=yes + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + no_oaf=yes fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -fr conftest* fi + CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi if test "x$no_oaf" = x ; then - echo "$as_me:7515: result: yes" >&5 -echo "${ECHO_T}yes" >&6 - : + echo "$ac_t""yes" 1>&6 + : else - echo "$as_me:7519: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 if test "$OAF_CONFIG" = "no" ; then echo "*** The oaf-config script installed by OAF could not be found" echo "*** If OAF was installed in PREFIX, make sure PREFIX/bin is in" @@ -7530,33 +6522,19 @@ echo "*** Could not run OAF test program, checking why..." CFLAGS="$CFLAGS $OAF_CFLAGS" LIBS="$LIBS $OAF_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 7534 "configure" + cat > conftest.$ac_ext < #include -int -main () -{ - return ((liboaf_major_version) || (liboaf_minor_version) || (liboaf_micro_version)); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7549: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:7552: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7555: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:7558: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +int main() { + return ((liboaf_major_version) || (liboaf_minor_version) || (liboaf_micro_version)); +; return 0; } +EOF +if { (eval echo configure:6537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding OAF or finding the wrong" echo "*** version of OAF. If it is not finding OAF, you'll need to set your" @@ -7570,27 +6548,27 @@ echo "*** If you have a RedHat 5.0 system, you should remove the OAF package that" echo "*** came with the system with the command" echo "***" - echo "*** rpm --erase --nodeps oaf oaf-devel" + echo "*** rpm --erase --nodeps oaf oaf-devel" else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 - echo "*** The test program failed to compile or link. See the file config.log for the" + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means OAF was incorrectly installed" echo "*** or that you have moved OAF since it was installed. In the latter case, you" - echo "*** may want to edit the oaf-config script: $OAF_CONFIG" + echo "*** may want to edit the oaf-config script: $OAF_CONFIG" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest* CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi OAF_CFLAGS="" OAF_LIBS="" - { { echo "$as_me:7589: error: OAF not found or too old" >&5 -echo "$as_me: error: OAF not found or too old" >&2;} - { (exit 1); exit 1; }; } + { echo "configure: error: OAF not found or too old" 1>&2; exit 1; } fi - + + rm -f conf.oaftest # Check whether --with-gtk-prefix or --without-gtk-prefix was given. @@ -7599,7 +6577,7 @@ gtk_config_prefix="$withval" else gtk_config_prefix="" -fi; +fi # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. if test "${with_gtk_exec_prefix+set}" = set; then @@ -7607,19 +6585,21 @@ gtk_config_exec_prefix="$withval" else gtk_config_exec_prefix="" -fi; +fi + # Check whether --enable-gtktest or --disable-gtktest was given. if test "${enable_gtktest+set}" = set; then enableval="$enable_gtktest" - + : else enable_gtktest=yes -fi; +fi - for module in . + + for module in . do case "$module" in - gthread) + gthread) gtk_config_args="$gtk_config_args gthread" ;; esac @@ -7640,45 +6620,43 @@ # Extract the first word of "gtk-config", so it can be a program name with args. set dummy gtk-config; ac_word=$2 -echo "$as_me:7643: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_GTK_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:6625: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - case $GTK_CONFIG in - [\\/]* | ?:[\\/]*) + case "$GTK_CONFIG" in + /*) ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path. + ;; *) - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - if $as_executable_p "$ac_dir/$ac_word"; then - ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" - echo "$as_me:7660: found $ac_dir/$ac_word" >&5 - break -fi -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" ;; esac fi -GTK_CONFIG=$ac_cv_path_GTK_CONFIG - +GTK_CONFIG="$ac_cv_path_GTK_CONFIG" if test -n "$GTK_CONFIG"; then - echo "$as_me:7672: result: $GTK_CONFIG" >&5 -echo "${ECHO_T}$GTK_CONFIG" >&6 + echo "$ac_t""$GTK_CONFIG" 1>&6 else - echo "$as_me:7675: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi min_gtk_version=1.2.0 - echo "$as_me:7680: checking for GTK - version >= $min_gtk_version" >&5 -echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 + echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 +echo "configure:6660: checking for GTK - version >= $min_gtk_version" >&5 no_gtk="" if test "$GTK_CONFIG" = "no" ; then no_gtk=yes @@ -7700,15 +6678,15 @@ if test "$cross_compiling" = yes; then echo $ac_n "cross compiling; assumed OK... $ac_c" else - cat >conftest.$ac_ext <<_ACEOF -#line 7704 "configure" + cat > conftest.$ac_ext < #include #include -int +int main () { int major, minor, micro; @@ -7727,7 +6705,7 @@ (gtk_minor_version != $gtk_config_minor_version) || (gtk_micro_version != $gtk_config_micro_version)) { - printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, gtk_major_version, gtk_minor_version, gtk_micro_version); printf ("*** was found! If gtk-config was correct, then it is best\n"); @@ -7738,7 +6716,7 @@ printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); printf("*** before re-running configure\n"); - } + } #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) else if ((gtk_major_version != GTK_MAJOR_VERSION) || (gtk_minor_version != GTK_MINOR_VERSION) || @@ -7778,38 +6756,28 @@ return 1; } -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:7783: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:7786: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:7788: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:7791: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +EOF +if { (eval echo configure:6761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then : else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -no_gtk=yes + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + no_gtk=yes fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -fr conftest* fi + CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi if test "x$no_gtk" = x ; then - echo "$as_me:7807: result: yes" >&5 -echo "${ECHO_T}yes" >&6 - : + echo "$ac_t""yes" 1>&6 + : else - echo "$as_me:7811: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 if test "$GTK_CONFIG" = "no" ; then echo "*** The gtk-config script installed by GTK could not be found" echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" @@ -7822,33 +6790,19 @@ echo "*** Could not run GTK test program, checking why..." CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$LIBS $GTK_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 7826 "configure" + cat > conftest.$ac_ext < #include -int -main () -{ - return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7841: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:7844: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7847: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:7850: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +int main() { + return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); +; return 0; } +EOF +if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK or finding the wrong" echo "*** version of GTK. If it is not finding GTK, you'll need to set your" @@ -7862,16 +6816,17 @@ echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" echo "*** came with the system with the command" echo "***" - echo "*** rpm --erase --nodeps gtk gtk-devel" + echo "*** rpm --erase --nodeps gtk gtk-devel" else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 - echo "*** The test program failed to compile or link. See the file config.log for the" + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means GTK was incorrectly installed" echo "*** or that you have moved GTK since it was installed. In the latter case, you" - echo "*** may want to edit the gtk-config script: $GTK_CONFIG" + echo "*** may want to edit the gtk-config script: $GTK_CONFIG" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest* CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi @@ -7880,9 +6835,13 @@ GTK_LIBS="" HAVE_GTK=no fi - + + rm -f conf.gtktest + + + if test x$HAVE_GTK != xno; then GTK_TRUE= GTK_FALSE='#' @@ -7893,111 +6852,94 @@ # Extract the first word of "xml-config", so it can be a program name with args. set dummy xml-config; ac_word=$2 -echo "$as_me:7896: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_XML_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:6857: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_XML_CONFIG'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - case $XML_CONFIG in - [\\/]* | ?:[\\/]*) + case "$XML_CONFIG" in + /*) ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a dos path. + ;; *) - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - if $as_executable_p "$ac_dir/$ac_word"; then - ac_cv_path_XML_CONFIG="$ac_dir/$ac_word" - echo "$as_me:7913: found $ac_dir/$ac_word" >&5 - break -fi -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_XML_CONFIG="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" test -z "$ac_cv_path_XML_CONFIG" && ac_cv_path_XML_CONFIG="no" ;; esac fi -XML_CONFIG=$ac_cv_path_XML_CONFIG - +XML_CONFIG="$ac_cv_path_XML_CONFIG" if test -n "$XML_CONFIG"; then - echo "$as_me:7925: result: $XML_CONFIG" >&5 -echo "${ECHO_T}$XML_CONFIG" >&6 + echo "$ac_t""$XML_CONFIG" 1>&6 else - echo "$as_me:7928: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi if test x$XML_CONFIG = xno; then - { { echo "$as_me:7933: error: Couldn't find xml-config need to install libxml" >&5 -echo "$as_me: error: Couldn't find xml-config need to install libxml" >&2;} - { (exit 1); exit 1; }; } + { echo "configure: error: Couldn't find xml-config need to install libxml" 1>&2; exit 1; } fi XML_LIBS=`$XML_CONFIG --libs` XML_CFLAGS=`$XML_CONFIG --cflags` if test "x$XML_LIBS" = x; then - { { echo "$as_me:7940: error: Failed to get link flags for libxml" >&5 -echo "$as_me: error: Failed to get link flags for libxml" >&2;} - { (exit 1); exit 1; }; } + { echo "configure: error: Failed to get link flags for libxml" 1>&2; exit 1; } fi + + BDB_LIBS= BDB_CFLAGS= + for dblib in db-3.3 db-3.2 db-3.1 db-3; do - as_ac_Lib=`echo "ac_cv_lib_$dblib''_db_env_create" | $as_tr_sh` -echo "$as_me:7950: checking for db_env_create in -l$dblib" >&5 -echo $ECHO_N "checking for db_env_create in -l$dblib... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Lib+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "checking for db_env_create in -l$dblib""... $ac_c" 1>&6 +echo "configure:6907: checking for db_env_create in -l$dblib" >&5 +ac_lib_var=`echo $dblib'_'db_env_create | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_check_lib_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-l$dblib $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 7958 "configure" +cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:7980: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7983: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:7986: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_Lib=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_Lib=no" -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:7997: result: `eval echo '${'$as_ac_Lib'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 -if test `eval echo '${'$as_ac_Lib'}'` = yes; then + builtin and then its argument prototype would still apply. */ +char db_env_create(); + +int main() { +db_env_create() +; return 0; } +EOF +if { (eval echo configure:6926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 BDB_LIBS=-l$dblib +else + echo "$ac_t""no" 1>&6 fi if test "x$BDB_LIBS" != x; then @@ -8006,64 +6948,53 @@ done if test "x$BDB_LIBS" = x; then - { echo "$as_me:8009: WARNING: No db3 library found. Not building bdb backend." >&5 -echo "$as_me: WARNING: No db3 library found. Not building bdb backend." >&2;} + echo "configure: warning: No db3 library found. Not building bdb backend." 1>&2 else - -for ac_header in db3/db.h + for ac_hdr in db.h do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:8016: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:6958: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8022 "configure" + cat > conftest.$ac_ext < -_ACEOF -if { (eval echo "$as_me:8026: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:8032: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - eval "$as_ac_Header=yes" +#include <$ac_hdr> +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:6968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" else - echo "$as_me: failed program was:" >&5 + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - eval "$as_ac_Header=no" + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest* fi -echo "$as_me:8051: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&5 -echo "$as_me: error: db3 library found but db3/db.h not found" >&2;} - { (exit 1); exit 1; }; } + echo "$ac_t""no" 1>&6 +{ echo "configure: error: db3 library found but db3/db.h not found" 1>&2; exit 1; } fi done fi + + if test -n "$BDB_LIBS"; then BDB_TRUE= BDB_FALSE='#' @@ -8072,103 +7003,102 @@ BDB_FALSE= fi + + + # Extract the first word of "orbit-config", so it can be a program name with args. set dummy orbit-config; ac_word=$2 -echo "$as_me:8077: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_ORBIT_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:7013: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_ORBIT_CONFIG'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - case $ORBIT_CONFIG in - [\\/]* | ?:[\\/]*) + case "$ORBIT_CONFIG" in + /*) ac_cv_path_ORBIT_CONFIG="$ORBIT_CONFIG" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_ORBIT_CONFIG="$ORBIT_CONFIG" # Let the user override the test with a dos path. + ;; *) - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - if $as_executable_p "$ac_dir/$ac_word"; then - ac_cv_path_ORBIT_CONFIG="$ac_dir/$ac_word" - echo "$as_me:8094: found $ac_dir/$ac_word" >&5 - break -fi -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_ORBIT_CONFIG="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" test -z "$ac_cv_path_ORBIT_CONFIG" && ac_cv_path_ORBIT_CONFIG="no" ;; esac fi -ORBIT_CONFIG=$ac_cv_path_ORBIT_CONFIG - +ORBIT_CONFIG="$ac_cv_path_ORBIT_CONFIG" if test -n "$ORBIT_CONFIG"; then - echo "$as_me:8106: result: $ORBIT_CONFIG" >&5 -echo "${ECHO_T}$ORBIT_CONFIG" >&6 + echo "$ac_t""$ORBIT_CONFIG" 1>&6 else - echo "$as_me:8109: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi if test x$ORBIT_CONFIG = xno; then - { { echo "$as_me:8114: error: Couldn't find orbit-config" >&5 -echo "$as_me: error: Couldn't find orbit-config" >&2;} - { (exit 1); exit 1; }; } + { echo "configure: error: Couldn't find orbit-config" 1>&2; exit 1; } fi ORBIT_LIBS=`$ORBIT_CONFIG --libs server` ORBIT_CFLAGS=`$ORBIT_CONFIG --cflags server` + + # Extract the first word of "guile-config", so it can be a program name with args. set dummy guile-config; ac_word=$2 -echo "$as_me:8124: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_GUILE_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:7058: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_GUILE_CONFIG'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - case $GUILE_CONFIG in - [\\/]* | ?:[\\/]*) + case "$GUILE_CONFIG" in + /*) ac_cv_path_GUILE_CONFIG="$GUILE_CONFIG" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_GUILE_CONFIG="$GUILE_CONFIG" # Let the user override the test with a dos path. + ;; *) - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - if $as_executable_p "$ac_dir/$ac_word"; then - ac_cv_path_GUILE_CONFIG="$ac_dir/$ac_word" - echo "$as_me:8141: found $ac_dir/$ac_word" >&5 - break -fi -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_GUILE_CONFIG="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" test -z "$ac_cv_path_GUILE_CONFIG" && ac_cv_path_GUILE_CONFIG="no" ;; esac fi -GUILE_CONFIG=$ac_cv_path_GUILE_CONFIG - +GUILE_CONFIG="$ac_cv_path_GUILE_CONFIG" if test -n "$GUILE_CONFIG"; then - echo "$as_me:8153: result: $GUILE_CONFIG" >&5 -echo "${ECHO_T}$GUILE_CONFIG" >&6 + echo "$ac_t""$GUILE_CONFIG" 1>&6 else - echo "$as_me:8156: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi if (test x$GUILE_CONFIG = xno); then - { echo "$as_me:8161: WARNING: didn't find guile-config" >&5 -echo "$as_me: WARNING: didn't find guile-config" >&2;} + echo "configure: warning: didn't find guile-config" 1>&2 else GUILE_LIBS=`$GUILE_CONFIG link` GUILE_CFLAGS=`$GUILE_CONFIG compile` fi if (test -z "$GUILE_LIBS"); then - { echo "$as_me:8168: WARNING: guile-config reports no libraries" >&5 -echo "$as_me: WARNING: guile-config reports no libraries" >&2;} + echo "configure: warning: guile-config reports no libraries" 1>&2 fi + + if test -n "$GUILE_LIBS"; then GUILE_TRUE= GUILE_FALSE='#' @@ -8177,47 +7107,43 @@ GUILE_FALSE= fi -echo "$as_me:8180: checking for pthread.h" >&5 -echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 -if test "${ac_cv_header_pthread_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + + +ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for pthread.h""... $ac_c" 1>&6 +echo "configure:7115: checking for pthread.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8186 "configure" + cat > conftest.$ac_ext < -_ACEOF -if { (eval echo "$as_me:8190: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:8196: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_cv_header_pthread_h=yes +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:7125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" else - echo "$as_me: failed program was:" >&5 + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - ac_cv_header_pthread_h=no + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest* fi -echo "$as_me:8215: result: $ac_cv_header_pthread_h" >&5 -echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 -if test $ac_cv_header_pthread_h = yes; then +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 have_pthreads=yes +else + echo "$ac_t""no" 1>&6 fi + + if test -n "$have_pthreads"; then PTHREADS_TRUE= PTHREADS_FALSE='#' @@ -8228,671 +7154,381 @@ for ac_func in nanosleep do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:8232: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:7159: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8238 "configure" + cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -char (*f) (); + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { -int -main () -{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -f = $ac_func; +$ac_func(); #endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8269: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:8272: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8275: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:8278: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:8288: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 fi done for ac_func in usleep do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:8301: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:7214: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8307 "configure" + cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -char (*f) (); + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { -int -main () -{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -f = $ac_func; +$ac_func(); #endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8338: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:8341: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8344: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:8347: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:8357: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 fi done + for ac_func in flockfile do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:8370: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:7270: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8376 "configure" + cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -char (*f) (); + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { -int -main () -{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -f = $ac_func; +$ac_func(); #endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8407: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:8410: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8413: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:8416: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:8426: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 fi done + fi # docs_only ALL_LINGUAS="az ca cs da de el es eu fi fr ga gl hu it ja ko nl nn no pl pt pt_BR ru sk sl sv tr uk zh_CN" -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -echo "$as_me:8443: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_RANLIB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +# Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:7330: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -echo "$as_me:8458: found $ac_dir/$ac_word" >&5 -break -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_RANLIB="ranlib" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" fi fi -RANLIB=$ac_cv_prog_RANLIB +RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then - echo "$as_me:8466: result: $RANLIB" >&5 -echo "${ECHO_T}$RANLIB" >&6 + echo "$ac_t""$RANLIB" 1>&6 else - echo "$as_me:8469: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -echo "$as_me:8478: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - $as_executable_p "$ac_dir/$ac_word" || continue -ac_cv_prog_ac_ct_RANLIB="ranlib" -echo "$as_me:8493: found $ac_dir/$ac_word" >&5 -break -done - - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - echo "$as_me:8502: result: $ac_ct_RANLIB" >&5 -echo "${ECHO_T}$ac_ct_RANLIB" >&6 +echo $ac_n "checking for working const""... $ac_c" 1>&6 +echo "configure:7358: checking for working const" >&5 +if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - echo "$as_me:8505: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi + cat > conftest.$ac_ext <&5 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 -if test "${ac_cv_prog_cc_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_prog_cc_stdc=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -#line 8522 "configure" -#include "confdefs.h" -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; +/* Ultrix mips cc rejects this. */ +typedef int charset[2]; const charset x; +/* SunOS 4.1.1 cc rejects this. */ +char const *const *ccp; +char **p; +/* NEC SVR4.0.2 mips cc rejects this. */ +struct point {int x, y;}; +static struct point const zero = {0,0}; +/* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in an arm + of an if-expression whose if-part is not a constant expression */ +const char *g = "string"; +ccp = &g + (g ? g-g : 0); +/* HPUX 7.0 cc rejects these. */ +++ccp; +p = (char**) ccp; +ccp = (char const *const *) p; +{ /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; +} +{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; +} +{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; +} +{ /* AIX XL C 1.02.0.0 rejects this saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; } -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; +{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; } -_ACEOF -# Don't try gcc -ansi; that turns off useful extensions and -# breaks some systems' header files. -# AIX -qlanglvl=ansi -# Ultrix and OSF/1 -std1 -# HP-UX 10.20 and later -Ae -# HP-UX older versions -Aa -D_HPUX_SOURCE -# SVR4 -Xc -D__EXTENSIONS__ -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (eval echo "$as_me:8571: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:8574: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:8577: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:8580: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_prog_cc_stdc=$ac_arg -break -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -fi -rm -f conftest.$ac_objext -done -rm -f conftest.$ac_ext conftest.$ac_objext -CC=$ac_save_CC - -fi - -case "x$ac_cv_prog_cc_stdc" in - x|xno) - echo "$as_me:8597: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6 ;; - *) - echo "$as_me:8600: result: $ac_cv_prog_cc_stdc" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 - CC="$CC $ac_cv_prog_cc_stdc" ;; -esac - -echo "$as_me:8605: checking for an ANSI C-conforming const" >&5 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 -if test "${ac_cv_c_const+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line 8611 "configure" -#include "confdefs.h" - -int -main () -{ -/* FIXME: Include the comments suggested by Paul. */ -#ifndef __cplusplus - /* Ultrix mips cc rejects this. */ - typedef int charset[2]; - const charset x; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *ccp; - char **p; - /* NEC SVR4.0.2 mips cc rejects this. */ - struct point {int x, y;}; - static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in - an arm of an if-expression whose if-part is not a constant - expression */ - const char *g = "string"; - ccp = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++ccp; - p = (char**) ccp; - ccp = (char const *const *) p; - { /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - } - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x[] = {25, 17}; - const int *foo = &x[0]; - ++foo; - } - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; - } - { /* AIX XL C 1.02.0.0 rejects this saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; - } - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; - } -#endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:8669: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:8672: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:8675: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:8678: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +; return 0; } +EOF +if { (eval echo configure:7412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_c_const=yes else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_c_const=no + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_c_const=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest* fi -echo "$as_me:8688: result: $ac_cv_c_const" >&5 -echo "${ECHO_T}$ac_cv_c_const" >&6 -if test $ac_cv_c_const = no; then -cat >>confdefs.h <<\EOF -#define const +echo "$ac_t""$ac_cv_c_const" 1>&6 +if test $ac_cv_c_const = no; then + cat >> confdefs.h <<\EOF +#define const EOF fi -echo "$as_me:8698: checking for inline" >&5 -echo $ECHO_N "checking for inline... $ECHO_C" >&6 -if test "${ac_cv_c_inline+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for inline""... $ac_c" 1>&6 +echo "configure:7433: checking for inline" >&5 +if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do - cat >conftest.$ac_ext <<_ACEOF -#line 8706 "configure" + cat > conftest.$ac_ext <&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:8718: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:8721: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:8724: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +int main() { +} $ac_kw foo() { +; return 0; } +EOF +if { (eval echo configure:7447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_c_inline=$ac_kw; break else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest* done fi -echo "$as_me:8735: result: $ac_cv_c_inline" >&5 -echo "${ECHO_T}$ac_cv_c_inline" >&6 -case $ac_cv_c_inline in + +echo "$ac_t""$ac_cv_c_inline" 1>&6 +case "$ac_cv_c_inline" in inline | yes) ;; - no) -cat >>confdefs.h <<\EOF -#define inline + no) cat >> confdefs.h <<\EOF +#define inline EOF ;; - *) cat >>confdefs.h <> confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line 8762 "configure" -#include "confdefs.h" -$ac_includes_default -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:8768: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:8771: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:8774: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:8777: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_Header=no" -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:8787: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <&5 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6 -if test "${ac_cv_type_off_t+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for off_t""... $ac_c" 1>&6 +echo "configure:7473: checking for off_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8803 "configure" + cat > conftest.$ac_ext <&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:8821: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:8824: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:8827: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +#include +#if STDC_HEADERS +#include +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_type_off_t=yes else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_type_off_t=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:8837: result: $ac_cv_type_off_t" >&5 -echo "${ECHO_T}$ac_cv_type_off_t" >&6 -if test $ac_cv_type_off_t = yes; then - : -else + rm -rf conftest* + ac_cv_type_off_t=no +fi +rm -f conftest* -cat >>confdefs.h <&6 +if test $ac_cv_type_off_t = no; then + cat >> confdefs.h <<\EOF #define off_t long EOF fi -echo "$as_me:8849: checking for size_t" >&5 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6 -if test "${ac_cv_type_size_t+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for size_t""... $ac_c" 1>&6 +echo "configure:7506: checking for size_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8855 "configure" + cat > conftest.$ac_ext <&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:8873: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:8876: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:8879: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +#include +#if STDC_HEADERS +#include +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_type_size_t=yes else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_type_size_t=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:8889: result: $ac_cv_type_size_t" >&5 -echo "${ECHO_T}$ac_cv_type_size_t" >&6 -if test $ac_cv_type_size_t = yes; then - : -else + rm -rf conftest* + ac_cv_type_size_t=no +fi +rm -f conftest* -cat >>confdefs.h <&6 +if test $ac_cv_type_size_t = no; then + cat >> confdefs.h <<\EOF #define size_t unsigned EOF @@ -8900,61 +7536,48 @@ # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! -echo "$as_me:8903: checking for working alloca.h" >&5 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 -if test "${ac_cv_working_alloca_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 +echo "configure:7541: checking for working alloca.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8909 "configure" + cat > conftest.$ac_ext < -int -main () -{ -char *p = (char *) alloca (2 * sizeof (int)); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8921: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:8924: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8927: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:8930: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_working_alloca_h=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_working_alloca_h=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:8940: result: $ac_cv_working_alloca_h" >&5 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 -if test $ac_cv_working_alloca_h = yes; then +int main() { +char *p = alloca(2 * sizeof(int)); +; return 0; } +EOF +if { (eval echo configure:7553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_header_alloca_h=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_alloca_h=no +fi +rm -f conftest* +fi -cat >>confdefs.h <<\EOF +echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 +if test $ac_cv_header_alloca_h = yes; then + cat >> confdefs.h <<\EOF #define HAVE_ALLOCA_H 1 EOF fi -echo "$as_me:8950: checking for alloca" >&5 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6 -if test "${ac_cv_func_alloca_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for alloca""... $ac_c" 1>&6 +echo "configure:7574: checking for alloca" >&5 +if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8956 "configure" + cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:8991: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8994: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:8997: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +int main() { +char *p = (char *) alloca(1); +; return 0; } +EOF +if { (eval echo configure:7607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_func_alloca_works=yes else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_alloca_works=no + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_alloca_works=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest* fi -echo "$as_me:9007: result: $ac_cv_func_alloca_works" >&5 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 +echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 if test $ac_cv_func_alloca_works = yes; then - -cat >>confdefs.h <<\EOF + cat >> confdefs.h <<\EOF #define HAVE_ALLOCA 1 EOF -else - # The SVR3 libPW and SVR4 libucb both contain incompatible functions -# that cause trouble. Some versions do not even contain alloca or -# contain a buggy version. If you still want to use their alloca, -# use ar to extract alloca.o from them instead of compiling alloca.c. - -ALLOCA=alloca.$ac_objext +fi -cat >>confdefs.h <<\EOF +if test $ac_cv_func_alloca_works = no; then + # The SVR3 libPW and SVR4 libucb both contain incompatible functions + # that cause trouble. Some versions do not even contain alloca or + # contain a buggy version. If you still want to use their alloca, + # use ar to extract alloca.o from them instead of compiling alloca.c. + ALLOCA=alloca.${ac_objext} + cat >> confdefs.h <<\EOF #define C_ALLOCA 1 EOF -echo "$as_me:9028: checking whether \`alloca.c' needs Cray hooks" >&5 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 -if test "${ac_cv_os_cray+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + +echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 +echo "configure:7639: checking whether alloca needs Cray hooks" >&5 +if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 9034 "configure" + cat > conftest.$ac_ext <&5 | egrep "webecray" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_os_cray=yes else + rm -rf conftest* ac_cv_os_cray=no fi rm -f conftest* fi -echo "$as_me:9052: result: $ac_cv_os_cray" >&5 -echo "${ECHO_T}$ac_cv_os_cray" >&6 + +echo "$ac_t""$ac_cv_os_cray" 1>&6 if test $ac_cv_os_cray = yes; then - for ac_func in _getb67 GETB67 getb67; do - as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:9057: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +for ac_func in _getb67 GETB67 getb67; do + echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:7669: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 9063 "configure" + cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -char (*f) (); + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { -int -main () -{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -f = $ac_func; +$ac_func(); #endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9094: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:9097: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9100: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:9103: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:9113: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +; return 0; } +EOF +if { (eval echo configure:7697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi -cat >>confdefs.h <&6 + cat >> confdefs.h <&6 fi - done +done fi -echo "$as_me:9127: checking stack direction for C alloca" >&5 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 -if test "${ac_cv_c_stack_direction+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 +echo "configure:7724: checking stack direction for C alloca" >&5 +if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else - cat >conftest.$ac_ext <<_ACEOF -#line 9136 "configure" + cat > conftest.$ac_ext < addr) ? 1 : -1; } - -int main () { - exit (find_stack_direction () < 0); + exit (find_stack_direction() < 0); } -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:9159: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:9162: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:9164: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:9167: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +EOF +if { (eval echo configure:7751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then ac_cv_c_stack_direction=1 else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_c_stack_direction=-1 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_c_stack_direction=-1 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -fr conftest* fi + fi -echo "$as_me:9179: result: $ac_cv_c_stack_direction" >&5 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 -cat >>confdefs.h <&6 +cat >> confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line 9197 "configure" -#include "confdefs.h" -#include <$ac_header> -_ACEOF -if { (eval echo "$as_me:9201: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:9207: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - eval "$as_ac_Header=no" -fi -rm -f conftest.err conftest.$ac_ext -fi -echo "$as_me:9226: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <&6 +echo "configure:7776: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < EOF - +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:7786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 fi done for ac_func in getpagesize do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:9239: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:7815: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 9245 "configure" + cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -char (*f) (); + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { -int -main () -{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -f = $ac_func; +$ac_func(); #endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9276: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:9279: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9282: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:9285: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:9295: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 fi done -echo "$as_me:9305: checking for working mmap" >&5 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 -if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for working mmap""... $ac_c" 1>&6 +echo "configure:7868: checking for working mmap" >&5 +if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_func_mmap_fixed_mapped=no else - cat >conftest.$ac_ext <<_ACEOF -#line 9314 "configure" + cat > conftest.$ac_ext < #include #include -#if !STDC_HEADERS && !HAVE_STDLIB_H -char *malloc (); -#endif - /* This mess was copied from the GNU getpagesize.h. */ -#if !HAVE_GETPAGESIZE +#ifndef HAVE_GETPAGESIZE +# ifdef HAVE_UNISTD_H +# include +# endif + /* Assume that all systems that can run configure have sys/param.h. */ -# if !HAVE_SYS_PARAM_H +# ifndef HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ -# if HAVE_SYS_PARAM_H +# ifdef HAVE_SYS_PARAM_H # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE @@ -9380,352 +7941,308 @@ #endif /* no HAVE_GETPAGESIZE */ +#ifdef __cplusplus +extern "C" { void *malloc(unsigned); } +#else +char *malloc(); +#endif + int -main () +main() { - char *data, *data2, *data3; - int i, pagesize; - int fd; - - pagesize = getpagesize (); - - /* First, make a file with some known garbage in it. */ - data = (char *) malloc (pagesize); - if (!data) - exit (1); - for (i = 0; i < pagesize; ++i) - *(data + i) = rand (); - umask (0); - fd = creat ("conftest.mmap", 0600); - if (fd < 0) - exit (1); - if (write (fd, data, pagesize) != pagesize) - exit (1); - close (fd); - - /* Next, try to mmap the file at a fixed address which already has - something else allocated at it. If we can, also make sure that - we see the same garbage. */ - fd = open ("conftest.mmap", O_RDWR); - if (fd < 0) - exit (1); - data2 = (char *) malloc (2 * pagesize); - if (!data2) - exit (1); - data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); - if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, - MAP_PRIVATE | MAP_FIXED, fd, 0L)) - exit (1); - for (i = 0; i < pagesize; ++i) - if (*(data + i) != *(data2 + i)) - exit (1); - - /* Finally, make sure that changes to the mapped area do not - percolate back to the file as seen by read(). (This is a bug on - some variants of i386 svr4.0.) */ - for (i = 0; i < pagesize; ++i) - *(data2 + i) = *(data2 + i) + 1; - data3 = (char *) malloc (pagesize); - if (!data3) - exit (1); - if (read (fd, data3, pagesize) != pagesize) - exit (1); - for (i = 0; i < pagesize; ++i) - if (*(data + i) != *(data3 + i)) - exit (1); - close (fd); - exit (0); + char *data, *data2, *data3; + int i, pagesize; + int fd; + + pagesize = getpagesize(); + + /* + * First, make a file with some known garbage in it. + */ + data = malloc(pagesize); + if (!data) + exit(1); + for (i = 0; i < pagesize; ++i) + *(data + i) = rand(); + umask(0); + fd = creat("conftestmmap", 0600); + if (fd < 0) + exit(1); + if (write(fd, data, pagesize) != pagesize) + exit(1); + close(fd); + + /* + * Next, try to mmap the file at a fixed address which + * already has something else allocated at it. If we can, + * also make sure that we see the same garbage. + */ + fd = open("conftestmmap", O_RDWR); + if (fd < 0) + exit(1); + data2 = malloc(2 * pagesize); + if (!data2) + exit(1); + data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); + if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_FIXED, fd, 0L)) + exit(1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data2 + i)) + exit(1); + + /* + * Finally, make sure that changes to the mapped area + * do not percolate back to the file as seen by read(). + * (This is a bug on some variants of i386 svr4.0.) + */ + for (i = 0; i < pagesize; ++i) + *(data2 + i) = *(data2 + i) + 1; + data3 = malloc(pagesize); + if (!data3) + exit(1); + if (read(fd, data3, pagesize) != pagesize) + exit(1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data3 + i)) + exit(1); + close(fd); + unlink("conftestmmap"); + exit(0); } -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:9441: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:9444: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:9446: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:9449: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + +EOF +if { (eval echo configure:8016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then ac_cv_func_mmap_fixed_mapped=yes else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_mmap_fixed_mapped=no + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_mmap_fixed_mapped=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -fr conftest* fi + fi -echo "$as_me:9461: result: $ac_cv_func_mmap_fixed_mapped" >&5 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 -if test $ac_cv_func_mmap_fixed_mapped = yes; then -cat >>confdefs.h <<\EOF +echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 +if test $ac_cv_func_mmap_fixed_mapped = yes; then + cat >> confdefs.h <<\EOF #define HAVE_MMAP 1 EOF fi -rm -f conftest.mmap -for ac_header in argz.h limits.h locale.h nl_types.h malloc.h string.h \ + + for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ unistd.h sys/param.h do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:9476: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line 9482 "configure" -#include "confdefs.h" -#include <$ac_header> -_ACEOF -if { (eval echo "$as_me:9486: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:9492: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - eval "$as_ac_Header=no" -fi -rm -f conftest.err conftest.$ac_ext -fi -echo "$as_me:9511: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <&6 +echo "configure:8044: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < EOF - +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:8054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 fi done -for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ + for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ strdup __argz_count __argz_stringify __argz_next do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:9525: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:8084: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 9531 "configure" + cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -char (*f) (); + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { -int -main () -{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -f = $ac_func; +$ac_func(); #endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9562: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:9565: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9568: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:9571: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:9581: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 fi done - if test "${ac_cv_func_stpcpy+set}" != "set"; then -for ac_func in stpcpy + if test "${ac_cv_func_stpcpy+set}" != "set"; then + for ac_func in stpcpy do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:9596: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:8141: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 9602 "configure" + cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -char (*f) (); + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { -int -main () -{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -f = $ac_func; +$ac_func(); #endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9633: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:9636: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9639: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:9642: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:9652: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 fi done fi if test "${ac_cv_func_stpcpy}" = "yes"; then - cat >>confdefs.h <<\EOF + cat >> confdefs.h <<\EOF #define HAVE_STPCPY 1 EOF fi - if test $ac_cv_header_locale_h = yes; then - echo "$as_me:9671: checking for LC_MESSAGES" >&5 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 -if test "${am_cv_val_LC_MESSAGES+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + + echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 +echo "configure:8203: checking for LC_MESSAGES" >&5 +if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 9677 "configure" + cat > conftest.$ac_ext < -int -main () -{ +int main() { return LC_MESSAGES - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9689: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:9692: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9695: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:9698: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +; return 0; } +EOF +if { (eval echo configure:8215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* am_cv_val_LC_MESSAGES=yes else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -am_cv_val_LC_MESSAGES=no + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + am_cv_val_LC_MESSAGES=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest* fi -echo "$as_me:9708: result: $am_cv_val_LC_MESSAGES" >&5 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 - if test $am_cv_val_LC_MESSAGES = yes; then -cat >>confdefs.h <<\EOF +echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6 + if test $am_cv_val_LC_MESSAGES = yes; then + cat >> confdefs.h <<\EOF #define HAVE_LC_MESSAGES 1 EOF - fi fi - echo "$as_me:9718: checking whether NLS is requested" >&5 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 + + echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 +echo "configure:8236: checking whether NLS is requested" >&5 # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" USE_NLS=$enableval else USE_NLS=yes -fi; - echo "$as_me:9727: result: $USE_NLS" >&5 -echo "${ECHO_T}$USE_NLS" >&6 +fi + + echo "$ac_t""$USE_NLS" 1>&6 + BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no @@ -9746,198 +8263,148 @@ nls_cv_header_libgt= CATOBJEXT=NONE - echo "$as_me:9749: checking for libintl.h" >&5 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 -if test "${ac_cv_header_libintl_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 +echo "configure:8269: checking for libintl.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 9755 "configure" + cat > conftest.$ac_ext < -_ACEOF -if { (eval echo "$as_me:9759: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:9765: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_cv_header_libintl_h=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_header_libintl_h=no -fi -rm -f conftest.err conftest.$ac_ext -fi -echo "$as_me:9784: result: $ac_cv_header_libintl_h" >&5 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 -if test $ac_cv_header_libintl_h = yes; then - echo "$as_me:9787: checking for dgettext in libc" >&5 -echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6 -if test "${gt_cv_func_dgettext_libc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:8279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + echo $ac_n "checking for dgettext in libc""... $ac_c" 1>&6 +echo "configure:8296: checking for dgettext in libc" >&5 +if eval "test \"`echo '$''{'gt_cv_func_dgettext_libc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 9793 "configure" + cat > conftest.$ac_ext < -int -main () -{ +int main() { return (int) dgettext ("","") - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9805: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:9808: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9811: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:9814: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +; return 0; } +EOF +if { (eval echo configure:8308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* gt_cv_func_dgettext_libc=yes else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -gt_cv_func_dgettext_libc=no + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + gt_cv_func_dgettext_libc=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest* fi -echo "$as_me:9824: result: $gt_cv_func_dgettext_libc" >&5 -echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6 + +echo "$ac_t""$gt_cv_func_dgettext_libc" 1>&6 if test "$gt_cv_func_dgettext_libc" != "yes"; then - echo "$as_me:9828: checking for bindtextdomain in -lintl" >&5 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 -if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 +echo "configure:8324: checking for bindtextdomain in -lintl" >&5 +ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_check_lib_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 9836 "configure" +cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:9858: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9861: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:9864: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_intl_bindtextdomain=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_intl_bindtextdomain=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:9875: result: $ac_cv_lib_intl_bindtextdomain" >&5 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 -if test $ac_cv_lib_intl_bindtextdomain = yes; then - echo "$as_me:9878: checking for dgettext in libintl" >&5 -echo $ECHO_N "checking for dgettext in libintl... $ECHO_C" >&6 -if test "${gt_cv_func_dgettext_libintl+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - echo "$as_me:9883: checking for dgettext in -lintl" >&5 -echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 -if test "${ac_cv_lib_intl_dgettext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + builtin and then its argument prototype would still apply. */ +char bindtextdomain(); + +int main() { +bindtextdomain() +; return 0; } +EOF +if { (eval echo configure:8343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + echo $ac_n "checking for dgettext in libintl""... $ac_c" 1>&6 +echo "configure:8359: checking for dgettext in libintl" >&5 +if eval "test \"`echo '$''{'gt_cv_func_dgettext_libintl'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 +echo "configure:8364: checking for dgettext in -lintl" >&5 +ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_check_lib_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 9891 "configure" +cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:9913: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9916: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:9919: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_intl_dgettext=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_intl_dgettext=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:9930: result: $ac_cv_lib_intl_dgettext" >&5 -echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 -if test $ac_cv_lib_intl_dgettext = yes; then + builtin and then its argument prototype would still apply. */ +char dgettext(); + +int main() { +dgettext() +; return 0; } +EOF +if { (eval echo configure:8383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 gt_cv_func_dgettext_libintl=yes else - gt_cv_func_dgettext_libintl=no + echo "$ac_t""no" 1>&6 +gt_cv_func_dgettext_libintl=no fi fi -echo "$as_me:9939: result: $gt_cv_func_dgettext_libintl" >&5 -echo "${ECHO_T}$gt_cv_func_dgettext_libintl" >&6 + +echo "$ac_t""$gt_cv_func_dgettext_libintl" 1>&6 +else + echo "$ac_t""no" 1>&6 fi fi @@ -9948,224 +8415,254 @@ if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then - cat >>confdefs.h <<\EOF + cat >> confdefs.h <<\EOF #define HAVE_GETTEXT 1 EOF - # Extract the first word of "msgfmt", so it can be a program name with args. + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 -echo "$as_me:9957: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_MSGFMT+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:8455: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else case "$MSGFMT" in - /*) - ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. - ;; + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then - ac_cv_path_MSGFMT="$ac_dir/$ac_word" - break - fi - fi - done - IFS="$ac_save_ifs" + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" - ;; + ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != "no"; then - echo "$as_me:9984: result: $MSGFMT" >&5 -echo "${ECHO_T}$MSGFMT" >&6 + echo "$ac_t""$MSGFMT" 1>&6 else - echo "$as_me:9987: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi if test "$MSGFMT" != "no"; then - -for ac_func in dcgettext + for ac_func in dcgettext do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:9995: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:8492: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 10001 "configure" + cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -char (*f) (); + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { -int -main () -{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -f = $ac_func; +$ac_func(); #endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:10032: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:10035: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:10038: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:10041: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:10051: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 fi done # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 -echo "$as_me:10063: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_GMSGFMT+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:8547: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - case $GMSGFMT in - [\\/]* | ?:[\\/]*) + case "$GMSGFMT" in + /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. + ;; *) - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - if $as_executable_p "$ac_dir/$ac_word"; then - ac_cv_path_GMSGFMT="$ac_dir/$ac_word" - echo "$as_me:10080: found $ac_dir/$ac_word" >&5 - break -fi -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_GMSGFMT="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi -GMSGFMT=$ac_cv_path_GMSGFMT - +GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then - echo "$as_me:10092: result: $GMSGFMT" >&5 -echo "${ECHO_T}$GMSGFMT" >&6 + echo "$ac_t""$GMSGFMT" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" else - echo "$as_me:10095: result: no" >&5 -echo "${ECHO_T}no" >&6 + ac_executable_p="test -f" fi +rm -f conf$$.file - # Extract the first word of "xgettext", so it can be a program name with args. +# Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 -echo "$as_me:10101: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_XGETTEXT+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:8612: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else case "$XGETTEXT" in - /*) - ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. - ;; + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then - ac_cv_path_XGETTEXT="$ac_dir/$ac_word" - break - fi - fi - done - IFS="$ac_save_ifs" + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" - ;; + ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then - echo "$as_me:10128: result: $XGETTEXT" >&5 -echo "${ECHO_T}$XGETTEXT" >&6 + echo "$ac_t""$XGETTEXT" 1>&6 else - echo "$as_me:10131: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi - cat >conftest.$ac_ext <<_ACEOF -#line 10136 "configure" + cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:10152: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:10155: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:10158: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +; return 0; } +EOF +if { (eval echo configure:8655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* CATOBJEXT=.gmo DATADIRNAME=share else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -CATOBJEXT=.mo + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CATOBJEXT=.mo DATADIRNAME=lib fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest* INSTOBJEXT=.mo fi fi @@ -10176,176 +8673,151 @@ INTLLIBS=-lintl LIBS=`echo $LIBS | sed -e 's/-lintl//'` fi - + +else + echo "$ac_t""no" 1>&6 fi - if test "$CATOBJEXT" = "NONE"; then - echo "$as_me:10183: checking whether catgets can be used" >&5 -echo $ECHO_N "checking whether catgets can be used... $ECHO_C" >&6 -# Check whether --with-catgets or --without-catgets was given. + if test "$CATOBJEXT" = "NONE"; then + echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6 +echo "configure:8685: checking whether catgets can be used" >&5 + # Check whether --with-catgets or --without-catgets was given. if test "${with_catgets+set}" = set; then withval="$with_catgets" nls_cv_use_catgets=$withval else nls_cv_use_catgets=no -fi; - echo "$as_me:10193: result: $nls_cv_use_catgets" >&5 -echo "${ECHO_T}$nls_cv_use_catgets" >&6 +fi - if test "$nls_cv_use_catgets" = "yes"; then + echo "$ac_t""$nls_cv_use_catgets" 1>&6 -echo "$as_me:10198: checking for main in -li" >&5 -echo $ECHO_N "checking for main in -li... $ECHO_C" >&6 -if test "${ac_cv_lib_i_main+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + if test "$nls_cv_use_catgets" = "yes"; then + echo $ac_n "checking for main in -li""... $ac_c" 1>&6 +echo "configure:8698: checking for main in -li" >&5 +ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_check_lib_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-li $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 10206 "configure" +cat > conftest.$ac_ext <&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:10221: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:10224: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:10227: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_i_main=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_i_main=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:10238: result: $ac_cv_lib_i_main" >&5 -echo "${ECHO_T}$ac_cv_lib_i_main" >&6 -if test $ac_cv_lib_i_main = yes; then - cat >>confdefs.h <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_lib=HAVE_LIB`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` + cat >> confdefs.h <&6 fi - echo "$as_me:10249: checking for catgets" >&5 -echo $ECHO_N "checking for catgets... $ECHO_C" >&6 -if test "${ac_cv_func_catgets+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "checking for catgets""... $ac_c" 1>&6 +echo "configure:8741: checking for catgets" >&5 +if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 10255 "configure" + cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char catgets (); -char (*f) (); + builtin and then its argument prototype would still apply. */ +char catgets(); + +int main() { -int -main () -{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_catgets) || defined (__stub___catgets) choke me #else -f = catgets; +catgets(); #endif - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:10286: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:10289: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:10292: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:10295: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_catgets=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_catgets=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:10305: result: $ac_cv_func_catgets" >&5 -echo "${ECHO_T}$ac_cv_func_catgets" >&6 -if test $ac_cv_func_catgets = yes; then - cat >>confdefs.h <<\EOF +; return 0; } +EOF +if { (eval echo configure:8769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_catgets=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_catgets=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then + echo "$ac_t""yes" 1>&6 + cat >> confdefs.h <<\EOF #define HAVE_CATGETS 1 EOF INTLOBJS="\$(CATOBJS)" # Extract the first word of "gencat", so it can be a program name with args. set dummy gencat; ac_word=$2 -echo "$as_me:10315: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_GENCAT+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:8791: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - case $GENCAT in - [\\/]* | ?:[\\/]*) + case "$GENCAT" in + /*) ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a dos path. + ;; *) - ac_save_IFS=$IFS; IFS=$ac_path_separator -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - IFS=$ac_save_IFS - test -z "$ac_dir" && ac_dir=. - if $as_executable_p "$ac_dir/$ac_word"; then - ac_cv_path_GENCAT="$ac_dir/$ac_word" - echo "$as_me:10332: found $ac_dir/$ac_word" >&5 - break -fi -done - + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_GENCAT="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT="no" ;; esac fi -GENCAT=$ac_cv_path_GENCAT - +GENCAT="$ac_cv_path_GENCAT" if test -n "$GENCAT"; then - echo "$as_me:10344: result: $GENCAT" >&5 -echo "${ECHO_T}$GENCAT" >&6 + echo "$ac_t""$GENCAT" 1>&6 else - echo "$as_me:10347: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi # if test "$GENCAT" != "no"; then # AC_PATH_PROG(GMSGFMT, gmsgfmt, no) @@ -10365,7 +8837,9 @@ # nls_cv_header_intl=intl/libintl.h # nls_cv_header_libgt=intl/libgettext.h # fi - + +else + echo "$ac_t""no" 1>&6 fi fi @@ -10377,7 +8851,7 @@ fi if test "$nls_cv_use_gnu_gettext" != "yes"; then - cat >>confdefs.h <<\EOF + cat >> confdefs.h <<\EOF #define ENABLE_NLS 1 EOF @@ -10407,8 +8881,7 @@ if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else - echo "$as_me:10410: result: found xgettext program is not GNU xgettext; ignore it" >&5 -echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 + echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6 XGETTEXT=":" fi fi @@ -10420,16 +8893,9 @@ nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h fi - ac_sources="$nls_cv_header_libgt" -ac_dests="$nls_cv_header_intl" -while test -n "$ac_sources"; do - set $ac_dests; ac_dest=$1; shift; ac_dests=$* - set $ac_sources; ac_source=$1; shift; ac_sources=$* - ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source" -done -ac_config_links="$ac_config_links $ac_config_links_1" + + - ac_config_commands="$ac_config_commands default-2" # # If this is used in GNU gettext we have to set USE_NLS to `yes' # # because some of the sources are only built for this goal. @@ -10443,12 +8909,26 @@ POFILES="$POFILES $lang.po" done + + + + + + + + + + + + + + if test "x$CATOBJEXT" != "x"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else - echo "$as_me:10450: checking for catalogs to be installed" >&5 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 + echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 +echo "configure:8932: checking for catalogs to be installed" >&5 NEW_LINGUAS= for lang in ${LINGUAS=$ALL_LINGUAS}; do case "$ALL_LINGUAS" in @@ -10456,8 +8936,7 @@ esac done LINGUAS=$NEW_LINGUAS - echo "$as_me:10459: result: $LINGUAS" >&5 -echo "${ECHO_T}$LINGUAS" >&6 + echo "$ac_t""$LINGUAS" 1>&6 fi if test -n "$LINGUAS"; then @@ -10471,52 +8950,45 @@ INCLUDE_LOCALE_H="\ /* The system does not provide the header . Take care yourself. */" fi + test -d intl || mkdir intl if test "$CATOBJEXT" = ".cat"; then - echo "$as_me:10477: checking for linux/version.h" >&5 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 -if test "${ac_cv_header_linux_version_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 +echo "configure:8960: checking for linux/version.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 10483 "configure" + cat > conftest.$ac_ext < -_ACEOF -if { (eval echo "$as_me:10487: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:10493: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_cv_header_linux_version_h=yes +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:8970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" else - echo "$as_me: failed program was:" >&5 + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - ac_cv_header_linux_version_h=no + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest* fi -echo "$as_me:10512: result: $ac_cv_header_linux_version_h" >&5 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 -if test $ac_cv_header_linux_version_h = yes; then +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 msgformat=linux else - msgformat=xopen + echo "$ac_t""no" 1>&6 +msgformat=xopen fi + sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed fi sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ @@ -10529,6 +9001,8 @@ GT_NO= GT_YES="#YES#" fi + + MKINSTALLDIRS= if test -n "$ac_aux_dir"; then @@ -10537,8 +9011,10 @@ if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi + l= + test -d po || mkdir po if test "x$srcdir" != "x."; then @@ -10553,1046 +9029,560 @@ rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES + # AM_GNU_GETTEXT above substs $DATADIRNAME # this is the directory where the *.{mo,gmo} files are installed gtklocaledir='${prefix}/${DATADIRNAME}/locale' + + + + + ## Just for debugging purposes absolute_top_srcdir=`pwd` -ac_config_files="$ac_config_files Makefile gconf-config gconf.spec gconf.m4 gconf/Makefile gconf/default.path backends/Makefile wrappers/Makefile wrappers/gtk/Makefile po/Makefile.in doc/Makefile doc/gconf/Makefile examples/Makefile tests/Makefile standard-schemas/Makefile gconf.pc gconfgtk.pc" -ac_config_commands="$ac_config_commands default" -cat >confcache <<\_ACEOF + +trap '' 1 2 15 +cat > confcache <<\EOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. +# scripts and configure runs. It is not useful on other systems. +# If it contains results you don't want to keep, you may remove or edit it. # -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. +# By default, configure uses ./config.cache as the cache file, +# creating it if it does not exist already. You can give configure +# the --cache-file=FILE option to use a different cache file; that is +# what configure does when it calls configure scripts in +# subdirectories, so they share the cache. +# Giving --cache-file=/dev/null disables caching, for debugging configure. +# config.status only pays attention to the cache file if you give it the +# --recheck option to rerun configure. # -# `ac_cv_env_foo' variables (set or unset) will be overriden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - +EOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. -{ - (set) 2>&1 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n \ - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" - ;; - esac; -} | - sed ' - t clear - : clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - : end' >>confcache -if cmp -s $cache_file confcache; then :; else +(set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote substitution + # turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + -e "s/'/'\\\\''/g" \ + -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' + ;; + esac >> confcache +if cmp -s $cache_file confcache; then + : +else if test -w $cache_file; then - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" - cat confcache >$cache_file + echo "updating cache $cache_file" + cat confcache > $cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). +# Any assignment to VPATH causes Sun make to only execute +# the first set of double-colon rules, so remove it if not needed. +# If there is a colon in the path, we need to keep it. if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/; -s/:*\${srcdir}:*/:/; -s/:*@srcdir@:*/:/; -s/^\([^=]*=[ ]*\):*/\1/; -s/:*$//; -s/^[^=]*=[ ]*$//; -}' + ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' fi +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 + DEFS=-DHAVE_CONFIG_H +# Without the "./", some shells look in PATH for config.status. : ${CONFIG_STATUS=./config.status} -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:10645: creating $CONFIG_STATUS" >&5 -echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF -#! $SHELL + +echo creating $CONFIG_STATUS +rm -f $CONFIG_STATUS +cat > $CONFIG_STATUS <>$CONFIG_STATUS <<\_ACEOF -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix -fi - -# Name of the executable. -as_me=`echo "$0" |sed 's,.*[\\/],,'` - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links - as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.file - -as_executable_p="test -f" - -# Support unset when possible. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - -# NLS nuisances. -$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } -$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } -$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } -$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } -$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } -$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } -$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } -$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } - -# IFS -# We need space, tab and new line, in precisely that order. -as_nl=' -' -IFS=" $as_nl" - -# CDPATH. -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } - -exec 6>&1 - -_ACEOF - -# Files that config.status was made for. -if test -n "$ac_config_files"; then - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_headers"; then - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_links"; then - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_commands"; then - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS -fi - -cat >>$CONFIG_STATUS <<\EOF - -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 [OPTIONS] [FILE]... - - -h, --help print this help, then exit - -V, --version print version number, then exit - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration links: -$config_links - -Configuration commands: -$config_commands - -Report bugs to ." -EOF - -cat >>$CONFIG_STATUS <>$CONFIG_STATUS <<\EOF -# If no file are specified by the user, then we need to provide default -# value. By we need to know if files were specified by the user. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "x$1" : 'x\([^=]*\)='` - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` - shift - set dummy "$ac_option" "$ac_optarg" ${1+"$@"} - shift - ;; - -*);; - *) # This is not an option, so the user has probably given explicit - # arguments. - ac_need_defaults=false;; - esac - - case $1 in - # Handling of the options. -EOF -cat >>$CONFIG_STATUS <>$CONFIG_STATUS <<\EOF - --version | --vers* | -V ) - echo "$ac_cs_version"; exit 0 ;; - --he | --h) - # Conflict between --help and --header - { { echo "$as_me:10824: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; };; - --help | --hel | -h ) - echo "$ac_cs_usage"; exit 0 ;; - --debug | --d* | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - shift - CONFIG_FILES="$CONFIG_FILES $1" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - shift - CONFIG_HEADERS="$CONFIG_HEADERS $1" - ac_need_defaults=false;; - - # This is an error. - -*) { { echo "$as_me:10843: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" ;; - - esac - shift -done - -exec 5>>config.log -cat >&5 << _ACEOF - -## ----------------------- ## -## Running config.status. ## -## ----------------------- ## - -This file was extended by $as_me 2.52, executed with - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - > $ac_cs_invocation -on `(hostname || uname -n) 2>/dev/null | sed 1q` - -_ACEOF -EOF - -cat >>$CONFIG_STATUS </dev/null | sed 1q`: # -# INIT-COMMANDS section. +# $0 $ac_configure_args # +# Compiler output produced by configure, useful for debugging +# configure, is in ./config.log if it exists. -EOF - -cat >>$CONFIG_STATUS <<\EOF -for ac_config_target in $ac_config_targets +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" +for ac_option do - case "$ac_config_target" in - # Handling of arguments. - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "gconf-config" ) CONFIG_FILES="$CONFIG_FILES gconf-config" ;; - "gconf.spec" ) CONFIG_FILES="$CONFIG_FILES gconf.spec" ;; - "gconf.m4" ) CONFIG_FILES="$CONFIG_FILES gconf.m4" ;; - "gconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES gconf/Makefile" ;; - "gconf/default.path" ) CONFIG_FILES="$CONFIG_FILES gconf/default.path" ;; - "backends/Makefile" ) CONFIG_FILES="$CONFIG_FILES backends/Makefile" ;; - "wrappers/Makefile" ) CONFIG_FILES="$CONFIG_FILES wrappers/Makefile" ;; - "wrappers/gtk/Makefile" ) CONFIG_FILES="$CONFIG_FILES wrappers/gtk/Makefile" ;; - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; - "doc/gconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/gconf/Makefile" ;; - "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; - "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; - "standard-schemas/Makefile" ) CONFIG_FILES="$CONFIG_FILES standard-schemas/Makefile" ;; - "gconf.pc" ) CONFIG_FILES="$CONFIG_FILES gconf.pc" ;; - "gconfgtk.pc" ) CONFIG_FILES="$CONFIG_FILES gconfgtk.pc" ;; - "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;; - "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; - "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - *) { { echo "$as_me:10907: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; + case "\$ac_option" in + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" + exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; + -version | --version | --versio | --versi | --vers | --ver | --ve | --v) + echo "$CONFIG_STATUS generated by autoconf version 2.13" + exit 0 ;; + -help | --help | --hel | --he | --h) + echo "\$ac_cs_usage"; exit 0 ;; + *) echo "\$ac_cs_usage"; exit 1 ;; esac done -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Create a temporary directory, and hook for its removal unless debugging. -$debug || -{ - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} - -# Create a (secure) tmp directory for tmp files. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/cs$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - -EOF - -cat >>$CONFIG_STATUS <> $CONFIG_STATUS < conftest.subs <<\\CEOF +$ac_vpsub +$extrasub +s%@SHELL@%$SHELL%g +s%@CFLAGS@%$CFLAGS%g +s%@CPPFLAGS@%$CPPFLAGS%g +s%@CXXFLAGS@%$CXXFLAGS%g +s%@FFLAGS@%$FFLAGS%g +s%@DEFS@%$DEFS%g +s%@LDFLAGS@%$LDFLAGS%g +s%@LIBS@%$LIBS%g +s%@exec_prefix@%$exec_prefix%g +s%@prefix@%$prefix%g +s%@program_transform_name@%$program_transform_name%g +s%@bindir@%$bindir%g +s%@sbindir@%$sbindir%g +s%@libexecdir@%$libexecdir%g +s%@datadir@%$datadir%g +s%@sysconfdir@%$sysconfdir%g +s%@sharedstatedir@%$sharedstatedir%g +s%@localstatedir@%$localstatedir%g +s%@libdir@%$libdir%g +s%@includedir@%$includedir%g +s%@oldincludedir@%$oldincludedir%g +s%@infodir@%$infodir%g +s%@mandir@%$mandir%g +s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g +s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g +s%@INSTALL_DATA@%$INSTALL_DATA%g +s%@PACKAGE@%$PACKAGE%g +s%@VERSION@%$VERSION%g +s%@ACLOCAL@%$ACLOCAL%g +s%@AUTOCONF@%$AUTOCONF%g +s%@AUTOMAKE@%$AUTOMAKE%g +s%@AUTOHEADER@%$AUTOHEADER%g +s%@MAKEINFO@%$MAKEINFO%g +s%@SET_MAKE@%$SET_MAKE%g +s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g +s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g +s%@MAINT@%$MAINT%g +s%@CC@%$CC%g +s%@CXX@%$CXX%g +s%@CPP@%$CPP%g +s%@host@%$host%g +s%@host_alias@%$host_alias%g +s%@host_cpu@%$host_cpu%g +s%@host_vendor@%$host_vendor%g +s%@host_os@%$host_os%g +s%@build@%$build%g +s%@build_alias@%$build_alias%g +s%@build_cpu@%$build_cpu%g +s%@build_vendor@%$build_vendor%g +s%@build_os@%$build_os%g +s%@LN_S@%$LN_S%g +s%@OBJEXT@%$OBJEXT%g +s%@EXEEXT@%$EXEEXT%g +s%@ECHO@%$ECHO%g +s%@RANLIB@%$RANLIB%g +s%@STRIP@%$STRIP%g +s%@LIBTOOL@%$LIBTOOL%g +s%@MAJOR_VERSION@%$MAJOR_VERSION%g +s%@GETTEXT_PACKAGE@%$GETTEXT_PACKAGE%g +s%@SCMGCONF_CURRENT@%$SCMGCONF_CURRENT%g +s%@SCMGCONF_REVISION@%$SCMGCONF_REVISION%g +s%@SCMGCONF_AGE@%$SCMGCONF_AGE%g +s%@GCONFGTK_CURRENT@%$GCONFGTK_CURRENT%g +s%@GCONFGTK_REVISION@%$GCONFGTK_REVISION%g +s%@GCONFGTK_AGE@%$GCONFGTK_AGE%g +s%@GCONF_CURRENT@%$GCONF_CURRENT%g +s%@GCONF_REVISION@%$GCONF_REVISION%g +s%@GCONF_AGE@%$GCONF_AGE%g +s%@EXPANDED_SYSCONFDIR@%$EXPANDED_SYSCONFDIR%g +s%@GCONF_CONFIG_SOURCE@%$GCONF_CONFIG_SOURCE%g +s%@INSTALL_GCONF_CONFIG_SOURCE@%$INSTALL_GCONF_CONFIG_SOURCE%g +s%@POPT_LIBS@%$POPT_LIBS%g +s%@GLIB_CONFIG@%$GLIB_CONFIG%g +s%@GLIB_CFLAGS@%$GLIB_CFLAGS%g +s%@GLIB_LIBS@%$GLIB_LIBS%g +s%@OAF_CONFIG@%$OAF_CONFIG%g +s%@OAF_CFLAGS@%$OAF_CFLAGS%g +s%@OAF_LIBS@%$OAF_LIBS%g +s%@GTK_CONFIG@%$GTK_CONFIG%g +s%@GTK_CFLAGS@%$GTK_CFLAGS%g +s%@GTK_LIBS@%$GTK_LIBS%g +s%@GTK_TRUE@%$GTK_TRUE%g +s%@GTK_FALSE@%$GTK_FALSE%g +s%@XML_CONFIG@%$XML_CONFIG%g +s%@XML_LIBS@%$XML_LIBS%g +s%@XML_CFLAGS@%$XML_CFLAGS%g +s%@BDB_TRUE@%$BDB_TRUE%g +s%@BDB_FALSE@%$BDB_FALSE%g +s%@BDB_LIBS@%$BDB_LIBS%g +s%@BDB_CFLAGS@%$BDB_CFLAGS%g +s%@ORBIT_CONFIG@%$ORBIT_CONFIG%g +s%@ORBIT_LIBS@%$ORBIT_LIBS%g +s%@ORBIT_CFLAGS@%$ORBIT_CFLAGS%g +s%@GUILE_CONFIG@%$GUILE_CONFIG%g +s%@GUILE_TRUE@%$GUILE_TRUE%g +s%@GUILE_FALSE@%$GUILE_FALSE%g +s%@GUILE_LIBS@%$GUILE_LIBS%g +s%@GUILE_CFLAGS@%$GUILE_CFLAGS%g +s%@PTHREADS_TRUE@%$PTHREADS_TRUE%g +s%@PTHREADS_FALSE@%$PTHREADS_FALSE%g +s%@ALLOCA@%$ALLOCA%g +s%@USE_NLS@%$USE_NLS%g +s%@MSGFMT@%$MSGFMT%g +s%@GMSGFMT@%$GMSGFMT%g +s%@XGETTEXT@%$XGETTEXT%g +s%@GENCAT@%$GENCAT%g +s%@BUILD_INCLUDED_LIBINTL@%$BUILD_INCLUDED_LIBINTL%g +s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g +s%@CATALOGS@%$CATALOGS%g +s%@CATOBJEXT@%$CATOBJEXT%g +s%@DATADIRNAME@%$DATADIRNAME%g +s%@GMOFILES@%$GMOFILES%g +s%@INSTOBJEXT@%$INSTOBJEXT%g +s%@INTLDEPS@%$INTLDEPS%g +s%@INTLLIBS@%$INTLLIBS%g +s%@INTLOBJS@%$INTLOBJS%g +s%@POFILES@%$POFILES%g +s%@POSUB@%$POSUB%g +s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g +s%@GT_NO@%$GT_NO%g +s%@GT_YES@%$GT_YES%g +s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g +s%@l@%$l%g +s%@gconflocaledir@%$gconflocaledir%g +s%@absolute_top_srcdir@%$absolute_top_srcdir%g -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h -if test -n "\$CONFIG_FILES"; then - # Protect against being on the right side of a sed subst in config.status. - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF -s,@SHELL@,$SHELL,;t t -s,@exec_prefix@,$exec_prefix,;t t -s,@prefix@,$prefix,;t t -s,@program_transform_name@,$program_transform_name,;t t -s,@bindir@,$bindir,;t t -s,@sbindir@,$sbindir,;t t -s,@libexecdir@,$libexecdir,;t t -s,@datadir@,$datadir,;t t -s,@sysconfdir@,$sysconfdir,;t t -s,@sharedstatedir@,$sharedstatedir,;t t -s,@localstatedir@,$localstatedir,;t t -s,@libdir@,$libdir,;t t -s,@includedir@,$includedir,;t t -s,@oldincludedir@,$oldincludedir,;t t -s,@infodir@,$infodir,;t t -s,@mandir@,$mandir,;t t -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t -s,@build_alias@,$build_alias,;t t -s,@host_alias@,$host_alias,;t t -s,@target_alias@,$target_alias,;t t -s,@ECHO_C@,$ECHO_C,;t t -s,@ECHO_N@,$ECHO_N,;t t -s,@ECHO_T@,$ECHO_T,;t t -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t -s,@DEFS@,$DEFS,;t t -s,@LIBS@,$LIBS,;t t -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t -s,@INSTALL_DATA@,$INSTALL_DATA,;t t -s,@PACKAGE@,$PACKAGE,;t t -s,@VERSION@,$VERSION,;t t -s,@ACLOCAL@,$ACLOCAL,;t t -s,@AUTOCONF@,$AUTOCONF,;t t -s,@AUTOMAKE@,$AUTOMAKE,;t t -s,@AUTOHEADER@,$AUTOHEADER,;t t -s,@MAKEINFO@,$MAKEINFO,;t t -s,@SET_MAKE@,$SET_MAKE,;t t -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t -s,@MAINT@,$MAINT,;t t -s,@CC@,$CC,;t t -s,@CFLAGS@,$CFLAGS,;t t -s,@LDFLAGS@,$LDFLAGS,;t t -s,@CPPFLAGS@,$CPPFLAGS,;t t -s,@ac_ct_CC@,$ac_ct_CC,;t t -s,@EXEEXT@,$EXEEXT,;t t -s,@OBJEXT@,$OBJEXT,;t t -s,@CXX@,$CXX,;t t -s,@CXXFLAGS@,$CXXFLAGS,;t t -s,@ac_ct_CXX@,$ac_ct_CXX,;t t -s,@CPP@,$CPP,;t t -s,@build@,$build,;t t -s,@build_cpu@,$build_cpu,;t t -s,@build_vendor@,$build_vendor,;t t -s,@build_os@,$build_os,;t t -s,@host@,$host,;t t -s,@host_cpu@,$host_cpu,;t t -s,@host_vendor@,$host_vendor,;t t -s,@host_os@,$host_os,;t t -s,@LN_S@,$LN_S,;t t -s,@ECHO@,$ECHO,;t t -s,@RANLIB@,$RANLIB,;t t -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t -s,@STRIP@,$STRIP,;t t -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t -s,@LIBTOOL@,$LIBTOOL,;t t -s,@MAJOR_VERSION@,$MAJOR_VERSION,;t t -s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t -s,@SCMGCONF_CURRENT@,$SCMGCONF_CURRENT,;t t -s,@SCMGCONF_REVISION@,$SCMGCONF_REVISION,;t t -s,@SCMGCONF_AGE@,$SCMGCONF_AGE,;t t -s,@GCONFGTK_CURRENT@,$GCONFGTK_CURRENT,;t t -s,@GCONFGTK_REVISION@,$GCONFGTK_REVISION,;t t -s,@GCONFGTK_AGE@,$GCONFGTK_AGE,;t t -s,@GCONF_CURRENT@,$GCONF_CURRENT,;t t -s,@GCONF_REVISION@,$GCONF_REVISION,;t t -s,@GCONF_AGE@,$GCONF_AGE,;t t -s,@EXPANDED_SYSCONFDIR@,$EXPANDED_SYSCONFDIR,;t t -s,@GCONF_CONFIG_SOURCE@,$GCONF_CONFIG_SOURCE,;t t -s,@INSTALL_GCONF_CONFIG_SOURCE@,$INSTALL_GCONF_CONFIG_SOURCE,;t t -s,@POPT_LIBS@,$POPT_LIBS,;t t -s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t -s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t -s,@GLIB_LIBS@,$GLIB_LIBS,;t t -s,@OAF_CONFIG@,$OAF_CONFIG,;t t -s,@OAF_CFLAGS@,$OAF_CFLAGS,;t t -s,@OAF_LIBS@,$OAF_LIBS,;t t -s,@GTK_CONFIG@,$GTK_CONFIG,;t t -s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t -s,@GTK_LIBS@,$GTK_LIBS,;t t -s,@GTK_TRUE@,$GTK_TRUE,;t t -s,@GTK_FALSE@,$GTK_FALSE,;t t -s,@XML_CONFIG@,$XML_CONFIG,;t t -s,@XML_LIBS@,$XML_LIBS,;t t -s,@XML_CFLAGS@,$XML_CFLAGS,;t t -s,@BDB_TRUE@,$BDB_TRUE,;t t -s,@BDB_FALSE@,$BDB_FALSE,;t t -s,@BDB_LIBS@,$BDB_LIBS,;t t -s,@BDB_CFLAGS@,$BDB_CFLAGS,;t t -s,@ORBIT_CONFIG@,$ORBIT_CONFIG,;t t -s,@ORBIT_LIBS@,$ORBIT_LIBS,;t t -s,@ORBIT_CFLAGS@,$ORBIT_CFLAGS,;t t -s,@GUILE_CONFIG@,$GUILE_CONFIG,;t t -s,@GUILE_TRUE@,$GUILE_TRUE,;t t -s,@GUILE_FALSE@,$GUILE_FALSE,;t t -s,@GUILE_LIBS@,$GUILE_LIBS,;t t -s,@GUILE_CFLAGS@,$GUILE_CFLAGS,;t t -s,@PTHREADS_TRUE@,$PTHREADS_TRUE,;t t -s,@PTHREADS_FALSE@,$PTHREADS_FALSE,;t t -s,@ALLOCA@,$ALLOCA,;t t -s,@USE_NLS@,$USE_NLS,;t t -s,@MSGFMT@,$MSGFMT,;t t -s,@GMSGFMT@,$GMSGFMT,;t t -s,@XGETTEXT@,$XGETTEXT,;t t -s,@GENCAT@,$GENCAT,;t t -s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t -s,@CATALOGS@,$CATALOGS,;t t -s,@CATOBJEXT@,$CATOBJEXT,;t t -s,@DATADIRNAME@,$DATADIRNAME,;t t -s,@GMOFILES@,$GMOFILES,;t t -s,@INSTOBJEXT@,$INSTOBJEXT,;t t -s,@INTLDEPS@,$INTLDEPS,;t t -s,@INTLLIBS@,$INTLLIBS,;t t -s,@INTLOBJS@,$INTLOBJS,;t t -s,@POFILES@,$POFILES,;t t -s,@POSUB@,$POSUB,;t t -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t -s,@GT_NO@,$GT_NO,;t t -s,@GT_YES@,$GT_YES,;t t -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t -s,@l@,$l,;t t -s,@gconflocaledir@,$gconflocaledir,;t t -s,@absolute_top_srcdir@,$absolute_top_srcdir,;t t CEOF - EOF - cat >>$CONFIG_STATUS <<\EOF - # Split the substitutions into bite-sized pieces for seds with - # small command number limits, like on Digital OSF/1 and HP-UX. - ac_max_sed_lines=48 - ac_sed_frag=1 # Number of current file. - ac_beg=1 # First line for current file. - ac_end=$ac_max_sed_lines # Line after last line for current file. - ac_more_lines=: - ac_sed_cmds= - while $ac_more_lines; do - if test $ac_beg -gt 1; then - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - else - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - fi - if test ! -s $tmp/subs.frag; then - ac_more_lines=false +cat >> $CONFIG_STATUS <<\EOF + +# Split the substitutions into bite-sized pieces for seds with +# small command number limits, like on Digital OSF/1 and HP-UX. +ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. +ac_file=1 # Number of current file. +ac_beg=1 # First line for current file. +ac_end=$ac_max_sed_cmds # Line after last line for current file. +ac_more_lines=: +ac_sed_cmds="" +while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file + else + sed "${ac_end}q" conftest.subs > conftest.s$ac_file + fi + if test ! -s conftest.s$ac_file; then + ac_more_lines=false + rm -f conftest.s$ac_file + else + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f conftest.s$ac_file" else - # The purpose of the label and of the branching condition is to - # speed up the sed processing (if there are no `@' at all, there - # is no need to browse any of the substitutions). - # These are the two extra sed commands mentioned above. - (echo ':t - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" - else - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" - fi - ac_sed_frag=`expr $ac_sed_frag + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_lines` + ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" fi - done - if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat - fi -fi # test -n "$CONFIG_FILES" + ac_file=`expr $ac_file + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_cmds` + fi +done +if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat +fi +EOF +cat >> $CONFIG_STATUS <>$CONFIG_STATUS <<\EOF -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue +cat >> $CONFIG_STATUS <<\EOF +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case $ac_file in - - | *:- | *:-:* ) # input from stdin - cat >$tmp/stdin - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - * ) ac_file_in=$ac_file.in ;; + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; esac - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. - ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - { case "$ac_dir" in - [\\/]* | ?:[\\/]* ) as_incr_dir=;; - *) as_incr_dir=.;; -esac -as_dummy="$ac_dir" -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do - case $as_mkdir_dir in - # Skip DOS drivespec - ?:) as_incr_dir=$as_mkdir_dir ;; - *) - as_incr_dir=$as_incr_dir/$as_mkdir_dir - test -d "$as_incr_dir" || mkdir "$as_incr_dir" - ;; - esac -done; } + # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. - ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` + ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dir_suffix= ac_dots= fi - case $srcdir in - .) ac_srcdir=. - if test -z "$ac_dots"; then - ac_top_srcdir=. - else - ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` - fi ;; - [\\/]* | ?:[\\/]* ) - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir ;; + case "$ac_given_srcdir" in + .) srcdir=. + if test -z "$ac_dots"; then top_srcdir=. + else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; *) # Relative path. - ac_srcdir=$ac_dots$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_dots$srcdir ;; - esac - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_dots$INSTALL ;; + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" + top_srcdir="$ac_dots$ac_given_srcdir" ;; esac - if test x"$ac_file" != x-; then - { echo "$as_me:11212: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - rm -f "$ac_file" - fi - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated automatically by config.status. */ - configure_input="Generated automatically from `echo $ac_file_in | - sed 's,.*/,,'` by configure." - - # First look for the input files in the build tree, otherwise in the - # src tree. - ac_file_inputs=`IFS=: - for f in $ac_file_in; do - case $f in - -) echo $tmp/stdin ;; - [\\/$]*) - # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:11230: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - echo $f;; - *) # Relative - if test -f "$f"; then - # Build tree - echo $f - elif test -f "$srcdir/$f"; then - # Source tree - echo $srcdir/$f - else - # /dev/null tree - { { echo "$as_me:11243: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - fi;; - esac - done` || { (exit 1); exit 1; } -EOF -cat >>$CONFIG_STATUS <>$CONFIG_STATUS <<\EOF -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s,@configure_input@,$configure_input,;t t -s,@srcdir@,$ac_srcdir,;t t -s,@top_srcdir@,$ac_top_srcdir,;t t -s,@INSTALL@,$ac_INSTALL,;t t -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out - rm -f $tmp/stdin - if test x"$ac_file" != x-; then - mv $tmp/out $ac_file - else - cat $tmp/out - rm -f $tmp/out - fi - -done -EOF -cat >>$CONFIG_STATUS <<\EOF - -# -# CONFIG_HEADER section. -# + case "$ac_given_INSTALL" in + [/$]*) INSTALL="$ac_given_INSTALL" ;; + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac + + echo creating "$ac_file" + rm -f "$ac_file" + configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." + case "$ac_file" in + *Makefile*) ac_comsub="1i\\ +# $configure_input" ;; + *) ac_comsub= ;; + esac + + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + sed -e "$ac_comsub +s%@configure_input@%$configure_input%g +s%@srcdir@%$srcdir%g +s%@top_srcdir@%$top_srcdir%g +s%@INSTALL@%$INSTALL%g +" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file +fi; done +rm -f conftest.s* # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' -ac_dB='[ ].*$,\1#\2' -ac_dC=' ' -ac_dD=',;t' -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_uB='$,\1#\2define\3' +ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' +ac_dC='\3' +ac_dD='%g' +# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". +ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='\([ ]\)%\1#\2define\3' ac_uC=' ' -ac_uD=',;t' +ac_uD='\4%g' +# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_eB='$%\1#\2define\3' +ac_eC=' ' +ac_eD='%g' -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue +if test "${CONFIG_HEADERS+set}" != set; then +EOF +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +fi +for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case $ac_file in - - | *:- | *:-:* ) # input from stdin - cat >$tmp/stdin - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - * ) ac_file_in=$ac_file.in ;; - esac - - test x"$ac_file" != x- && { echo "$as_me:11304: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - - # First look for the input files in the build tree, otherwise in the - # src tree. - ac_file_inputs=`IFS=: - for f in $ac_file_in; do - case $f in - -) echo $tmp/stdin ;; - [\\/$]*) - # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:11315: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - echo $f;; - *) # Relative - if test -f "$f"; then - # Build tree - echo $f - elif test -f "$srcdir/$f"; then - # Source tree - echo $srcdir/$f - else - # /dev/null tree - { { echo "$as_me:11328: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - fi;; - esac - done` || { (exit 1); exit 1; } - # Remove the trailing spaces. - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac + + echo creating $ac_file + + rm -f conftest.frag conftest.in conftest.out + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + cat $ac_file_inputs > conftest.in EOF -# Transform confdefs.h into two sed scripts, `conftest.defines' and -# `conftest.undefs', that substitutes the proper values into -# config.h.in to produce config.h. The first handles `#define' -# templates, and the second `#undef' templates. -# And first: Protect against being on the right side of a sed subst in -# config.status. Protect against being in an unquoted here document -# in config.status. -rm -f conftest.defines conftest.undefs -# Using a here document instead of a string reduces the quoting nightmare. -# Putting comments in sed scripts is not portable. -# -# `end' is used to avoid that the second main sed command (meant for -# 0-ary CPP macros) applies to n-ary macro definitions. -# See the Autoconf documentation for `clear'. -cat >confdef2sed.sed <<\EOF -s/[\\&,]/\\&/g -s,[\\$`],\\&,g -t clear -: clear -s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp -t end -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp -: end -EOF -# If some macros were called several times there might be several times -# the same #defines, which is useless. Nevertheless, we may not want to -# sort them, since we want the *last* AC-DEFINE to be honored. -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs -rm -f confdef2sed.sed +# Transform confdefs.h into a sed script conftest.vals that substitutes +# the proper values into config.h.in to produce config.h. And first: +# Protect against being on the right side of a sed subst in config.status. +# Protect against being in an unquoted here document in config.status. +rm -f conftest.vals +cat > conftest.hdr <<\EOF +s/[\\&%]/\\&/g +s%[\\$`]%\\&%g +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp +s%ac_d%ac_u%gp +s%ac_u%ac_e%gp +EOF +sed -n -f conftest.hdr confdefs.h > conftest.vals +rm -f conftest.hdr # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. -cat >>conftest.undefs <<\EOF -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, +cat >> conftest.vals <<\EOF +s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% EOF -# Break up conftest.defines because some shells have a limit on the size -# of here documents, and old seds have small limits too (100 cmds). -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS -echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS -echo ' :' >>$CONFIG_STATUS -rm -f conftest.tail -while grep . conftest.defines >/dev/null -do - # Write a limited-size here document to $tmp/defines.sed. - echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS - # Speed up: don't consider the non `#define' lines. - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS - # Work around the forget-to-reset-the-flag bug. - echo 't clr' >>$CONFIG_STATUS - echo ': clr' >>$CONFIG_STATUS - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS - echo 'CEOF - sed -f $tmp/defines.sed $tmp/in >$tmp/out - rm -f $tmp/in - mv $tmp/out $tmp/in -' >>$CONFIG_STATUS - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail - rm -f conftest.defines - mv conftest.tail conftest.defines -done -rm -f conftest.defines -echo ' fi # egrep' >>$CONFIG_STATUS -echo >>$CONFIG_STATUS - -# Break up conftest.undefs because some shells have a limit on the size -# of here documents, and old seds have small limits too (100 cmds). -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS +# Break up conftest.vals because some shells have a limit on +# the size of here documents, and old seds have small limits too. + rm -f conftest.tail -while grep . conftest.undefs >/dev/null +while : do - # Write a limited-size here document to $tmp/undefs.sed. - echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS - # Speed up: don't consider the non `#undef' - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS - # Work around the forget-to-reset-the-flag bug. - echo 't clr' >>$CONFIG_STATUS - echo ': clr' >>$CONFIG_STATUS - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS + ac_lines=`grep -c . conftest.vals` + # grep -c gives empty output for an empty file on some AIX systems. + if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi + # Write a limited-size here document to conftest.frag. + echo ' cat > conftest.frag <> $CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS echo 'CEOF - sed -f $tmp/undefs.sed $tmp/in >$tmp/out - rm -f $tmp/in - mv $tmp/out $tmp/in -' >>$CONFIG_STATUS - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail - rm -f conftest.undefs - mv conftest.tail conftest.undefs -done -rm -f conftest.undefs - -cat >>$CONFIG_STATUS <<\EOF - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated automatically by config.status. */ - if test x"$ac_file" = x-; then - echo "/* Generated automatically by configure. */" >$tmp/config.h - else - echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h - fi - cat $tmp/in >>$tmp/config.h - rm -f $tmp/in - if test x"$ac_file" != x-; then - if cmp -s $ac_file $tmp/config.h 2>/dev/null; then - { echo "$as_me:11445: $ac_file is unchanged" >&5 -echo "$as_me: $ac_file is unchanged" >&6;} - else - ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` + sed -f conftest.frag conftest.in > conftest.out + rm -f conftest.in + mv conftest.out conftest.in +' >> $CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail + rm -f conftest.vals + mv conftest.tail conftest.vals +done +rm -f conftest.vals + +cat >> $CONFIG_STATUS <<\EOF + rm -f conftest.frag conftest.h + echo "/* $ac_file. Generated automatically by configure. */" > conftest.h + cat conftest.in >> conftest.h + rm -f conftest.in + if cmp -s $ac_file conftest.h 2>/dev/null; then + echo "$ac_file is unchanged" + rm -f conftest.h + else + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - { case "$ac_dir" in - [\\/]* | ?:[\\/]* ) as_incr_dir=;; - *) as_incr_dir=.;; -esac -as_dummy="$ac_dir" -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do - case $as_mkdir_dir in - # Skip DOS drivespec - ?:) as_incr_dir=$as_mkdir_dir ;; - *) - as_incr_dir=$as_incr_dir/$as_mkdir_dir - test -d "$as_incr_dir" || mkdir "$as_incr_dir" - ;; - esac -done; } - - fi - rm -f $ac_file - mv $tmp/config.h $ac_file + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" fi - else - cat $tmp/config.h - rm -f $tmp/config.h + rm -f $ac_file + mv conftest.h $ac_file fi -done +fi; done + EOF -cat >>$CONFIG_STATUS <<\EOF -# -# CONFIG_LINKS section. -# +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +srcdir=$ac_given_srcdir +while test -n "$ac_sources"; do + set $ac_dests; ac_dest=$1; shift; ac_dests=$* + set $ac_sources; ac_source=$1; shift; ac_sources=$* - { echo "$as_me:11496: linking $srcdir/$ac_source to $ac_dest" >&5 -echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} + echo "linking $srcdir/$ac_source to $ac_dest" if test ! -r $srcdir/$ac_source; then - { { echo "$as_me:11500: error: $srcdir/$ac_source: File not found" >&5 -echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;} - { (exit 1); exit 1; }; } + { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; } fi rm -f $ac_dest # Make relative symlinks. - ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_dest" : 'X\(//\)[^/]' \| \ - X"$ac_dest" : 'X\(//\)$' \| \ - X"$ac_dest" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$ac_dest" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'` if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then - { case "$ac_dest_dir" in - [\\/]* | ?:[\\/]* ) as_incr_dir=;; - *) as_incr_dir=.;; -esac -as_dummy="$ac_dest_dir" -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do - case $as_mkdir_dir in - # Skip DOS drivespec - ?:) as_incr_dir=$as_mkdir_dir ;; - *) - as_incr_dir=$as_incr_dir/$as_mkdir_dir - test -d "$as_incr_dir" || mkdir "$as_incr_dir" - ;; - esac -done; } - - ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`" + # The dest file is in a subdirectory. + test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir" + ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dest_dir_suffix. - ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'` + ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dest_dir_suffix= ac_dots= fi - case $srcdir in - [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; - *) ac_rel_source=$ac_dots$srcdir/$ac_source ;; + case "$srcdir" in + [/$]*) ac_rel_source="$srcdir/$ac_source" ;; + *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;; esac # Make a symlink if possible; otherwise try a hard link. - ln -s $ac_rel_source $ac_dest 2>/dev/null || - ln $srcdir/$ac_source $ac_dest || - { { echo "$as_me:11550: error: cannot link $ac_dest to $srcdir/$ac_source" >&5 -echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;} - { (exit 1); exit 1; }; } + if ln -s $ac_rel_source $ac_dest 2>/dev/null || + ln $srcdir/$ac_source $ac_dest; then : + else + { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; } + fi done EOF -cat >>$CONFIG_STATUS <<\EOF +cat >> $CONFIG_STATUS < stamp-h ;; - default-2 ) case "$CONFIG_FILES" in *po/Makefile.in*) - sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile - esac ;; - default ) chmod +x gconf-config ;; - esac -done -EOF -cat >>$CONFIG_STATUS <<\EOF -{ (exit 0); exit 0; } +EOF +cat >> $CONFIG_STATUS <<\EOF +test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h +case "$CONFIG_FILES" in *po/Makefile.in*) + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile + esac +chmod +x gconf-config +exit 0 EOF chmod +x $CONFIG_STATUS -ac_clean_files=$ac_clean_files_save +rm -fr confdefs* $ac_clean_files +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 + -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - exec 5>/dev/null - $SHELL $CONFIG_STATUS || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } -fi --- gconf-1.0.9.orig/configure.in +++ gconf-1.0.9/configure.in @@ -178,7 +178,7 @@ if test "x$BDB_LIBS" = x; then AC_MSG_WARN(No db3 library found. Not building bdb backend.) else - AC_CHECK_HEADERS(db3/db.h, , AC_MSG_ERROR([db3 library found but db3/db.h not found])) + AC_CHECK_HEADERS(db.h, , AC_MSG_ERROR([db3 library found but db3/db.h not found])) fi AM_CONDITIONAL(BDB, test -n "$BDB_LIBS") --- gconf-1.0.9.orig/gconf.pc.in +++ gconf-1.0.9/gconf.pc.in @@ -7,6 +7,5 @@ Name: gconf Description: GNOME Config System. Version: @VERSION@ -Requires: oaf -Libs: -L${libdir} -lgconf-@MAJOR_VERSION@ -Cflags: -I${includedir}/gconf/@MAJOR_VERSION@ +Libs: -L${libdir} -lgconf-@MAJOR_VERSION@ @OAF_LIBS@ +Cflags: -I${includedir}/gconf/@MAJOR_VERSION@ @OAF_CFLAGS@ --- gconf-1.0.9.orig/ltmain.sh +++ gconf-1.0.9/ltmain.sh @@ -49,14 +49,14 @@ fi # The name of this program. -progname=`$echo "$0" | sed 's%^.*/%%'` +progname=`$echo "$0" | ${SED} 's%^.*/%%'` modename="$progname" # Constants. PROGRAM=ltmain.sh PACKAGE=libtool -VERSION=1.4 -TIMESTAMP=" (1.920 2001/04/24 23:26:18)" +VERSION=1.4.3 +TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36)" default_mode= help="Try \`$progname --help' for more information." @@ -67,10 +67,19 @@ # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. -Xsed='sed -e 1s/^X//' +Xsed="${SED}"' -e 1s/^X//' sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g' -SP2NL='tr \040 \012' -NL2SP='tr \015\012 \040\040' +# test EBCDIC or ASCII +case `echo A|od -x` in + *[Cc]1*) # EBCDIC based system + SP2NL="tr '\100' '\n'" + NL2SP="tr '\r\n' '\100\100'" + ;; + *) # Assume ASCII based system + SP2NL="tr '\040' '\012'" + NL2SP="tr '\015\012' '\040\040'" + ;; +esac # NLS nuisances. # Only set LANG and LC_ALL to C if already set. @@ -84,6 +93,9 @@ save_LANG="$LANG"; LANG=C; export LANG fi +# Make sure IFS has a sensible default +: ${IFS=" "} + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then echo "$modename: not configured to build any kind of library" 1>&2 echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 @@ -141,7 +153,7 @@ ;; --config) - sed -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0 exit 0 ;; @@ -174,6 +186,8 @@ --mode) prevopt="--mode" prev=mode ;; --mode=*) mode="$optarg" ;; + --preserve-dup-deps) duplicate_deps="yes" ;; + --quiet | --silent) show=: ;; @@ -202,12 +216,17 @@ exit 1 fi +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + if test -z "$show_help"; then # Infer the operation mode. if test -z "$mode"; then case $nonopt in - *cc | *++ | gcc* | *-gcc*) + *cc | *++ | gcc* | *-gcc* | g++* | xlc*) mode=link for arg do @@ -329,7 +348,7 @@ -Wc,*) args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` lastarg= - IFS="${IFS= }"; save_ifs="$IFS"; IFS=',' + save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" @@ -615,6 +634,10 @@ # Now arrange that obj and lo_libobj become the same file $show "(cd $xdir && $LN_S $baseobj $libobj)" if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then + # Unlock the critical section if it was locked + if test "$need_locks" != no; then + $run $rm "$lockfile" + fi exit 0 else error=$? @@ -745,6 +768,7 @@ linker_flags= dllsearchpath= lib_search_path=`pwd` + inst_prefix_dir= avoid_version=no dlfiles= @@ -875,6 +899,11 @@ prev= continue ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; release) release="-$arg" prev= @@ -976,11 +1005,16 @@ continue ;; + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in - no/*-*-irix*) + no/*-*-irix* | no/*-*-nonstopux*) compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" ;; @@ -1031,6 +1065,17 @@ # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; + *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; esac fi deplibs="$deplibs $arg" @@ -1122,7 +1167,7 @@ -Wc,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` arg= - IFS="${IFS= }"; save_ifs="$IFS"; IFS=',' + save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in @@ -1140,7 +1185,7 @@ -Wl,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` arg= - IFS="${IFS= }"; save_ifs="$IFS"; IFS=',' + save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in @@ -1166,6 +1211,11 @@ continue ;; + -Kthread | -mthreads | -mt | -pthread | -pthreads | -threads | -qthreaded | -kthread ) + compiler_flags="$compiler_flags $arg" + continue + ;; + # Some other compiler flag. -* | +*) # Unknown arguments in both finalize_command and compile_command need @@ -1307,9 +1357,11 @@ # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do - case "$libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac + if test "X$duplicate_deps" = "Xyes" ; then + case "$libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi libs="$libs $deplib" done deplibs= @@ -1343,7 +1395,7 @@ ;; esac for pass in $passes; do - if test "$linkmode" = prog; then + if test $linkmode = prog; then # Determine which files to process case $pass in dlopen) @@ -1360,11 +1412,11 @@ found=no case $deplib in -l*) - if test "$linkmode" = oldlib && test "$linkmode" = obj; then + if test $linkmode = oldlib && test $linkmode = obj; then $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2 continue fi - if test "$pass" = conv; then + if test $pass = conv; then deplibs="$deplib $deplibs" continue fi @@ -1384,7 +1436,7 @@ finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + test $linkmode = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi @@ -1393,16 +1445,16 @@ case $linkmode in lib) deplibs="$deplib $deplibs" - test "$pass" = conv && continue + test $pass = conv && continue newdependency_libs="$deplib $newdependency_libs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; prog) - if test "$pass" = conv; then + if test $pass = conv; then deplibs="$deplib $deplibs" continue fi - if test "$pass" = scan; then + if test $pass = scan; then deplibs="$deplib $deplibs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` else @@ -1417,7 +1469,7 @@ continue ;; # -L -R*) - if test "$pass" = link; then + if test $pass = link; then dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` # Make sure the xrpath contains only unique directories. case "$xrpath " in @@ -1430,7 +1482,7 @@ ;; *.la) lib="$deplib" ;; *.$libext) - if test "$pass" = conv; then + if test $pass = conv; then deplibs="$deplib $deplibs" continue fi @@ -1438,10 +1490,12 @@ lib) if test "$deplibs_check_method" != pass_all; then echo - echo "*** Warning: This library needs some functionality provided by $deplib." + echo "*** Warning: Trying to link with static lib archive $deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have." + echo "*** shared version of the library, which you do not appear to have" + echo "*** because the file extensions .$libext of this argument makes me believe" + echo "*** that it is just a static archive that I should not used here." else echo echo "*** Warning: Linking the shared library $output against the" @@ -1451,7 +1505,7 @@ continue ;; prog) - if test "$pass" != link; then + if test $pass != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" @@ -1462,7 +1516,7 @@ esac # linkmode ;; # *.$libext *.lo | *.$objext) - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" @@ -1485,7 +1539,7 @@ fi # Check to see that this really is a libtool archive. - if (sed -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + if (${SED} -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit 1 @@ -1512,13 +1566,13 @@ if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || - { test "$linkmode" = oldlib && test "$linkmode" = obj; }; then + { test $linkmode = oldlib && test $linkmode = obj; }; then # Add dl[pre]opened files of deplib test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi - if test "$pass" = conv; then + if test $pass = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then @@ -1532,12 +1586,14 @@ tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi tmp_libs="$tmp_libs $deplib" done - elif test "$linkmode" != prog && test "$linkmode" != lib; then + elif test $linkmode != prog && test $linkmode != lib; then $echo "$modename: \`$lib' is not a convenience library" 1>&2 exit 1 fi @@ -1555,7 +1611,7 @@ fi # This library was specified with -dlopen. - if test "$pass" = dlopen; then + if test $pass = dlopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 exit 1 @@ -1604,7 +1660,7 @@ name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` # This library was specified with -dlpreopen. - if test "$pass" = dlpreopen; then + if test $pass = dlpreopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 exit 1 @@ -1623,7 +1679,7 @@ if test -z "$libdir"; then # Link the convenience library - if test "$linkmode" = lib; then + if test $linkmode = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" @@ -1634,7 +1690,7 @@ continue fi - if test "$linkmode" = prog && test "$pass" != link; then + if test $linkmode = prog && test $pass != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" @@ -1657,9 +1713,11 @@ # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi tmp_libs="$tmp_libs $deplib" done # for deplib continue @@ -1671,7 +1729,7 @@ # Link against this shared library if test "$linkmode,$pass" = "prog,link" || - { test "$linkmode" = lib && test "$hardcode_into_libs" = yes; }; then + { test $linkmode = lib && test $hardcode_into_libs = yes; }; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. @@ -1693,7 +1751,7 @@ esac ;; esac - if test "$linkmode" = prog; then + if test $linkmode = prog; then # We need to hardcode the library path if test -n "$shlibpath_var"; then # Make sure the rpath contains only unique directories. @@ -1743,14 +1801,14 @@ # Make a new name for the extract_expsyms_cmds to use soroot="$soname" - soname=`echo $soroot | sed -e 's/^.*\///'` - newlib="libimp-`echo $soname | sed 's/^lib//;s/\.dll$//'`.a" + soname=`echo $soroot | ${SED} -e 's/^.*\///'` + newlib="libimp-`echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else $show "extracting exported symbol list from \`$soname'" - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' eval cmds=\"$extract_expsyms_cmds\" for cmd in $cmds; do IFS="$save_ifs" @@ -1763,7 +1821,7 @@ # Create $newlib if test -f "$output_objdir/$newlib"; then :; else $show "generating import library for \`$soname'" - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' eval cmds=\"$old_archive_from_expsyms_cmds\" for cmd in $cmds; do IFS="$save_ifs" @@ -1777,7 +1835,7 @@ linklib=$newlib fi # test -n $old_archive_from_expsyms_cmds - if test "$linkmode" = prog || test "$mode" != relink; then + if test $linkmode = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= @@ -1804,6 +1862,14 @@ add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case "$libdir" in + [\/]*) + add_dir="-L$inst_prefix_dir$libdir $add_dir" + ;; + esac + fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" @@ -1826,7 +1892,7 @@ *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi - if test "$linkmode" = prog; then + if test $linkmode = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else @@ -1843,7 +1909,7 @@ fi fi - if test "$linkmode" = prog || test "$mode" = relink; then + if test $linkmode = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= @@ -1862,10 +1928,18 @@ else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case "$libdir" in + [\/]*) + add_dir="-L$inst_prefix_dir$libdir $add_dir" + ;; + esac + fi add="-l$name" fi - if test "$linkmode" = prog; then + if test $linkmode = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else @@ -1873,7 +1947,7 @@ test -n "$add" && deplibs="$add $deplibs" fi fi - elif test "$linkmode" = prog; then + elif test $linkmode = prog; then if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && @@ -1903,25 +1977,26 @@ # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. echo - echo "*** Warning: This library needs some functionality provided by $lib." + echo "*** Warning: This system can not link to static lib archive $lib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then - echo "*** Therefore, libtool will create a static module, that should work " - echo "*** as long as the dlopening application is linked with the -dlopen flag." + echo "*** But as you try to build a module library, libtool will still create " + echo "*** a static module, that should work as long as the dlopening application" + echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then - echo - echo "*** However, this would only work if libtool was able to extract symbol" - echo "*** lists from a program, using \`nm' or equivalent, but libtool could" - echo "*** not find such a program. So, this module is probably useless." - echo "*** \`nm' from GNU binutils and a full rebuild may help." + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then - build_libtool_libs=module - build_old_libs=yes + build_libtool_libs=module + build_old_libs=yes else - build_libtool_libs=no + build_libtool_libs=no fi fi else @@ -1932,9 +2007,9 @@ fi fi # link shared/static library? - if test "$linkmode" = lib; then + if test $linkmode = lib; then if test -n "$dependency_libs" && - { test "$hardcode_into_libs" != yes || test $build_old_libs = yes || + { test $hardcode_into_libs != yes || test $build_old_libs = yes || test $link_static = yes; }; then # Extract -R from dependency_libs temp_deplibs= @@ -1958,13 +2033,15 @@ tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi tmp_libs="$tmp_libs $deplib" done - if test "$link_all_deplibs" != no; then + if test $link_all_deplibs != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do case $deplib in @@ -1986,7 +2063,7 @@ if grep "^installed=no" $deplib > /dev/null; then path="-L$absdir/$objdir" else - eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit 1 @@ -2007,15 +2084,15 @@ fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs - if test "$pass" = dlpreopen; then + if test $pass = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi - if test "$pass" != dlopen; then - test "$pass" != scan && dependency_libs="$newdependency_libs" - if test "$pass" != conv; then + if test $pass != dlopen; then + test $pass != scan && dependency_libs="$newdependency_libs" + if test $pass != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do @@ -2073,7 +2150,7 @@ deplibs= fi done # for pass - if test "$linkmode" = prog; then + if test $linkmode = prog; then dlfiles="$newdlfiles" dlprefiles="$newdlprefiles" fi @@ -2175,7 +2252,7 @@ else # Parse the version information argument. - IFS="${IFS= }"; save_ifs="$IFS"; IFS=':' + save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 IFS="$save_ifs" @@ -2250,16 +2327,21 @@ versuffix=".$current"; ;; - irix) + irix | nonstopux) major=`expr $current - $age + 1` - verstring="sgi$major.$revision" + + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test $loop != 0; do iface=`expr $revision - $loop` loop=`expr $loop - 1` - verstring="sgi$major.$iface:$verstring" + verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. @@ -2273,7 +2355,7 @@ ;; osf) - major=`expr $current - $age` + major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" @@ -2312,6 +2394,16 @@ if test -z "$vinfo" && test -n "$release"; then major= verstring="0.0" + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring="" + ;; + *) + verstring="0.0" + ;; + esac if test "$need_version" = no; then versuffix= else @@ -2355,9 +2447,9 @@ # Eliminate all temporary directories. for path in $notinst_path; do - lib_search_path=`echo "$lib_search_path " | sed -e 's% $path % %g'` - deplibs=`echo "$deplibs " | sed -e 's% -L$path % %g'` - dependency_libs=`echo "$dependency_libs " | sed -e 's% -L$path % %g'` + lib_search_path=`echo "$lib_search_path " | ${SED} -e 's% $path % %g'` + deplibs=`echo "$deplibs " | ${SED} -e 's% -L$path % %g'` + dependency_libs=`echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'` done if test -n "$xrpath"; then @@ -2408,9 +2500,12 @@ *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; + *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + ;; *) # Add libc to deplibs on all other systems if necessary. - if test "$build_libtool_need_lc" = "yes"; then + if test $build_libtool_need_lc = "yes"; then deplibs="$deplibs -lc" fi ;; @@ -2466,18 +2561,20 @@ else droppeddeps=yes echo - echo "*** Warning: This library needs some functionality provided by $i." + echo "*** Warning: dynamic linker does not accept needed library $i." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have." + echo "*** shared version of the library, which I believe you do not have" + echo "*** because a test_compile did reveal that the linker did not use it for" + echo "*** its dynamic dependency list that programs get resolved with at runtime." fi else newdeplibs="$newdeplibs $i" fi done else - # Error occured in the first compile. Let's try to salvage the situation: - # Compile a seperate program for each library. + # Error occured in the first compile. Let's try to salvage + # the situation: Compile a separate program for each library. for i in $deplibs; do name="`expr $i : '-l\(.*\)'`" # If $name is empty we are operating on a -L argument. @@ -2496,10 +2593,12 @@ else droppeddeps=yes echo - echo "*** Warning: This library needs some functionality provided by $i." + echo "*** Warning: dynamic linker does not accept needed library $i." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have." + echo "*** shared version of the library, which you do not appear to have" + echo "*** because a test_compile did reveal that the linker did not use this one" + echo "*** as a dynamic dependency that programs can get resolved with at runtime." fi else droppeddeps=yes @@ -2538,14 +2637,14 @@ # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do - potliblink=`ls -ld $potlib | sed 's/.* -> //'` + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ - | sed 10q \ + | ${SED} 10q \ | egrep "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" @@ -2556,10 +2655,17 @@ if test -n "$a_deplib" ; then droppeddeps=yes echo - echo "*** Warning: This library needs some functionality provided by $a_deplib." + echo "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have." + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + echo "*** with $libname but no candidates were found. (...for file magic test)" + else + echo "*** with $libname and none of the candidates passed a file format test" + echo "*** using a file magic. Last file checked: $potlib" + fi fi else # Add a -L argument. @@ -2578,8 +2684,9 @@ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do + potlib="$potent_lib" # see symlink-check below in file_magic test if eval echo \"$potent_lib\" 2>/dev/null \ - | sed 10q \ + | ${SED} 10q \ | egrep "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" @@ -2590,10 +2697,17 @@ if test -n "$a_deplib" ; then droppeddeps=yes echo - echo "*** Warning: This library needs some functionality provided by $a_deplib." + echo "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have." + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + echo "*** with $libname but no candidates were found. (...for regex pattern test)" + else + echo "*** with $libname and none of the candidates passed a file format test" + echo "*** using a regex pattern. Last file checked: $potlib" + fi fi else # Add a -L argument. @@ -2683,7 +2797,7 @@ # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then - if test "$hardcode_into_libs" = yes; then + if test $hardcode_into_libs = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= @@ -2784,7 +2898,7 @@ export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols eval cmds=\"$export_symbols_cmds\" - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" @@ -2858,9 +2972,20 @@ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval cmds=\"$archive_expsym_cmds\" else + save_deplibs="$deplibs" + for conv in $convenience; do + tmp_deplibs= + for test_deplib in $deplibs; do + if test "$test_deplib" != "$conv"; then + tmp_deplibs="$tmp_deplibs $test_deplib" + fi + done + deplibs="$tmp_deplibs" + done eval cmds=\"$archive_cmds\" + deplibs="$save_deplibs" fi - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" @@ -2988,7 +3113,7 @@ output="$obj" eval cmds=\"$reload_cmds\" - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" @@ -3024,7 +3149,7 @@ reload_objs="$libobjs $reload_conv_objs" output="$libobj" eval cmds=\"$reload_cmds\" - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" @@ -3057,7 +3182,7 @@ prog) case $host in - *cygwin*) output=`echo $output | sed -e 's,.exe$,,;s,$,.exe,'` ;; + *cygwin*) output=`echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; esac if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 @@ -3079,6 +3204,13 @@ # On Rhapsody replace the C library is the System framework compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + case $host in + *darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + compile_command="$compile_command ${wl}-bind_at_load" + finalize_command="$finalize_command ${wl}-bind_at_load" + ;; + esac ;; esac @@ -3245,9 +3377,9 @@ if test -z "$export_symbols"; then export_symbols="$output_objdir/$output.exp" $run $rm $export_symbols - $run eval "sed -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' else - $run eval "sed -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' + $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' fi @@ -3255,7 +3387,7 @@ for arg in $dlprefiles; do $show "extracting global C symbols from \`$arg'" - name=`echo "$arg" | sed -e 's%^.*/%%'` + name=`echo "$arg" | ${SED} -e 's%^.*/%%'` $run eval 'echo ": $name " >> "$nlist"' $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done @@ -3270,7 +3402,13 @@ fi # Try sorting and uniquifying the output. - if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then + if grep -v "^: " < "$nlist" | + if sort -k 3 /dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then : else grep -v "^: " < "$nlist" > "$nlist"S @@ -3287,27 +3425,25 @@ #undef lt_preloaded_symbols #if defined (__STDC__) && __STDC__ -# define lt_ptr_t void * +# define lt_ptr void * #else -# define lt_ptr_t char * +# define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; - lt_ptr_t address; + lt_ptr address; } lt_preloaded_symbols[] = {\ " - sed -n -e 's/^: \([^ ]*\) $/ {\"\1\", (lt_ptr_t) 0},/p' \ - -e 's/^. \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr_t) \&\2},/p' \ - < "$nlist" >> "$output_objdir/$dlsyms" + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" $echo >> "$output_objdir/$dlsyms" "\ - {0, (lt_ptr_t) 0} + {0, (lt_ptr) 0} }; /* This works around a problem in FreeBSD linker */ @@ -3494,7 +3630,7 @@ relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done - relink_command="cd `pwd`; $relink_command" + relink_command="(cd `pwd`; $relink_command)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi @@ -3514,7 +3650,7 @@ # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in - *.exe) output=`echo $output|sed 's,.exe$,,'` ;; + *.exe) output=`echo $output|${SED} 's,.exe$,,'` ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in @@ -3538,7 +3674,7 @@ # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. -Xsed='sed -e 1s/^X//' +Xsed="${SED}"' -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # The HP-UX ksh and POSIX shell print the target directory to stdout @@ -3576,7 +3712,7 @@ test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. - file=\`ls -ld \"\$file\" | sed -n 's/.*-> //p'\` + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` @@ -3589,7 +3725,7 @@ fi file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | sed -n 's/.*-> //p'\` + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done # Try to get the absolute directory name. @@ -3603,7 +3739,7 @@ progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || \\ - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | sed 1q\`; \\ + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" @@ -3618,8 +3754,9 @@ # relink executable if necessary if test -n \"\$relink_command\"; then - if (eval \$relink_command); then : + if relink_command_output=\`eval \$relink_command 2>&1\`; then : else + $echo \"\$relink_command_output\" >&2 $rm \"\$progdir/\$file\" exit 1 fi @@ -3648,7 +3785,7 @@ $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var - # The second colon is a workaround for a bug in BeOS R4 sed + # The second colon is a workaround for a bug in BeOS R4 ${SED} $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var @@ -3790,7 +3927,7 @@ eval cmds=\"$old_archive_cmds\" fi - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" @@ -3823,7 +3960,7 @@ fi done # Quote the link command for shipping. - relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args" + relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` # Only create the output if not a dry run. @@ -3840,7 +3977,7 @@ case $deplib in *.la) name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` - eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit 1 @@ -3854,7 +3991,7 @@ newdlfiles= for lib in $dlfiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` - eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit 1 @@ -3865,7 +4002,7 @@ newdlprefiles= for lib in $dlprefiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` - eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit 1 @@ -4089,7 +4226,7 @@ *.la) # Check to see that this really is a libtool archive. - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 @@ -4124,12 +4261,30 @@ dir="$dir$objdir" if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + if test "$inst_prefix_dir" = "$destdir"; then + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 + exit 1 + fi + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"` + fi + $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 - continue + exit 1 fi fi @@ -4165,7 +4320,7 @@ # Do each command in the postinstall commands. lib="$destdir/$realname" eval cmds=\"$postinstall_cmds\" - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" @@ -4238,19 +4393,27 @@ fi # Do a test to see if this is really a libtool program. - if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + case $host in + *cygwin*|*mingw*) + wrapper=`echo $file | ${SED} -e 's,.exe$,,'` + ;; + *) + wrapper=$file + ;; + esac + if (${SED} -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then notinst_deplibs= relink_command= # If there is no directory component, then add one. case $file in - */* | *\\*) . $file ;; - *) . ./$file ;; + */* | *\\*) . $wrapper ;; + *) . ./$wrapper ;; esac # Check the variables that should have been set. if test -z "$notinst_deplibs"; then - $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2 + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 exit 1 fi @@ -4275,8 +4438,8 @@ relink_command= # If there is no directory component, then add one. case $file in - */* | *\\*) . $file ;; - *) . ./$file ;; + */* | *\\*) . $wrapper ;; + *) . ./$wrapper ;; esac outputname= @@ -4324,7 +4487,7 @@ destfile=$destfile.exe ;; *:*.exe) - destfile=`echo $destfile | sed -e 's,.exe$,,'` + destfile=`echo $destfile | ${SED} -e 's,.exe$,,'` ;; esac ;; @@ -4352,7 +4515,7 @@ # Do each command in the postinstall commands. eval cmds=\"$old_postinstall_cmds\" - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" @@ -4368,11 +4531,10 @@ if test -n "$current_libdirs"; then # Maybe just do a dry run. test -n "$run" && current_libdirs=" -n$current_libdirs" - exec $SHELL $0 --finish$current_libdirs - exit 1 + exec_cmd='$SHELL $0 --finish$current_libdirs' + else + exit 0 fi - - exit 0 ;; # libtool finish mode @@ -4391,7 +4553,7 @@ if test -n "$finish_cmds"; then # Do each command in the finish commands. eval cmds=\"$finish_cmds\" - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" @@ -4473,7 +4635,7 @@ case $file in *.la) # Check to see that this really is a libtool archive. - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 @@ -4544,7 +4706,7 @@ -*) ;; *) # Do a test to see if this is really a libtool program. - if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + if (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; @@ -4575,11 +4737,8 @@ LANG="$save_LANG"; export LANG fi - # Now actually exec the command. - eval "exec \$cmd$args" - - $echo "$modename: cannot exec \$cmd$args" - exit 1 + # Now prepare to actually exec the command. + exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then @@ -4641,14 +4800,14 @@ # Don't error if the file doesn't exist and rm -f was used. if (test -L "$file") >/dev/null 2>&1 \ - || (test -h "$file") >/dev/null 2>&1 \ + || (test -h "$file") >/dev/null 2>&1 \ || test -f "$file"; then - : + : elif test -d "$file"; then - exit_status=1 + exit_status=1 continue elif test "$rmforce" = yes; then - continue + continue fi rmfiles="$file" @@ -4656,7 +4815,7 @@ case $name in *.la) # Possibly a libtool archive, so verify it. - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then . $dir/$name # Delete the libtool libraries and symlinks. @@ -4670,7 +4829,7 @@ if test -n "$library_names"; then # Do each command in the postuninstall commands. eval cmds=\"$postuninstall_cmds\" - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" @@ -4685,7 +4844,7 @@ if test -n "$old_library"; then # Do each command in the old_postuninstall commands. eval cmds=\"$old_postuninstall_cmds\" - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' + save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" @@ -4711,7 +4870,7 @@ *) # Do a test to see if this is a libtool program. if test $mode = clean && - (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then relink_command= . $dir/$file @@ -4744,11 +4903,18 @@ ;; esac - $echo "$modename: invalid operation mode \`$mode'" 1>&2 - $echo "$generic_help" 1>&2 - exit 1 + if test -z "$exec_cmd"; then + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$generic_help" 1>&2 + exit 1 + fi fi # test -z "$show_help" +if test -n "$exec_cmd"; then + eval exec $exec_cmd + exit 1 +fi + # We need to display help for each of the modes. case $mode in "") $echo \ --- gconf-1.0.9.orig/tests/Makefile.in +++ gconf-1.0.9/tests/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -96,6 +96,7 @@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_LIBS = @GUILE_LIBS@ +HAVE_LIB = @HAVE_LIB@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTALL_GCONF_CONFIG_SOURCE = @INSTALL_GCONF_CONFIG_SOURCE@ INSTOBJEXT = @INSTOBJEXT@ @@ -103,8 +104,10 @@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ LDFLAGS = @LDFLAGS@ +LIB = @LIB@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ +LTLIB = @LTLIB@ MAINT = @MAINT@ MAJOR_VERSION = @MAJOR_VERSION@ MAKEINFO = @MAKEINFO@ @@ -138,10 +141,7 @@ EFENCE = -INCLUDES = -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/gconf \ - -I$(top_builddir)/gconf \ - -I$(includedir) $(ORBIT_CFLAGS) $(GLIB_CFLAGS) \ - -DG_LOG_DOMAIN=\"GConf-Tests\" -DGCONF_ENABLE_INTERNALS=1 +INCLUDES = -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/gconf -I$(top_builddir)/gconf -I$(includedir) $(ORBIT_CFLAGS) $(GLIB_CFLAGS) -DG_LOG_DOMAIN=\"GConf-Tests\" -DGCONF_ENABLE_INTERNALS=1 noinst_PROGRAMS = testgconf testlisteners testschemas testchangeset testencode testunique testpersistence testdirlist testaddress @@ -240,8 +240,12 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best +DEP_FILES = .deps/testaddress.P .deps/testchangeset.P \ +.deps/testdirlist.P .deps/testencode.P .deps/testgconf.P \ +.deps/testlisteners.P .deps/testpersistence.P .deps/testschemas.P \ +.deps/testunique.P SOURCES = $(testgconf_SOURCES) $(testlisteners_SOURCES) $(testschemas_SOURCES) $(testchangeset_SOURCES) $(testencode_SOURCES) $(testunique_SOURCES) $(testpersistence_SOURCES) $(testdirlist_SOURCES) $(testaddress_SOURCES) OBJECTS = $(testgconf_OBJECTS) $(testlisteners_OBJECTS) $(testschemas_OBJECTS) $(testchangeset_OBJECTS) $(testencode_OBJECTS) $(testunique_OBJECTS) $(testpersistence_OBJECTS) $(testdirlist_OBJECTS) $(testaddress_OBJECTS) @@ -249,9 +253,9 @@ .SUFFIXES: .SUFFIXES: .S .c .lo .o .obj .s $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps tests/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -265,9 +269,6 @@ maintainer-clean-noinstPROGRAMS: -.c.o: - $(COMPILE) -c $< - # FIXME: We should only use cygpath when building on Windows, # and only if it is available. .c.obj: @@ -290,9 +291,6 @@ maintainer-clean-compile: -.c.lo: - $(LIBTOOL) --mode=compile $(COMPILE) -c $< - .s.lo: $(LIBTOOL) --mode=compile $(COMPILE) -c $< @@ -363,7 +361,7 @@ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: @@ -379,6 +377,11 @@ subdir = tests distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu tests/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ @@ -389,41 +392,38 @@ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -testaddress.o: testaddress.c ../gconf/gconf.h ../gconf/gconf-schema.h \ - ../gconf/gconf-value.h ../gconf/gconf-error.h \ - ../gconf/gconf-glib-public.h ../gconf/gconf-engine.h \ - ../gconf/gconf-internals.h ../gconf/GConf.h \ - ../gconf/gconf-backend.h ../gconf/gconf-sources.h -testchangeset.o: testchangeset.c ../gconf/gconf.h \ - ../gconf/gconf-schema.h ../gconf/gconf-value.h \ - ../gconf/gconf-error.h ../gconf/gconf-glib-public.h \ - ../gconf/gconf-engine.h ../gconf/gconf-changeset.h -testdirlist.o: testdirlist.c ../gconf/gconf.h ../gconf/gconf-schema.h \ - ../gconf/gconf-value.h ../gconf/gconf-error.h \ - ../gconf/gconf-glib-public.h ../gconf/gconf-engine.h \ - ../gconf/gconf-internals.h ../gconf/GConf.h -testencode.o: testencode.c ../gconf/gconf.h ../gconf/gconf-schema.h \ - ../gconf/gconf-value.h ../gconf/gconf-error.h \ - ../gconf/gconf-glib-public.h ../gconf/gconf-engine.h \ - ../gconf/gconf-internals.h ../gconf/GConf.h -testgconf.o: testgconf.c ../gconf/gconf.h ../gconf/gconf-schema.h \ - ../gconf/gconf-value.h ../gconf/gconf-error.h \ - ../gconf/gconf-glib-public.h ../gconf/gconf-engine.h \ - ../gconf/gconf-internals.h ../gconf/GConf.h -testlisteners.o: testlisteners.c ../gconf/gconf-listeners.h -testpersistence.o: testpersistence.c ../gconf/gconf.h \ - ../gconf/gconf-schema.h ../gconf/gconf-value.h \ - ../gconf/gconf-error.h ../gconf/gconf-glib-public.h \ - ../gconf/gconf-engine.h ../gconf/gconf-internals.h \ - ../gconf/GConf.h -testschemas.o: testschemas.c ../gconf/gconf.h ../gconf/gconf-schema.h \ - ../gconf/gconf-value.h ../gconf/gconf-error.h \ - ../gconf/gconf-glib-public.h ../gconf/gconf-engine.h \ - ../gconf/gconf-internals.h ../gconf/GConf.h -testunique.o: testunique.c ../gconf/gconf.h ../gconf/gconf-schema.h \ - ../gconf/gconf-value.h ../gconf/gconf-error.h \ - ../gconf/gconf-glib-public.h ../gconf/gconf-engine.h +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: @@ -460,27 +460,27 @@ maintainer-clean-generic: mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ - mostlyclean-libtool mostlyclean-tags \ + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \ mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \ - clean-generic mostlyclean-am + clean-depend clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-noinstPROGRAMS distclean-compile \ - distclean-libtool distclean-tags distclean-generic \ - clean-am + distclean-libtool distclean-tags distclean-depend \ + distclean-generic clean-am -rm -f libtool distclean: distclean-am maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ maintainer-clean-compile maintainer-clean-libtool \ - maintainer-clean-tags maintainer-clean-generic \ - distclean-am + maintainer-clean-tags maintainer-clean-depend \ + maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." @@ -491,12 +491,14 @@ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile mostlyclean-libtool distclean-libtool \ clean-libtool maintainer-clean-libtool tags mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +distclean-tags clean-tags maintainer-clean-tags distdir \ +mostlyclean-depend distclean-depend clean-depend \ +maintainer-clean-depend info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. --- gconf-1.0.9.orig/gconf/Makefile.in +++ gconf-1.0.9/gconf/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -96,6 +96,7 @@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_LIBS = @GUILE_LIBS@ +HAVE_LIB = @HAVE_LIB@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTALL_GCONF_CONFIG_SOURCE = @INSTALL_GCONF_CONFIG_SOURCE@ INSTOBJEXT = @INSTOBJEXT@ @@ -103,8 +104,10 @@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ LDFLAGS = @LDFLAGS@ +LIB = @LIB@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ +LTLIB = @LTLIB@ MAINT = @MAINT@ MAJOR_VERSION = @MAJOR_VERSION@ MAKEINFO = @MAKEINFO@ @@ -140,26 +143,7 @@ GCONFD_BINARY_NAME = gconfd-1 -INCLUDES = \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - $(GLIB_CFLAGS) \ - $(ORBIT_CFLAGS) \ - $(XML_CFLAGS) \ - $(OAF_CFLAGS) \ - -DG_LOG_DOMAIN=\"GConf\" \ - -DGCONF_LOCALE_DIR=\""$(gconflocaledir)"\" \ - -DGCONF_SRCDIR=\""$(absolute_top_srcdir)"\" \ - -DGCONF_CONFDIR=\""$(sysconfdir)/gconf/$(MAJOR_VERSION)"\" \ - -DGCONF_ETCDIR=\""$(sysconfdir)/gconf"\" \ - -DGCONF_BUILDDIR=\""$(top_builddir)"\" \ - -DGCONF_BINDIR=\""$(bindir)"\" \ - -DGCONF_BACKEND_DIR=\""$(pkglibdir)/$(MAJOR_VERSION)"\" \ - -DVERSION=\""$(VERSION)"\" \ - -DIID=\""OAFIID:gconfd:19991118"\" \ - -DGCONF_ENABLE_INTERNALS=1 \ - -DGCONFD=\""$(GCONFD_BINARY_NAME)"\" \ - $(NULL) +INCLUDES = -I$(top_srcdir) -I$(top_builddir) $(GLIB_CFLAGS) $(ORBIT_CFLAGS) $(XML_CFLAGS) $(OAF_CFLAGS) -DG_LOG_DOMAIN=\"GConf\" -DGCONF_LOCALE_DIR=\""$(gconflocaledir)"\" -DGCONF_SRCDIR=\""$(absolute_top_srcdir)"\" -DGCONF_CONFDIR=\""$(sysconfdir)/gconf/$(MAJOR_VERSION)"\" -DGCONF_ETCDIR=\""$(sysconfdir)/gconf"\" -DGCONF_BUILDDIR=\""$(top_builddir)"\" -DGCONF_BINDIR=\""$(bindir)"\" -DGCONF_BACKEND_DIR=\""$(pkglibdir)/$(MAJOR_VERSION)"\" -DVERSION=\""$(VERSION)"\" -DIID=\""OAFIID:gconfd:19991118"\" -DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\""$(GCONFD_BINARY_NAME)"\" $(NULL) EFENCE = @@ -173,23 +157,10 @@ BUILT_SOURCES = $(CORBA_SOURCES) gconfincludedir = $(includedir)/gconf/$(MAJOR_VERSION)/gconf -gconfinclude_HEADERS = \ - gconf.h \ - gconf-changeset.h \ - gconf-glib-public.h \ - gconf-listeners.h \ - gconf-schema.h \ - gconf-value.h \ - gconf-error.h \ - gconf-engine.h - - -gconfd_1_SOURCES = \ - gconf-database.h \ - gconf-database.c \ - gconf-sources.h \ - gconfd.h \ - gconfd.c +gconfinclude_HEADERS = gconf.h gconf-changeset.h gconf-glib-public.h gconf-listeners.h gconf-schema.h gconf-value.h gconf-error.h gconf-engine.h + + +gconfd_1_SOURCES = gconf-database.h gconf-database.c gconf-sources.h gconfd.h gconfd.c gconfd_1_LDADD = $(EFENCE) $(INTLLIBS) $(OAF_LIBS) $(GLIB_LIBS) libgconf-$(MAJOR_VERSION).la @@ -199,35 +170,17 @@ # gconf_testclient_LDADD = $(GLIB_LIBS) $(ORBIT_LIBS) libgconf-client.la -gconftool_1_SOURCES = \ - gconftool.c +gconftool_1_SOURCES = gconftool.c gconftool_1_LDADD = $(EFENCE) $(INTLLIBS) $(OAF_LIBS) $(GLIB_LIBS) $(ORBIT_LIBS) $(POPT_LIBS) $(XML_LIBS) libgconf-$(MAJOR_VERSION).la -gconf_sanity_check_1_SOURCES = \ - gconf-sanity-check.c +gconf_sanity_check_1_SOURCES = gconf-sanity-check.c gconf_sanity_check_1_LDADD = $(EFENCE) $(INTLLIBS) $(OAF_LIBS) $(GLIB_LIBS) $(ORBIT_LIBS) $(POPT_LIBS) $(XML_LIBS) libgconf-$(MAJOR_VERSION).la -libgconf_1_la_SOURCES = \ - gconf-internals.c \ - gconf-internals.h \ - gconf-backend.h \ - gconf-backend.c \ - gconf-changeset.c \ - gconf-error.c \ - gconf-glib.c \ - gconf-glib-private.h \ - gconf-listeners.c \ - gconf-locale.h \ - gconf-locale.c \ - gconf-schema.c \ - gconf-sources.c \ - gconf-value.c \ - gconf.c \ - $(CORBA_SOURCES) +libgconf_1_la_SOURCES = gconf-internals.c gconf-internals.h gconf-backend.h gconf-backend.c gconf-changeset.c gconf-error.c gconf-glib.c gconf-glib-private.h gconf-listeners.c gconf-locale.h gconf-locale.c gconf-schema.c gconf-sources.c gconf-value.c gconf.c $(CORBA_SOURCES) libgconf_1_la_LDFLAGS = -version-info $(GCONF_CURRENT):$(GCONF_REVISION):$(GCONF_AGE) @@ -272,8 +225,14 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best +DEP_FILES = .deps/GConf-common.P .deps/GConf-skels.P \ +.deps/GConf-stubs.P .deps/gconf-backend.P .deps/gconf-changeset.P \ +.deps/gconf-database.P .deps/gconf-error.P .deps/gconf-glib.P \ +.deps/gconf-internals.P .deps/gconf-listeners.P .deps/gconf-locale.P \ +.deps/gconf-sanity-check.P .deps/gconf-schema.P .deps/gconf-sources.P \ +.deps/gconf-value.P .deps/gconf.P .deps/gconfd.P .deps/gconftool.P SOURCES = $(libgconf_1_la_SOURCES) $(gconfd_1_SOURCES) $(gconftool_1_SOURCES) $(gconf_sanity_check_1_SOURCES) OBJECTS = $(libgconf_1_la_OBJECTS) $(gconfd_1_OBJECTS) $(gconftool_1_OBJECTS) $(gconf_sanity_check_1_OBJECTS) @@ -281,9 +240,9 @@ .SUFFIXES: .SUFFIXES: .S .c .lo .o .obj .s $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps gconf/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu gconf/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -315,9 +274,6 @@ $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ done -.c.o: - $(COMPILE) -c $< - # FIXME: We should only use cygpath when building on Windows, # and only if it is available. .c.obj: @@ -340,9 +296,6 @@ maintainer-clean-compile: -.c.lo: - $(LIBTOOL) --mode=compile $(COMPILE) -c $< - .s.lo: $(LIBTOOL) --mode=compile $(COMPILE) -c $< @@ -432,7 +385,7 @@ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: @@ -448,6 +401,11 @@ subdir = gconf distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu gconf/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ @@ -459,63 +417,38 @@ fi; \ done $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook -GConf-common.lo GConf-common.o : GConf-common.c GConf.h -GConf-skels.lo GConf-skels.o : GConf-skels.c GConf.h -GConf-stubs.lo GConf-stubs.o : GConf-stubs.c GConf.h -gconf-backend.lo gconf-backend.o : gconf-backend.c gconf-backend.h \ - gconf-internals.h gconf-error.h gconf-glib-public.h \ - gconf-value.h GConf.h gconf-sources.h gconf-internals.h -gconf-changeset.lo gconf-changeset.o : gconf-changeset.c \ - gconf-changeset.h gconf.h gconf-schema.h gconf-value.h \ - gconf-error.h gconf-glib-public.h gconf-engine.h \ - gconf-internals.h gconf-error.h gconf-value.h GConf.h -gconf-database.o: gconf-database.c gconf-database.h gconf-error.h \ - gconf-glib-public.h GConf.h gconf-listeners.h gconf-sources.h \ - gconf-value.h gconf-internals.h gconf-glib-private.h \ - gconf-glib-public.h gconf-locale.h gconfd.h -gconf-error.lo gconf-error.o : gconf-error.c gconf-error.h \ - gconf-glib-public.h gconf-internals.h gconf-value.h GConf.h -gconf-glib.lo gconf-glib.o : gconf-glib.c gconf-glib-public.h \ - gconf-glib-private.h -gconf-internals.lo gconf-internals.o : gconf-internals.c ../config.h \ - gconf-internals.h gconf-error.h gconf-glib-public.h \ - gconf-value.h GConf.h gconf-backend.h gconf-internals.h \ - gconf-sources.h gconf-error.h gconf-value.h gconf-schema.h \ - gconf.h gconf-schema.h gconf-engine.h -gconf-listeners.lo gconf-listeners.o : gconf-listeners.c \ - gconf-listeners.h gconf.h gconf-schema.h gconf-value.h \ - gconf-error.h gconf-glib-public.h gconf-engine.h -gconf-locale.lo gconf-locale.o : gconf-locale.c gconf-locale.h \ - gconf-internals.h gconf-error.h gconf-glib-public.h \ - gconf-value.h GConf.h -gconf-sanity-check.o: gconf-sanity-check.c gconf.h gconf-schema.h \ - gconf-value.h gconf-error.h gconf-glib-public.h gconf-engine.h \ - gconf-internals.h gconf-error.h gconf-value.h GConf.h \ - gconf-sources.h -gconf-schema.lo gconf-schema.o : gconf-schema.c gconf-schema.h \ - gconf-value.h gconf-error.h gconf-glib-public.h \ - gconf-internals.h gconf-error.h gconf-value.h GConf.h -gconf-sources.lo gconf-sources.o : gconf-sources.c gconf-backend.h \ - gconf-internals.h gconf-error.h gconf-glib-public.h \ - gconf-value.h GConf.h gconf-sources.h gconf-sources.h \ - gconf-internals.h gconf-schema.h gconf.h gconf-schema.h \ - gconf-engine.h -gconf-value.lo gconf-value.o : gconf-value.c gconf-value.h gconf-error.h \ - gconf-glib-public.h gconf-schema.h gconf-value.h \ - gconf-internals.h GConf.h -gconf.lo gconf.o : gconf.c GConf.h gconf.h gconf-schema.h gconf-value.h \ - gconf-error.h gconf-glib-public.h gconf-engine.h \ - gconf-internals.h gconf-error.h gconf-value.h gconf-sources.h \ - gconf-locale.h -gconfd.o: gconfd.c ../config.h gconf-internals.h gconf-error.h \ - gconf-glib-public.h gconf-value.h GConf.h gconf-sources.h \ - gconf-listeners.h gconf-locale.h gconf-schema.h gconf-value.h \ - gconf-glib-private.h gconf-glib-public.h gconf.h gconf-schema.h \ - gconf-engine.h gconf-error.h gconfd.h gconf-database.h -gconftool.o: gconftool.c gconf.h gconf-schema.h gconf-value.h \ - gconf-error.h gconf-glib-public.h gconf-engine.h \ - gconf-internals.h gconf-error.h gconf-value.h GConf.h +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: @@ -558,19 +491,19 @@ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \ mostlyclean-libtool mostlyclean-binPROGRAMS \ - mostlyclean-tags mostlyclean-generic + mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-libLTLIBRARIES clean-compile clean-libtool \ - clean-binPROGRAMS clean-tags clean-generic \ + clean-binPROGRAMS clean-tags clean-depend clean-generic \ mostlyclean-am clean: clean-am distclean-am: distclean-libLTLIBRARIES distclean-compile \ distclean-libtool distclean-binPROGRAMS distclean-tags \ - distclean-generic clean-am + distclean-depend distclean-generic clean-am -rm -f libtool distclean: distclean-am @@ -578,7 +511,8 @@ maintainer-clean-am: maintainer-clean-libLTLIBRARIES \ maintainer-clean-compile maintainer-clean-libtool \ maintainer-clean-binPROGRAMS maintainer-clean-tags \ - maintainer-clean-generic distclean-am + maintainer-clean-depend maintainer-clean-generic \ + distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." @@ -593,13 +527,14 @@ clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \ install-binPROGRAMS uninstall-gconfincludeHEADERS \ install-gconfincludeHEADERS tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ -check-am installcheck-am installcheck install-exec-local \ -install-exec-am install-exec install-data-local install-data-am \ -install-data install-am install uninstall-am uninstall all-redirect \ -all-am all installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean +clean-tags maintainer-clean-tags distdir mostlyclean-depend \ +distclean-depend clean-depend maintainer-clean-depend info-am info \ +dvi-am dvi check check-am installcheck-am installcheck \ +install-exec-local install-exec-am install-exec install-data-local \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean dist-hook: --- gconf-1.0.9.orig/gconf/gconf-internals.c +++ gconf-1.0.9/gconf/gconf-internals.c @@ -2945,10 +2945,46 @@ } } +enum { UNKNOWN, LOCAL, NORMAL }; + + +static gboolean +gconf_use_local_locks (void) +{ + static int local_locks = UNKNOWN; + + if (local_locks == UNKNOWN) + { + const char *l = + g_getenv ("GCONF_GLOBAL_LOCKS"); + + if (l && atoi (l) == 1) + local_locks = NORMAL; + else + local_locks = LOCAL; + } + + return local_locks == LOCAL; +} + char* gconf_get_daemon_dir (void) { - return g_strconcat (g_get_home_dir (), "/.gconfd", NULL); + if (gconf_use_local_locks ()) + { + char *s; + char *subdir; + + subdir = g_strconcat ("gconfd-", g_get_user_name (), NULL); + + s = g_strconcat (g_get_tmp_dir (),"/", subdir, NULL); + + g_free (subdir); + + return s; + } + else + return g_strconcat (g_get_home_dir (), "/.gconfd", NULL); } char* @@ -3038,8 +3074,13 @@ goto out; } +#ifdef GCONF2_DIR + if (gconf_file_exists (GCONF2_DIR"/gconfd-2")) + argv[0] = g_strconcat (GCONF2_DIR, "/gconfd-2", NULL); +#else if (gconf_file_exists (GCONF_BINDIR"/gconfd-2")) argv[0] = g_strconcat (GCONF_BINDIR, "/gconfd-2", NULL); +#endif else argv[0] = g_strconcat (GCONF_BINDIR, "/" GCONFD, NULL); --- gconf-1.0.9.orig/gconf/GConf.h +++ gconf-1.0.9/gconf/GConf.h @@ -0,0 +1,1390 @@ +/* + * This file was generated by orbit-idl - DO NOT EDIT! + */ + +#include +#define ORBIT_IDL_SERIAL 9 +#include + +#ifndef GConf_H +#define GConf_H 1 +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + +/** typedefs **/ +#if !defined(_ConfigBasicValueType_defined) +#define _ConfigBasicValueType_defined 1 + typedef enum + { + BInvalidVal, + BIntVal, + BStringVal, + BFloatVal, + BBoolVal, + BSchemaVal + } + ConfigBasicValueType; +#if !defined(TC_IMPL_TC_ConfigBasicValueType_0) +#define TC_IMPL_TC_ConfigBasicValueType_0 'G' +#define TC_IMPL_TC_ConfigBasicValueType_1 'C' +#define TC_IMPL_TC_ConfigBasicValueType_2 'o' +#define TC_IMPL_TC_ConfigBasicValueType_3 'n' +#define TC_IMPL_TC_ConfigBasicValueType_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigBasicValueType_struct; +#define TC_ConfigBasicValueType ((CORBA_TypeCode)&TC_ConfigBasicValueType_struct) +#endif +#endif +#if !defined(_ConfigValueType_defined) +#define _ConfigValueType_defined 1 + typedef enum + { + InvalidVal, + IntVal, + StringVal, + FloatVal, + BoolVal, + SchemaVal, + ListVal, + PairVal + } + ConfigValueType; +#if !defined(TC_IMPL_TC_ConfigValueType_0) +#define TC_IMPL_TC_ConfigValueType_0 'G' +#define TC_IMPL_TC_ConfigValueType_1 'C' +#define TC_IMPL_TC_ConfigValueType_2 'o' +#define TC_IMPL_TC_ConfigValueType_3 'n' +#define TC_IMPL_TC_ConfigValueType_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigValueType_struct; +#define TC_ConfigValueType ((CORBA_TypeCode)&TC_ConfigValueType_struct) +#endif +#endif +#if !defined(_ConfigSchema_defined) +#define _ConfigSchema_defined 1 + typedef struct + { + ConfigValueType value_type; + ConfigValueType value_list_type; + ConfigValueType value_car_type; + ConfigValueType value_cdr_type; + CORBA_char *locale; + CORBA_char *short_desc; + CORBA_char *long_desc; + CORBA_char *owner; + CORBA_char *encoded_default_value; + } + ConfigSchema; + +#if !defined(TC_IMPL_TC_ConfigSchema_0) +#define TC_IMPL_TC_ConfigSchema_0 'G' +#define TC_IMPL_TC_ConfigSchema_1 'C' +#define TC_IMPL_TC_ConfigSchema_2 'o' +#define TC_IMPL_TC_ConfigSchema_3 'n' +#define TC_IMPL_TC_ConfigSchema_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigSchema_struct; +#define TC_ConfigSchema ((CORBA_TypeCode)&TC_ConfigSchema_struct) +#endif + extern ConfigSchema *ConfigSchema__alloc(void); + extern gpointer ConfigSchema__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(_ConfigBasicValue_defined) +#define _ConfigBasicValue_defined 1 + typedef struct + { + ConfigBasicValueType _d; + union + { + CORBA_long dummy; + CORBA_long int_value; + CORBA_char *string_value; + CORBA_float float_value; + CORBA_boolean bool_value; + ConfigSchema schema_value; + } + _u; + } + ConfigBasicValue; +#if !defined(TC_IMPL_TC_ConfigBasicValue_0) +#define TC_IMPL_TC_ConfigBasicValue_0 'G' +#define TC_IMPL_TC_ConfigBasicValue_1 'C' +#define TC_IMPL_TC_ConfigBasicValue_2 'o' +#define TC_IMPL_TC_ConfigBasicValue_3 'n' +#define TC_IMPL_TC_ConfigBasicValue_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigBasicValue_struct; +#define TC_ConfigBasicValue ((CORBA_TypeCode)&TC_ConfigBasicValue_struct) +#endif + extern ConfigBasicValue *ConfigBasicValue__alloc(void); + extern gpointer ConfigBasicValue__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(ORBIT_DECL_CORBA_sequence_ConfigBasicValue) && !defined(_CORBA_sequence_ConfigBasicValue_defined) +#define ORBIT_DECL_CORBA_sequence_ConfigBasicValue 1 +#define _CORBA_sequence_ConfigBasicValue_defined 1 +#define ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_0 'G' +#define ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_1 'C' +#define ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_2 'o' +#define ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_3 'n' +#define ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_4 'f' + typedef struct + { + CORBA_unsigned_long _maximum, + _length; + ConfigBasicValue *_buffer; + CORBA_boolean _release; + } + CORBA_sequence_ConfigBasicValue; + ConfigBasicValue + *CORBA_sequence_ConfigBasicValue_allocbuf(CORBA_unsigned_long len); +#endif +#if !defined(TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_0) +#define TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_0 'G' +#define TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_1 'C' +#define TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_2 'o' +#define TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_3 'n' +#define TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_4 'f' + extern const struct CORBA_TypeCode_struct + TC_CORBA_sequence_ConfigBasicValue_struct; +#define TC_CORBA_sequence_ConfigBasicValue ((CORBA_TypeCode)&TC_CORBA_sequence_ConfigBasicValue_struct) +#endif + extern CORBA_sequence_ConfigBasicValue + *CORBA_sequence_ConfigBasicValue__alloc(void); + extern gpointer CORBA_sequence_ConfigBasicValue__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#if !defined(_BasicValueList_defined) +#define _BasicValueList_defined 1 + typedef CORBA_sequence_ConfigBasicValue BasicValueList; +#if !defined(TC_IMPL_TC_BasicValueList_0) +#define TC_IMPL_TC_BasicValueList_0 'G' +#define TC_IMPL_TC_BasicValueList_1 'C' +#define TC_IMPL_TC_BasicValueList_2 'o' +#define TC_IMPL_TC_BasicValueList_3 'n' +#define TC_IMPL_TC_BasicValueList_4 'f' + extern const struct CORBA_TypeCode_struct TC_BasicValueList_struct; +#define TC_BasicValueList ((CORBA_TypeCode)&TC_BasicValueList_struct) +#endif + extern BasicValueList *BasicValueList__alloc(void); + extern gpointer BasicValueList__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(_ConfigList_defined) +#define _ConfigList_defined 1 + typedef struct + { + BasicValueList seq; + ConfigBasicValueType list_type; + } + ConfigList; + +#if !defined(TC_IMPL_TC_ConfigList_0) +#define TC_IMPL_TC_ConfigList_0 'G' +#define TC_IMPL_TC_ConfigList_1 'C' +#define TC_IMPL_TC_ConfigList_2 'o' +#define TC_IMPL_TC_ConfigList_3 'n' +#define TC_IMPL_TC_ConfigList_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigList_struct; +#define TC_ConfigList ((CORBA_TypeCode)&TC_ConfigList_struct) +#endif + extern ConfigList *ConfigList__alloc(void); + extern gpointer ConfigList__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(_ConfigValue_defined) +#define _ConfigValue_defined 1 + typedef struct + { + ConfigValueType _d; + union + { + CORBA_long dummy; + CORBA_long int_value; + CORBA_char *string_value; + CORBA_float float_value; + CORBA_boolean bool_value; + ConfigSchema schema_value; + ConfigList list_value; + BasicValueList pair_value; + } + _u; + } + ConfigValue; +#if !defined(TC_IMPL_TC_ConfigValue_0) +#define TC_IMPL_TC_ConfigValue_0 'G' +#define TC_IMPL_TC_ConfigValue_1 'C' +#define TC_IMPL_TC_ConfigValue_2 'o' +#define TC_IMPL_TC_ConfigValue_3 'n' +#define TC_IMPL_TC_ConfigValue_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigValue_struct; +#define TC_ConfigValue ((CORBA_TypeCode)&TC_ConfigValue_struct) +#endif + extern ConfigValue *ConfigValue__alloc(void); + extern gpointer ConfigValue__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(ORBIT_DECL_ConfigDatabase) && !defined(_ConfigDatabase_defined) +#define ORBIT_DECL_ConfigDatabase 1 +#define _ConfigDatabase_defined 1 +#define ConfigDatabase__free CORBA_Object__free + typedef CORBA_Object ConfigDatabase; + extern CORBA_unsigned_long ConfigDatabase__classid; +#if !defined(TC_IMPL_TC_ConfigDatabase_0) +#define TC_IMPL_TC_ConfigDatabase_0 'G' +#define TC_IMPL_TC_ConfigDatabase_1 'C' +#define TC_IMPL_TC_ConfigDatabase_2 'o' +#define TC_IMPL_TC_ConfigDatabase_3 'n' +#define TC_IMPL_TC_ConfigDatabase_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigDatabase_struct; +#define TC_ConfigDatabase ((CORBA_TypeCode)&TC_ConfigDatabase_struct) +#endif +#endif +#if !defined(ORBIT_DECL_ConfigListener) && !defined(_ConfigListener_defined) +#define ORBIT_DECL_ConfigListener 1 +#define _ConfigListener_defined 1 +#define ConfigListener__free CORBA_Object__free + typedef CORBA_Object ConfigListener; + extern CORBA_unsigned_long ConfigListener__classid; +#if !defined(TC_IMPL_TC_ConfigListener_0) +#define TC_IMPL_TC_ConfigListener_0 'G' +#define TC_IMPL_TC_ConfigListener_1 'C' +#define TC_IMPL_TC_ConfigListener_2 'o' +#define TC_IMPL_TC_ConfigListener_3 'n' +#define TC_IMPL_TC_ConfigListener_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigListener_struct; +#define TC_ConfigListener ((CORBA_TypeCode)&TC_ConfigListener_struct) +#endif +#endif +#if !defined(ORBIT_DECL_CORBA_sequence_CORBA_string) && !defined(_CORBA_sequence_CORBA_string_defined) +#define ORBIT_DECL_CORBA_sequence_CORBA_string 1 +#define _CORBA_sequence_CORBA_string_defined 1 +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_0 'G' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_1 'C' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_2 'o' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_3 'n' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_4 'f' + typedef struct + { + CORBA_unsigned_long _maximum, + _length; + CORBA_char **_buffer; + CORBA_boolean _release; + } + CORBA_sequence_CORBA_string; + CORBA_char **CORBA_sequence_CORBA_string_allocbuf(CORBA_unsigned_long len); +#endif +#if !defined(TC_IMPL_TC_CORBA_sequence_CORBA_string_0) +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_0 'G' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_1 'C' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_2 'o' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_3 'n' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_4 'f' + extern const struct CORBA_TypeCode_struct + TC_CORBA_sequence_CORBA_string_struct; +#define TC_CORBA_sequence_CORBA_string ((CORBA_TypeCode)&TC_CORBA_sequence_CORBA_string_struct) +#endif + extern CORBA_sequence_CORBA_string + *CORBA_sequence_CORBA_string__alloc(void); + extern gpointer CORBA_sequence_CORBA_string__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#if !defined(_ConfigListener_KeyList_defined) +#define _ConfigListener_KeyList_defined 1 + typedef CORBA_sequence_CORBA_string ConfigListener_KeyList; +#if !defined(TC_IMPL_TC_ConfigListener_KeyList_0) +#define TC_IMPL_TC_ConfigListener_KeyList_0 'G' +#define TC_IMPL_TC_ConfigListener_KeyList_1 'C' +#define TC_IMPL_TC_ConfigListener_KeyList_2 'o' +#define TC_IMPL_TC_ConfigListener_KeyList_3 'n' +#define TC_IMPL_TC_ConfigListener_KeyList_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigListener_KeyList_struct; +#define TC_ConfigListener_KeyList ((CORBA_TypeCode)&TC_ConfigListener_KeyList_struct) +#endif + extern ConfigListener_KeyList *ConfigListener_KeyList__alloc(void); + extern gpointer ConfigListener_KeyList__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(_ConfigErrorType_defined) +#define _ConfigErrorType_defined 1 + typedef enum + { + ConfigFailed, + ConfigNoPermission, + ConfigBadAddress, + ConfigBadKey, + ConfigParseError, + ConfigCorrupt, + ConfigTypeMismatch, + ConfigIsDir, + ConfigIsKey, + ConfigOverridden, + ConfigLockFailed, + ConfigNoWritableDatabase, + ConfigInShutdown + } + ConfigErrorType; +#if !defined(TC_IMPL_TC_ConfigErrorType_0) +#define TC_IMPL_TC_ConfigErrorType_0 'G' +#define TC_IMPL_TC_ConfigErrorType_1 'C' +#define TC_IMPL_TC_ConfigErrorType_2 'o' +#define TC_IMPL_TC_ConfigErrorType_3 'n' +#define TC_IMPL_TC_ConfigErrorType_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigErrorType_struct; +#define TC_ConfigErrorType ((CORBA_TypeCode)&TC_ConfigErrorType_struct) +#endif +#endif +#define ex_ConfigException "IDL:ConfigException:1.0" + void _ORBIT_ConfigException_demarshal(GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev); + void _ORBIT_ConfigException_marshal(GIOPSendBuffer * _ORBIT_send_buffer, + CORBA_Environment * ev); +#if !defined(_ConfigException_defined) +#define _ConfigException_defined 1 + typedef struct + { + ConfigErrorType err_no; + CORBA_char *message; + } + ConfigException; + +#if !defined(TC_IMPL_TC_ConfigException_0) +#define TC_IMPL_TC_ConfigException_0 'G' +#define TC_IMPL_TC_ConfigException_1 'C' +#define TC_IMPL_TC_ConfigException_2 'o' +#define TC_IMPL_TC_ConfigException_3 'n' +#define TC_IMPL_TC_ConfigException_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigException_struct; +#define TC_ConfigException ((CORBA_TypeCode)&TC_ConfigException_struct) +#endif + extern ConfigException *ConfigException__alloc(void); + extern gpointer ConfigException__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(ORBIT_DECL_ConfigDatabase) && !defined(_ConfigDatabase_defined) +#define ORBIT_DECL_ConfigDatabase 1 +#define _ConfigDatabase_defined 1 +#define ConfigDatabase__free CORBA_Object__free + typedef CORBA_Object ConfigDatabase; + extern CORBA_unsigned_long ConfigDatabase__classid; +#if !defined(TC_IMPL_TC_ConfigDatabase_0) +#define TC_IMPL_TC_ConfigDatabase_0 'G' +#define TC_IMPL_TC_ConfigDatabase_1 'C' +#define TC_IMPL_TC_ConfigDatabase_2 'o' +#define TC_IMPL_TC_ConfigDatabase_3 'n' +#define TC_IMPL_TC_ConfigDatabase_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigDatabase_struct; +#define TC_ConfigDatabase ((CORBA_TypeCode)&TC_ConfigDatabase_struct) +#endif +#endif +#if !defined(ORBIT_DECL_CORBA_sequence_CORBA_string) && !defined(_CORBA_sequence_CORBA_string_defined) +#define ORBIT_DECL_CORBA_sequence_CORBA_string 1 +#define _CORBA_sequence_CORBA_string_defined 1 +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_0 'G' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_1 'C' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_2 'o' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_3 'n' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_4 'f' + typedef struct + { + CORBA_unsigned_long _maximum, + _length; + CORBA_char **_buffer; + CORBA_boolean _release; + } + CORBA_sequence_CORBA_string; + CORBA_char **CORBA_sequence_CORBA_string_allocbuf(CORBA_unsigned_long len); +#endif +#if !defined(TC_IMPL_TC_CORBA_sequence_CORBA_string_0) +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_0 'G' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_1 'C' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_2 'o' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_3 'n' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_4 'f' + extern const struct CORBA_TypeCode_struct + TC_CORBA_sequence_CORBA_string_struct; +#define TC_CORBA_sequence_CORBA_string ((CORBA_TypeCode)&TC_CORBA_sequence_CORBA_string_struct) +#endif + extern CORBA_sequence_CORBA_string + *CORBA_sequence_CORBA_string__alloc(void); + extern gpointer CORBA_sequence_CORBA_string__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#if !defined(_ConfigDatabase_KeyList_defined) +#define _ConfigDatabase_KeyList_defined 1 + typedef CORBA_sequence_CORBA_string ConfigDatabase_KeyList; +#if !defined(TC_IMPL_TC_ConfigDatabase_KeyList_0) +#define TC_IMPL_TC_ConfigDatabase_KeyList_0 'G' +#define TC_IMPL_TC_ConfigDatabase_KeyList_1 'C' +#define TC_IMPL_TC_ConfigDatabase_KeyList_2 'o' +#define TC_IMPL_TC_ConfigDatabase_KeyList_3 'n' +#define TC_IMPL_TC_ConfigDatabase_KeyList_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigDatabase_KeyList_struct; +#define TC_ConfigDatabase_KeyList ((CORBA_TypeCode)&TC_ConfigDatabase_KeyList_struct) +#endif + extern ConfigDatabase_KeyList *ConfigDatabase_KeyList__alloc(void); + extern gpointer ConfigDatabase_KeyList__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(ORBIT_DECL_CORBA_sequence_ConfigValue) && !defined(_CORBA_sequence_ConfigValue_defined) +#define ORBIT_DECL_CORBA_sequence_ConfigValue 1 +#define _CORBA_sequence_ConfigValue_defined 1 +#define ORBIT_IMPL_CORBA_sequence_ConfigValue_0 'G' +#define ORBIT_IMPL_CORBA_sequence_ConfigValue_1 'C' +#define ORBIT_IMPL_CORBA_sequence_ConfigValue_2 'o' +#define ORBIT_IMPL_CORBA_sequence_ConfigValue_3 'n' +#define ORBIT_IMPL_CORBA_sequence_ConfigValue_4 'f' + typedef struct + { + CORBA_unsigned_long _maximum, + _length; + ConfigValue *_buffer; + CORBA_boolean _release; + } + CORBA_sequence_ConfigValue; + ConfigValue *CORBA_sequence_ConfigValue_allocbuf(CORBA_unsigned_long len); +#endif +#if !defined(TC_IMPL_TC_CORBA_sequence_ConfigValue_0) +#define TC_IMPL_TC_CORBA_sequence_ConfigValue_0 'G' +#define TC_IMPL_TC_CORBA_sequence_ConfigValue_1 'C' +#define TC_IMPL_TC_CORBA_sequence_ConfigValue_2 'o' +#define TC_IMPL_TC_CORBA_sequence_ConfigValue_3 'n' +#define TC_IMPL_TC_CORBA_sequence_ConfigValue_4 'f' + extern const struct CORBA_TypeCode_struct + TC_CORBA_sequence_ConfigValue_struct; +#define TC_CORBA_sequence_ConfigValue ((CORBA_TypeCode)&TC_CORBA_sequence_ConfigValue_struct) +#endif + extern CORBA_sequence_ConfigValue *CORBA_sequence_ConfigValue__alloc(void); + extern gpointer CORBA_sequence_ConfigValue__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#if !defined(_ConfigDatabase_ValueList_defined) +#define _ConfigDatabase_ValueList_defined 1 + typedef CORBA_sequence_ConfigValue ConfigDatabase_ValueList; +#if !defined(TC_IMPL_TC_ConfigDatabase_ValueList_0) +#define TC_IMPL_TC_ConfigDatabase_ValueList_0 'G' +#define TC_IMPL_TC_ConfigDatabase_ValueList_1 'C' +#define TC_IMPL_TC_ConfigDatabase_ValueList_2 'o' +#define TC_IMPL_TC_ConfigDatabase_ValueList_3 'n' +#define TC_IMPL_TC_ConfigDatabase_ValueList_4 'f' + extern const struct CORBA_TypeCode_struct + TC_ConfigDatabase_ValueList_struct; +#define TC_ConfigDatabase_ValueList ((CORBA_TypeCode)&TC_ConfigDatabase_ValueList_struct) +#endif + extern ConfigDatabase_ValueList *ConfigDatabase_ValueList__alloc(void); + extern gpointer ConfigDatabase_ValueList__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(ORBIT_DECL_CORBA_sequence_CORBA_boolean) && !defined(_CORBA_sequence_CORBA_boolean_defined) +#define ORBIT_DECL_CORBA_sequence_CORBA_boolean 1 +#define _CORBA_sequence_CORBA_boolean_defined 1 +#define ORBIT_IMPL_CORBA_sequence_CORBA_boolean_0 'G' +#define ORBIT_IMPL_CORBA_sequence_CORBA_boolean_1 'C' +#define ORBIT_IMPL_CORBA_sequence_CORBA_boolean_2 'o' +#define ORBIT_IMPL_CORBA_sequence_CORBA_boolean_3 'n' +#define ORBIT_IMPL_CORBA_sequence_CORBA_boolean_4 'f' + typedef struct + { + CORBA_unsigned_long _maximum, + _length; + CORBA_boolean *_buffer; + CORBA_boolean _release; + } + CORBA_sequence_CORBA_boolean; + CORBA_boolean *CORBA_sequence_CORBA_boolean_allocbuf(CORBA_unsigned_long + len); +#endif +#if !defined(TC_IMPL_TC_CORBA_sequence_CORBA_boolean_0) +#define TC_IMPL_TC_CORBA_sequence_CORBA_boolean_0 'G' +#define TC_IMPL_TC_CORBA_sequence_CORBA_boolean_1 'C' +#define TC_IMPL_TC_CORBA_sequence_CORBA_boolean_2 'o' +#define TC_IMPL_TC_CORBA_sequence_CORBA_boolean_3 'n' +#define TC_IMPL_TC_CORBA_sequence_CORBA_boolean_4 'f' + extern const struct CORBA_TypeCode_struct + TC_CORBA_sequence_CORBA_boolean_struct; +#define TC_CORBA_sequence_CORBA_boolean ((CORBA_TypeCode)&TC_CORBA_sequence_CORBA_boolean_struct) +#endif + extern CORBA_sequence_CORBA_boolean + *CORBA_sequence_CORBA_boolean__alloc(void); + extern gpointer CORBA_sequence_CORBA_boolean__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#if !defined(_ConfigDatabase_IsDefaultList_defined) +#define _ConfigDatabase_IsDefaultList_defined 1 + typedef CORBA_sequence_CORBA_boolean ConfigDatabase_IsDefaultList; +#if !defined(TC_IMPL_TC_ConfigDatabase_IsDefaultList_0) +#define TC_IMPL_TC_ConfigDatabase_IsDefaultList_0 'G' +#define TC_IMPL_TC_ConfigDatabase_IsDefaultList_1 'C' +#define TC_IMPL_TC_ConfigDatabase_IsDefaultList_2 'o' +#define TC_IMPL_TC_ConfigDatabase_IsDefaultList_3 'n' +#define TC_IMPL_TC_ConfigDatabase_IsDefaultList_4 'f' + extern const struct CORBA_TypeCode_struct + TC_ConfigDatabase_IsDefaultList_struct; +#define TC_ConfigDatabase_IsDefaultList ((CORBA_TypeCode)&TC_ConfigDatabase_IsDefaultList_struct) +#endif + extern ConfigDatabase_IsDefaultList + *ConfigDatabase_IsDefaultList__alloc(void); + extern gpointer ConfigDatabase_IsDefaultList__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(ORBIT_DECL_CORBA_sequence_CORBA_boolean) && !defined(_CORBA_sequence_CORBA_boolean_defined) +#define ORBIT_DECL_CORBA_sequence_CORBA_boolean 1 +#define _CORBA_sequence_CORBA_boolean_defined 1 +#define ORBIT_IMPL_CORBA_sequence_CORBA_boolean_0 'G' +#define ORBIT_IMPL_CORBA_sequence_CORBA_boolean_1 'C' +#define ORBIT_IMPL_CORBA_sequence_CORBA_boolean_2 'o' +#define ORBIT_IMPL_CORBA_sequence_CORBA_boolean_3 'n' +#define ORBIT_IMPL_CORBA_sequence_CORBA_boolean_4 'f' + typedef struct + { + CORBA_unsigned_long _maximum, + _length; + CORBA_boolean *_buffer; + CORBA_boolean _release; + } + CORBA_sequence_CORBA_boolean; + CORBA_boolean *CORBA_sequence_CORBA_boolean_allocbuf(CORBA_unsigned_long + len); +#endif +#if !defined(TC_IMPL_TC_CORBA_sequence_CORBA_boolean_0) +#define TC_IMPL_TC_CORBA_sequence_CORBA_boolean_0 'G' +#define TC_IMPL_TC_CORBA_sequence_CORBA_boolean_1 'C' +#define TC_IMPL_TC_CORBA_sequence_CORBA_boolean_2 'o' +#define TC_IMPL_TC_CORBA_sequence_CORBA_boolean_3 'n' +#define TC_IMPL_TC_CORBA_sequence_CORBA_boolean_4 'f' + extern const struct CORBA_TypeCode_struct + TC_CORBA_sequence_CORBA_boolean_struct; +#define TC_CORBA_sequence_CORBA_boolean ((CORBA_TypeCode)&TC_CORBA_sequence_CORBA_boolean_struct) +#endif + extern CORBA_sequence_CORBA_boolean + *CORBA_sequence_CORBA_boolean__alloc(void); + extern gpointer CORBA_sequence_CORBA_boolean__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#if !defined(_ConfigDatabase_IsWritableList_defined) +#define _ConfigDatabase_IsWritableList_defined 1 + typedef CORBA_sequence_CORBA_boolean ConfigDatabase_IsWritableList; +#if !defined(TC_IMPL_TC_ConfigDatabase_IsWritableList_0) +#define TC_IMPL_TC_ConfigDatabase_IsWritableList_0 'G' +#define TC_IMPL_TC_ConfigDatabase_IsWritableList_1 'C' +#define TC_IMPL_TC_ConfigDatabase_IsWritableList_2 'o' +#define TC_IMPL_TC_ConfigDatabase_IsWritableList_3 'n' +#define TC_IMPL_TC_ConfigDatabase_IsWritableList_4 'f' + extern const struct CORBA_TypeCode_struct + TC_ConfigDatabase_IsWritableList_struct; +#define TC_ConfigDatabase_IsWritableList ((CORBA_TypeCode)&TC_ConfigDatabase_IsWritableList_struct) +#endif + extern ConfigDatabase_IsWritableList + *ConfigDatabase_IsWritableList__alloc(void); + extern gpointer ConfigDatabase_IsWritableList__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(ORBIT_DECL_ConfigDatabase2) && !defined(_ConfigDatabase2_defined) +#define ORBIT_DECL_ConfigDatabase2 1 +#define _ConfigDatabase2_defined 1 +#define ConfigDatabase2__free CORBA_Object__free + typedef CORBA_Object ConfigDatabase2; + extern CORBA_unsigned_long ConfigDatabase2__classid; +#if !defined(TC_IMPL_TC_ConfigDatabase2_0) +#define TC_IMPL_TC_ConfigDatabase2_0 'G' +#define TC_IMPL_TC_ConfigDatabase2_1 'C' +#define TC_IMPL_TC_ConfigDatabase2_2 'o' +#define TC_IMPL_TC_ConfigDatabase2_3 'n' +#define TC_IMPL_TC_ConfigDatabase2_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigDatabase2_struct; +#define TC_ConfigDatabase2 ((CORBA_TypeCode)&TC_ConfigDatabase2_struct) +#endif +#endif +#if !defined(ORBIT_DECL_CORBA_sequence_CORBA_string) && !defined(_CORBA_sequence_CORBA_string_defined) +#define ORBIT_DECL_CORBA_sequence_CORBA_string 1 +#define _CORBA_sequence_CORBA_string_defined 1 +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_0 'G' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_1 'C' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_2 'o' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_3 'n' +#define ORBIT_IMPL_CORBA_sequence_CORBA_string_4 'f' + typedef struct + { + CORBA_unsigned_long _maximum, + _length; + CORBA_char **_buffer; + CORBA_boolean _release; + } + CORBA_sequence_CORBA_string; + CORBA_char **CORBA_sequence_CORBA_string_allocbuf(CORBA_unsigned_long len); +#endif +#if !defined(TC_IMPL_TC_CORBA_sequence_CORBA_string_0) +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_0 'G' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_1 'C' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_2 'o' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_3 'n' +#define TC_IMPL_TC_CORBA_sequence_CORBA_string_4 'f' + extern const struct CORBA_TypeCode_struct + TC_CORBA_sequence_CORBA_string_struct; +#define TC_CORBA_sequence_CORBA_string ((CORBA_TypeCode)&TC_CORBA_sequence_CORBA_string_struct) +#endif + extern CORBA_sequence_CORBA_string + *CORBA_sequence_CORBA_string__alloc(void); + extern gpointer CORBA_sequence_CORBA_string__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#if !defined(_ConfigDatabase2_SchemaNameList_defined) +#define _ConfigDatabase2_SchemaNameList_defined 1 + typedef CORBA_sequence_CORBA_string ConfigDatabase2_SchemaNameList; +#if !defined(TC_IMPL_TC_ConfigDatabase2_SchemaNameList_0) +#define TC_IMPL_TC_ConfigDatabase2_SchemaNameList_0 'G' +#define TC_IMPL_TC_ConfigDatabase2_SchemaNameList_1 'C' +#define TC_IMPL_TC_ConfigDatabase2_SchemaNameList_2 'o' +#define TC_IMPL_TC_ConfigDatabase2_SchemaNameList_3 'n' +#define TC_IMPL_TC_ConfigDatabase2_SchemaNameList_4 'f' + extern const struct CORBA_TypeCode_struct + TC_ConfigDatabase2_SchemaNameList_struct; +#define TC_ConfigDatabase2_SchemaNameList ((CORBA_TypeCode)&TC_ConfigDatabase2_SchemaNameList_struct) +#endif + extern ConfigDatabase2_SchemaNameList + *ConfigDatabase2_SchemaNameList__alloc(void); + extern gpointer ConfigDatabase2_SchemaNameList__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */ +#endif +#if !defined(ORBIT_DECL_ConfigServer) && !defined(_ConfigServer_defined) +#define ORBIT_DECL_ConfigServer 1 +#define _ConfigServer_defined 1 +#define ConfigServer__free CORBA_Object__free + typedef CORBA_Object ConfigServer; + extern CORBA_unsigned_long ConfigServer__classid; +#if !defined(TC_IMPL_TC_ConfigServer_0) +#define TC_IMPL_TC_ConfigServer_0 'G' +#define TC_IMPL_TC_ConfigServer_1 'C' +#define TC_IMPL_TC_ConfigServer_2 'o' +#define TC_IMPL_TC_ConfigServer_3 'n' +#define TC_IMPL_TC_ConfigServer_4 'f' + extern const struct CORBA_TypeCode_struct TC_ConfigServer_struct; +#define TC_ConfigServer ((CORBA_TypeCode)&TC_ConfigServer_struct) +#endif +#endif + +/** POA structures **/ + typedef struct + { + void *_private; + void (*notify) (PortableServer_Servant _servant, + const ConfigDatabase database, + const CORBA_unsigned_long cnxn, const CORBA_char * key, + const ConfigValue * value, + const CORBA_boolean is_default, + const CORBA_boolean is_writable, + CORBA_Environment * ev); + void (*ping) (PortableServer_Servant _servant, CORBA_Environment * ev); + void (*update_listener) (PortableServer_Servant _servant, + const ConfigDatabase database, + const CORBA_char * db_address, + const CORBA_unsigned_long old_cnxn, + const CORBA_char * where, + const CORBA_unsigned_long new_cnxn, + CORBA_Environment * ev); + void (*invalidate_cached_values) (PortableServer_Servant _servant, + const ConfigDatabase database, + const ConfigListener_KeyList * keys, + CORBA_Environment * ev); + void (*drop_all_caches) (PortableServer_Servant _servant, + CORBA_Environment * ev); + } + POA_ConfigListener__epv; + typedef struct + { + PortableServer_ServantBase__epv *_base_epv; + POA_ConfigListener__epv *ConfigListener_epv; + } + POA_ConfigListener__vepv; + typedef struct + { + void *_private; + POA_ConfigListener__vepv *vepv; + } + POA_ConfigListener; + extern void POA_ConfigListener__init(PortableServer_Servant servant, + CORBA_Environment * ev); + extern void POA_ConfigListener__fini(PortableServer_Servant servant, + CORBA_Environment * ev); + typedef struct + { + void *_private; + CORBA_unsigned_long(*add_listener) (PortableServer_Servant _servant, + const CORBA_char * where, + const ConfigListener who, + CORBA_Environment * ev); + void (*remove_listener) (PortableServer_Servant _servant, + const CORBA_unsigned_long cnxn, + CORBA_Environment * ev); + ConfigValue *(*lookup) (PortableServer_Servant _servant, + const CORBA_char * key, CORBA_Environment * ev); + ConfigValue *(*lookup_with_locale) (PortableServer_Servant _servant, + const CORBA_char * key, + const CORBA_char * locale, + const CORBA_boolean + use_schema_default, + CORBA_boolean * value_is_default, + CORBA_boolean * value_is_writable, + CORBA_Environment * ev); + ConfigValue *(*lookup_default_value) (PortableServer_Servant _servant, + const CORBA_char * key, + const CORBA_char * locale, + CORBA_Environment * ev); + void (*batch_lookup) (PortableServer_Servant _servant, + const ConfigDatabase_KeyList * keys, + const CORBA_char * locale, + ConfigDatabase_ValueList ** values, + ConfigDatabase_IsDefaultList ** is_defaults, + ConfigDatabase_IsWritableList ** is_writables, + CORBA_Environment * ev); + void (*set) (PortableServer_Servant _servant, const CORBA_char * key, + const ConfigValue * value, CORBA_Environment * ev); + void (*unset) (PortableServer_Servant _servant, const CORBA_char * key, + CORBA_Environment * ev); + void (*unset_with_locale) (PortableServer_Servant _servant, + const CORBA_char * key, + const CORBA_char * locale, + CORBA_Environment * ev); + void (*batch_change) (PortableServer_Servant _servant, + const CORBA_char * locale, + const ConfigDatabase_KeyList * keys, + const ConfigDatabase_ValueList * values, + CORBA_Environment * ev); + CORBA_boolean(*dir_exists) (PortableServer_Servant _servant, + const CORBA_char * dir, + CORBA_Environment * ev); + void (*remove_dir) (PortableServer_Servant _servant, + const CORBA_char * dir, CORBA_Environment * ev); + void (*all_entries) (PortableServer_Servant _servant, + const CORBA_char * dir, const CORBA_char * locale, + ConfigDatabase_KeyList ** keys, + ConfigDatabase_ValueList ** values, + ConfigDatabase_IsDefaultList ** is_defaults, + ConfigDatabase_IsWritableList ** is_writables, + CORBA_Environment * ev); + void (*all_dirs) (PortableServer_Servant _servant, + const CORBA_char * dir, + ConfigDatabase_KeyList ** subdirs, + CORBA_Environment * ev); + void (*set_schema) (PortableServer_Servant _servant, + const CORBA_char * key, + const CORBA_char * schema_key, + CORBA_Environment * ev); + void (*sync) (PortableServer_Servant _servant, CORBA_Environment * ev); + void (*clear_cache) (PortableServer_Servant _servant, + CORBA_Environment * ev); + void (*synchronous_sync) (PortableServer_Servant _servant, + CORBA_Environment * ev); + } + POA_ConfigDatabase__epv; + typedef struct + { + PortableServer_ServantBase__epv *_base_epv; + POA_ConfigDatabase__epv *ConfigDatabase_epv; + } + POA_ConfigDatabase__vepv; + typedef struct + { + void *_private; + POA_ConfigDatabase__vepv *vepv; + } + POA_ConfigDatabase; + extern void POA_ConfigDatabase__init(PortableServer_Servant servant, + CORBA_Environment * ev); + extern void POA_ConfigDatabase__fini(PortableServer_Servant servant, + CORBA_Environment * ev); + typedef struct + { + void *_private; + ConfigValue *(*lookup_with_schema_name) (PortableServer_Servant + _servant, + const CORBA_char * key, + const CORBA_char * locale, + const CORBA_boolean + use_schema_default, + CORBA_char ** schema_name, + CORBA_boolean * + value_is_default, + CORBA_boolean * + value_is_writable, + CORBA_Environment * ev); + void (*all_entries_with_schema_name) (PortableServer_Servant _servant, + const CORBA_char * dir, + const CORBA_char * locale, + ConfigDatabase_KeyList ** keys, + ConfigDatabase_ValueList ** + values, + ConfigDatabase2_SchemaNameList ** + schema_names, + ConfigDatabase_IsDefaultList ** + is_defaults, + ConfigDatabase_IsWritableList ** + is_writables, + CORBA_Environment * ev); + } + POA_ConfigDatabase2__epv; + typedef struct + { + PortableServer_ServantBase__epv *_base_epv; + POA_ConfigDatabase__epv *ConfigDatabase_epv; + POA_ConfigDatabase2__epv *ConfigDatabase2_epv; + } + POA_ConfigDatabase2__vepv; + typedef struct + { + void *_private; + POA_ConfigDatabase2__vepv *vepv; + } + POA_ConfigDatabase2; + extern void POA_ConfigDatabase2__init(PortableServer_Servant servant, + CORBA_Environment * ev); + extern void POA_ConfigDatabase2__fini(PortableServer_Servant servant, + CORBA_Environment * ev); + typedef struct + { + void *_private; + ConfigDatabase(*get_default_database) (PortableServer_Servant _servant, + CORBA_Environment * ev); + ConfigDatabase(*get_database) (PortableServer_Servant _servant, + const CORBA_char * address, + CORBA_Environment * ev); + void (*add_client) (PortableServer_Servant _servant, + const ConfigListener client, + CORBA_Environment * ev); + void (*remove_client) (PortableServer_Servant _servant, + const ConfigListener client, + CORBA_Environment * ev); + CORBA_long(*ping) (PortableServer_Servant _servant, + CORBA_Environment * ev); + void (*shutdown) (PortableServer_Servant _servant, + CORBA_Environment * ev); + } + POA_ConfigServer__epv; + typedef struct + { + PortableServer_ServantBase__epv *_base_epv; + POA_ConfigServer__epv *ConfigServer_epv; + } + POA_ConfigServer__vepv; + typedef struct + { + void *_private; + POA_ConfigServer__vepv *vepv; + } + POA_ConfigServer; + extern void POA_ConfigServer__init(PortableServer_Servant servant, + CORBA_Environment * ev); + extern void POA_ConfigServer__fini(PortableServer_Servant servant, + CORBA_Environment * ev); + +/** prototypes **/ + void ConfigListener_notify(ConfigListener _obj, + const ConfigDatabase database, + const CORBA_unsigned_long cnxn, + const CORBA_char * key, + const ConfigValue * value, + const CORBA_boolean is_default, + const CORBA_boolean is_writable, + CORBA_Environment * ev); + void ConfigListener_ping(ConfigListener _obj, CORBA_Environment * ev); + void ConfigListener_update_listener(ConfigListener _obj, + const ConfigDatabase database, + const CORBA_char * db_address, + const CORBA_unsigned_long old_cnxn, + const CORBA_char * where, + const CORBA_unsigned_long new_cnxn, + CORBA_Environment * ev); + void ConfigListener_invalidate_cached_values(ConfigListener _obj, + const ConfigDatabase database, + const ConfigListener_KeyList * + keys, CORBA_Environment * ev); + void ConfigListener_drop_all_caches(ConfigListener _obj, + CORBA_Environment * ev); + CORBA_unsigned_long ConfigDatabase_add_listener(ConfigDatabase _obj, + const CORBA_char * where, + const ConfigListener who, + CORBA_Environment * ev); + void ConfigDatabase_remove_listener(ConfigDatabase _obj, + const CORBA_unsigned_long cnxn, + CORBA_Environment * ev); + ConfigValue *ConfigDatabase_lookup(ConfigDatabase _obj, + const CORBA_char * key, + CORBA_Environment * ev); + ConfigValue *ConfigDatabase_lookup_with_locale(ConfigDatabase _obj, + const CORBA_char * key, + const CORBA_char * locale, + const CORBA_boolean + use_schema_default, + CORBA_boolean * + value_is_default, + CORBA_boolean * + value_is_writable, + CORBA_Environment * ev); + ConfigValue *ConfigDatabase_lookup_default_value(ConfigDatabase _obj, + const CORBA_char * key, + const CORBA_char * locale, + CORBA_Environment * ev); + void ConfigDatabase_batch_lookup(ConfigDatabase _obj, + const ConfigDatabase_KeyList * keys, + const CORBA_char * locale, + ConfigDatabase_ValueList ** values, + ConfigDatabase_IsDefaultList ** + is_defaults, + ConfigDatabase_IsWritableList ** + is_writables, CORBA_Environment * ev); + void ConfigDatabase_set(ConfigDatabase _obj, const CORBA_char * key, + const ConfigValue * value, CORBA_Environment * ev); + void ConfigDatabase_unset(ConfigDatabase _obj, const CORBA_char * key, + CORBA_Environment * ev); + void ConfigDatabase_unset_with_locale(ConfigDatabase _obj, + const CORBA_char * key, + const CORBA_char * locale, + CORBA_Environment * ev); + void ConfigDatabase_batch_change(ConfigDatabase _obj, + const CORBA_char * locale, + const ConfigDatabase_KeyList * keys, + const ConfigDatabase_ValueList * values, + CORBA_Environment * ev); + CORBA_boolean ConfigDatabase_dir_exists(ConfigDatabase _obj, + const CORBA_char * dir, + CORBA_Environment * ev); + void ConfigDatabase_remove_dir(ConfigDatabase _obj, const CORBA_char * dir, + CORBA_Environment * ev); + void ConfigDatabase_all_entries(ConfigDatabase _obj, + const CORBA_char * dir, + const CORBA_char * locale, + ConfigDatabase_KeyList ** keys, + ConfigDatabase_ValueList ** values, + ConfigDatabase_IsDefaultList ** + is_defaults, + ConfigDatabase_IsWritableList ** + is_writables, CORBA_Environment * ev); + void ConfigDatabase_all_dirs(ConfigDatabase _obj, const CORBA_char * dir, + ConfigDatabase_KeyList ** subdirs, + CORBA_Environment * ev); + void ConfigDatabase_set_schema(ConfigDatabase _obj, const CORBA_char * key, + const CORBA_char * schema_key, + CORBA_Environment * ev); + void ConfigDatabase_sync(ConfigDatabase _obj, CORBA_Environment * ev); + void ConfigDatabase_clear_cache(ConfigDatabase _obj, + CORBA_Environment * ev); + void ConfigDatabase_synchronous_sync(ConfigDatabase _obj, + CORBA_Environment * ev); +#define ConfigDatabase2_add_listener ConfigDatabase_add_listener +#define ConfigDatabase2_remove_listener ConfigDatabase_remove_listener +#define ConfigDatabase2_lookup ConfigDatabase_lookup +#define ConfigDatabase2_lookup_with_locale ConfigDatabase_lookup_with_locale +#define ConfigDatabase2_lookup_default_value ConfigDatabase_lookup_default_value +#define ConfigDatabase2_batch_lookup ConfigDatabase_batch_lookup +#define ConfigDatabase2_set ConfigDatabase_set +#define ConfigDatabase2_unset ConfigDatabase_unset +#define ConfigDatabase2_unset_with_locale ConfigDatabase_unset_with_locale +#define ConfigDatabase2_batch_change ConfigDatabase_batch_change +#define ConfigDatabase2_dir_exists ConfigDatabase_dir_exists +#define ConfigDatabase2_remove_dir ConfigDatabase_remove_dir +#define ConfigDatabase2_all_entries ConfigDatabase_all_entries +#define ConfigDatabase2_all_dirs ConfigDatabase_all_dirs +#define ConfigDatabase2_set_schema ConfigDatabase_set_schema +#define ConfigDatabase2_sync ConfigDatabase_sync +#define ConfigDatabase2_clear_cache ConfigDatabase_clear_cache +#define ConfigDatabase2_synchronous_sync ConfigDatabase_synchronous_sync + ConfigValue *ConfigDatabase2_lookup_with_schema_name(ConfigDatabase2 _obj, + const CORBA_char * + key, + const CORBA_char * + locale, + const CORBA_boolean + use_schema_default, + CORBA_char ** + schema_name, + CORBA_boolean * + value_is_default, + CORBA_boolean * + value_is_writable, + CORBA_Environment * + ev); + void ConfigDatabase2_all_entries_with_schema_name(ConfigDatabase2 _obj, + const CORBA_char * dir, + const CORBA_char * + locale, + ConfigDatabase_KeyList ** + keys, + ConfigDatabase_ValueList + ** values, + ConfigDatabase2_SchemaNameList + ** schema_names, + ConfigDatabase_IsDefaultList + ** is_defaults, + ConfigDatabase_IsWritableList + ** is_writables, + CORBA_Environment * ev); + ConfigDatabase ConfigServer_get_default_database(ConfigServer _obj, + CORBA_Environment * ev); + ConfigDatabase ConfigServer_get_database(ConfigServer _obj, + const CORBA_char * address, + CORBA_Environment * ev); + void ConfigServer_add_client(ConfigServer _obj, + const ConfigListener client, + CORBA_Environment * ev); + void ConfigServer_remove_client(ConfigServer _obj, + const ConfigListener client, + CORBA_Environment * ev); + CORBA_long ConfigServer_ping(ConfigServer _obj, CORBA_Environment * ev); + void ConfigServer_shutdown(ConfigServer _obj, CORBA_Environment * ev); + + void _ORBIT_skel_ConfigListener_notify(POA_ConfigListener * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_notify) + (PortableServer_Servant _servant, + const ConfigDatabase database, + const CORBA_unsigned_long cnxn, + const CORBA_char * key, + const ConfigValue * value, + const CORBA_boolean is_default, + const CORBA_boolean is_writable, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigListener_ping(POA_ConfigListener * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_ping) + (PortableServer_Servant _servant, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigListener_update_listener(POA_ConfigListener * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void + (*_impl_update_listener) + (PortableServer_Servant + _servant, + const ConfigDatabase + database, + const CORBA_char * + db_address, + const CORBA_unsigned_long + old_cnxn, + const CORBA_char * where, + const CORBA_unsigned_long + new_cnxn, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigListener_invalidate_cached_values(POA_ConfigListener + * _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment + * ev, + void + (*_impl_invalidate_cached_values) + (PortableServer_Servant + _servant, + const + ConfigDatabase + database, + const + ConfigListener_KeyList + * keys, + CORBA_Environment + * ev)); + void _ORBIT_skel_ConfigListener_drop_all_caches(POA_ConfigListener * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void + (*_impl_drop_all_caches) + (PortableServer_Servant + _servant, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_add_listener(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + CORBA_unsigned_long + (*_impl_add_listener) + (PortableServer_Servant + _servant, + const CORBA_char * where, + const ConfigListener who, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_remove_listener(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void + (*_impl_remove_listener) + (PortableServer_Servant + _servant, + const CORBA_unsigned_long + cnxn, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_lookup(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + ConfigValue * + (*_impl_lookup) + (PortableServer_Servant _servant, + const CORBA_char * key, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_lookup_with_locale(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + ConfigValue * + (*_impl_lookup_with_locale) + (PortableServer_Servant + _servant, + const CORBA_char * key, + const CORBA_char * + locale, + const CORBA_boolean + use_schema_default, + CORBA_boolean * + value_is_default, + CORBA_boolean * + value_is_writable, + CORBA_Environment * + ev)); + void _ORBIT_skel_ConfigDatabase_lookup_default_value(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * + ev, + ConfigValue * + (*_impl_lookup_default_value) + (PortableServer_Servant + _servant, + const CORBA_char * + key, + const CORBA_char * + locale, + CORBA_Environment * + ev)); + void _ORBIT_skel_ConfigDatabase_batch_lookup(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_batch_lookup) + (PortableServer_Servant + _servant, + const ConfigDatabase_KeyList + * keys, + const CORBA_char * locale, + ConfigDatabase_ValueList ** + values, + ConfigDatabase_IsDefaultList + ** is_defaults, + ConfigDatabase_IsWritableList + ** is_writables, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_set(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_set) + (PortableServer_Servant _servant, + const CORBA_char * key, + const ConfigValue * value, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_unset(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_unset) + (PortableServer_Servant _servant, + const CORBA_char * key, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_unset_with_locale(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void + (*_impl_unset_with_locale) + (PortableServer_Servant + _servant, + const CORBA_char * key, + const CORBA_char * + locale, + CORBA_Environment * + ev)); + void _ORBIT_skel_ConfigDatabase_batch_change(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_batch_change) + (PortableServer_Servant + _servant, + const CORBA_char * locale, + const ConfigDatabase_KeyList + * keys, + const + ConfigDatabase_ValueList * + values, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_dir_exists(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + CORBA_boolean(*_impl_dir_exists) + (PortableServer_Servant + _servant, + const CORBA_char * dir, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_remove_dir(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_remove_dir) + (PortableServer_Servant + _servant, + const CORBA_char * dir, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_all_entries(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_all_entries) + (PortableServer_Servant + _servant, + const CORBA_char * dir, + const CORBA_char * locale, + ConfigDatabase_KeyList ** + keys, + ConfigDatabase_ValueList ** + values, + ConfigDatabase_IsDefaultList + ** is_defaults, + ConfigDatabase_IsWritableList + ** is_writables, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_all_dirs(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_all_dirs) + (PortableServer_Servant _servant, + const CORBA_char * dir, + ConfigDatabase_KeyList ** + subdirs, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_set_schema(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_set_schema) + (PortableServer_Servant + _servant, + const CORBA_char * key, + const CORBA_char * schema_key, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_sync(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_sync) + (PortableServer_Servant _servant, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_clear_cache(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_clear_cache) + (PortableServer_Servant + _servant, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigDatabase_synchronous_sync(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void + (*_impl_synchronous_sync) + (PortableServer_Servant + _servant, + CORBA_Environment * ev)); + void + _ORBIT_skel_ConfigDatabase2_lookup_with_schema_name(POA_ConfigDatabase2 + * _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * + ev, + ConfigValue * + (*_impl_lookup_with_schema_name) + (PortableServer_Servant + _servant, + const CORBA_char * + key, + const CORBA_char * + locale, + const CORBA_boolean + use_schema_default, + CORBA_char ** + schema_name, + CORBA_boolean * + value_is_default, + CORBA_boolean * + value_is_writable, + CORBA_Environment * + ev)); + void + _ORBIT_skel_ConfigDatabase2_all_entries_with_schema_name + (POA_ConfigDatabase2 * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, CORBA_Environment * ev, + void (*_impl_all_entries_with_schema_name) (PortableServer_Servant + _servant, + const CORBA_char * dir, + const CORBA_char * locale, + ConfigDatabase_KeyList ** + keys, + ConfigDatabase_ValueList ** + values, + ConfigDatabase2_SchemaNameList + ** schema_names, + ConfigDatabase_IsDefaultList + ** is_defaults, + ConfigDatabase_IsWritableList + ** is_writables, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigServer_get_default_database(POA_ConfigServer * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + ConfigDatabase + (*_impl_get_default_database) + (PortableServer_Servant + _servant, + CORBA_Environment * + ev)); + void _ORBIT_skel_ConfigServer_get_database(POA_ConfigServer * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + ConfigDatabase + (*_impl_get_database) + (PortableServer_Servant + _servant, + const CORBA_char * address, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigServer_add_client(POA_ConfigServer * _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_add_client) + (PortableServer_Servant _servant, + const ConfigListener client, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigServer_remove_client(POA_ConfigServer * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_remove_client) + (PortableServer_Servant + _servant, + const ConfigListener client, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigServer_ping(POA_ConfigServer * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + CORBA_long(*_impl_ping) + (PortableServer_Servant _servant, + CORBA_Environment * ev)); + void _ORBIT_skel_ConfigServer_shutdown(POA_ConfigServer * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_shutdown) + (PortableServer_Servant _servant, + CORBA_Environment * ev)); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif +#undef ORBIT_IDL_SERIAL --- gconf-1.0.9.orig/gconf/GConf-skels.c +++ gconf-1.0.9/gconf/GConf-skels.c @@ -0,0 +1,15823 @@ +/* + * This file was generated by orbit-idl - DO NOT EDIT! + */ + +#include +#include "GConf.h" + +void +_ORBIT_skel_ConfigListener_notify(POA_ConfigListener * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_notify) (PortableServer_Servant + _servant, + const ConfigDatabase + database, + const + CORBA_unsigned_long + cnxn, + const CORBA_char * + key, + const ConfigValue * + value, + const CORBA_boolean + is_default, + const CORBA_boolean + is_writable, + CORBA_Environment * + ev)) +{ + ConfigDatabase database; + CORBA_unsigned_long cnxn; + CORBA_char *key; + ConfigValue value; + CORBA_boolean is_default; + CORBA_boolean is_writable; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_40; + CORBA_unsigned_long _ORBIT_tmpvar_41; + register CORBA_unsigned_long _ORBIT_tmpvar_42; + CORBA_unsigned_long _ORBIT_tmpvar_43; + register CORBA_unsigned_long _ORBIT_tmpvar_44; + CORBA_unsigned_long _ORBIT_tmpvar_45; + register CORBA_unsigned_long _ORBIT_tmpvar_46; + CORBA_unsigned_long _ORBIT_tmpvar_47; + register CORBA_unsigned_long _ORBIT_tmpvar_48; + CORBA_unsigned_long _ORBIT_tmpvar_49; + register CORBA_unsigned_long _ORBIT_tmpvar_50; + CORBA_unsigned_long _ORBIT_tmpvar_51; + register CORBA_unsigned_long _ORBIT_tmpvar_52; + CORBA_unsigned_long _ORBIT_tmpvar_53; + register CORBA_unsigned_long _ORBIT_tmpvar_54; + register CORBA_unsigned_long _ORBIT_tmpvar_55; + CORBA_unsigned_long _ORBIT_tmpvar_56; + register CORBA_unsigned_long _ORBIT_tmpvar_57; + CORBA_unsigned_long _ORBIT_tmpvar_58; + register CORBA_unsigned_long _ORBIT_tmpvar_59; + CORBA_unsigned_long _ORBIT_tmpvar_60; + register CORBA_unsigned_long _ORBIT_tmpvar_61; + CORBA_unsigned_long _ORBIT_tmpvar_62; + register CORBA_unsigned_long _ORBIT_tmpvar_63; + CORBA_unsigned_long _ORBIT_tmpvar_64; + register CORBA_unsigned_long _ORBIT_tmpvar_65; + CORBA_unsigned_long _ORBIT_tmpvar_66; + register CORBA_unsigned_long _ORBIT_tmpvar_67; + register CORBA_unsigned_long _ORBIT_tmpvar_68; + CORBA_unsigned_long _ORBIT_tmpvar_69; + register CORBA_unsigned_long _ORBIT_tmpvar_70; + CORBA_unsigned_long _ORBIT_tmpvar_71; + register CORBA_unsigned_long _ORBIT_tmpvar_72; + CORBA_unsigned_long _ORBIT_tmpvar_73; + register CORBA_unsigned_long _ORBIT_tmpvar_74; + CORBA_unsigned_long _ORBIT_tmpvar_75; + register CORBA_unsigned_long _ORBIT_tmpvar_76; + CORBA_unsigned_long _ORBIT_tmpvar_77; + register CORBA_unsigned_long _ORBIT_tmpvar_78; + CORBA_unsigned_long _ORBIT_tmpvar_79; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + database = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (cnxn))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_41))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_40]) * _ORBIT_tmpvar_41; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (value._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (value._d) { + case InvalidVal: + (*((guint32 *) & (value._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case IntVal: + (*((guint32 *) & (value._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case StringVal: + (*((guint32 *) & (_ORBIT_tmpvar_43))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43; + break; + case FloatVal: + (*((guint32 *) & (value._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BoolVal: + value._u.bool_value = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + (*((guint32 *) & (value._u.schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (value._u.schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (value._u.schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (value._u.schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_45))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.locale[_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_47))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.short_desc[_ORBIT_tmpvar_46]) * + _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_49))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.long_desc[_ORBIT_tmpvar_48]) * + _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_51))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.owner[_ORBIT_tmpvar_50]) * + _ORBIT_tmpvar_51; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_53))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53; + break; + case ListVal: + (*((guint32 *) & (value._u.list_value.seq._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer = + alloca(sizeof + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]) * + value._u.list_value.seq._length); + value._u.list_value.seq._release = CORBA_FALSE; + for (_ORBIT_tmpvar_54 = 0; + _ORBIT_tmpvar_54 < value._u.list_value.seq._length; + _ORBIT_tmpvar_54++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_56))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56; + break; + case BFloatVal: + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + bool_value = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_58))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_60))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_62))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_64))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_66))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (value._u.list_value.list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case PairVal: + (*((guint32 *) & (value._u.pair_value._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer = + alloca(sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]) + * value._u.pair_value._length); + value._u.pair_value._release = CORBA_FALSE; + for (_ORBIT_tmpvar_67 = 0; + _ORBIT_tmpvar_67 < value._u.pair_value._length; + _ORBIT_tmpvar_67++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_69))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + break; + case BFloatVal: + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + bool_value = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_71))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_73))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_75))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_77))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_79))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + default: + break; + } + } + + break; + default: + break; + } + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 1); + is_default = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + is_writable = *((CORBA_boolean *) _ORBIT_curptr); + } else { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + database = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + cnxn = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_41 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_40]) * _ORBIT_tmpvar_41; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + value._d = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (value._d) { + case InvalidVal: + value._u.dummy = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case IntVal: + value._u.int_value = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case StringVal: + _ORBIT_tmpvar_43 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43; + break; + case FloatVal: + value._u.float_value = *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BoolVal: + value._u.bool_value = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + value._u.schema_value.value_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_45 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.locale[_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_47 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.short_desc[_ORBIT_tmpvar_46]) * + _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_49 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.long_desc[_ORBIT_tmpvar_48]) * + _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_51 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.owner[_ORBIT_tmpvar_50]) * + _ORBIT_tmpvar_51; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_53 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53; + break; + case ListVal: + value._u.list_value.seq._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer = + alloca(sizeof + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]) * + value._u.list_value.seq._length); + value._u.list_value.seq._release = CORBA_FALSE; + for (_ORBIT_tmpvar_54 = 0; + _ORBIT_tmpvar_54 < value._u.list_value.seq._length; + _ORBIT_tmpvar_54++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._d) { + case BInvalidVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + dummy = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + int_value = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_56 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56; + break; + case BFloatVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + float_value = *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + bool_value = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_58 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_60 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_62 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_64 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_66 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + value._u.list_value.list_type = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case PairVal: + value._u.pair_value._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer = + alloca(sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]) + * value._u.pair_value._length); + value._u.pair_value._release = CORBA_FALSE; + for (_ORBIT_tmpvar_67 = 0; + _ORBIT_tmpvar_67 < value._u.pair_value._length; + _ORBIT_tmpvar_67++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._d) { + case BInvalidVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + int_value = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_69 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + break; + case BFloatVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + float_value = *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + bool_value = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_71 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_73 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_75 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_77 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_79 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + default: + break; + } + } + + break; + default: + break; + } + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 1); + is_default = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + is_writable = *((CORBA_boolean *) _ORBIT_curptr); + } + } + _impl_notify(_ORBIT_servant, database, cnxn, key, &(value), is_default, + is_writable, ev); + CORBA_Object_release((CORBA_Object) database, ev); +} + +void +_ORBIT_skel_ConfigListener_ping(POA_ConfigListener * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_ping) (PortableServer_Servant + _servant, + CORBA_Environment * ev)) +{ + _impl_ping(_ORBIT_servant, ev); +} + +void +_ORBIT_skel_ConfigListener_update_listener(POA_ConfigListener * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_update_listener) + (PortableServer_Servant _servant, + const ConfigDatabase database, + const CORBA_char * db_address, + const CORBA_unsigned_long + old_cnxn, + const CORBA_char * where, + const CORBA_unsigned_long + new_cnxn, CORBA_Environment * ev)) +{ + ConfigDatabase database; + CORBA_char *db_address; + CORBA_unsigned_long old_cnxn; + CORBA_char *where; + CORBA_unsigned_long new_cnxn; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_4; + CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + database = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_5))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + db_address = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(db_address[_ORBIT_tmpvar_4]) * _ORBIT_tmpvar_5; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (old_cnxn))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_7))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + where = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(where[_ORBIT_tmpvar_6]) * _ORBIT_tmpvar_7; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (new_cnxn))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + } else { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + database = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_5 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + db_address = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(db_address[_ORBIT_tmpvar_4]) * _ORBIT_tmpvar_5; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + old_cnxn = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_7 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + where = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(where[_ORBIT_tmpvar_6]) * _ORBIT_tmpvar_7; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + new_cnxn = *((CORBA_unsigned_long *) _ORBIT_curptr); + } + } + _impl_update_listener(_ORBIT_servant, database, db_address, old_cnxn, + where, new_cnxn, ev); + CORBA_Object_release((CORBA_Object) database, ev); +} + +void +_ORBIT_skel_ConfigListener_invalidate_cached_values(POA_ConfigListener * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void + (*_impl_invalidate_cached_values) + (PortableServer_Servant + _servant, + const ConfigDatabase + database, + const + ConfigListener_KeyList * + keys, + CORBA_Environment * ev)) +{ + ConfigDatabase database; + ConfigListener_KeyList keys = { 0, 0, NULL, CORBA_FALSE }; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_3; + register CORBA_unsigned_long _ORBIT_tmpvar_4; + CORBA_unsigned_long _ORBIT_tmpvar_5; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + database = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (keys._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + keys._buffer = + alloca(sizeof(keys._buffer[_ORBIT_tmpvar_3]) * keys._length); + keys._release = CORBA_FALSE; + for (_ORBIT_tmpvar_3 = 0; _ORBIT_tmpvar_3 < keys._length; + _ORBIT_tmpvar_3++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_5))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + keys._buffer[_ORBIT_tmpvar_3] = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(keys._buffer[_ORBIT_tmpvar_3][_ORBIT_tmpvar_4]) * + _ORBIT_tmpvar_5; + } + + } else { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + database = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + keys._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + keys._buffer = + alloca(sizeof(keys._buffer[_ORBIT_tmpvar_3]) * keys._length); + keys._release = CORBA_FALSE; + for (_ORBIT_tmpvar_3 = 0; _ORBIT_tmpvar_3 < keys._length; + _ORBIT_tmpvar_3++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_5 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + keys._buffer[_ORBIT_tmpvar_3] = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(keys._buffer[_ORBIT_tmpvar_3][_ORBIT_tmpvar_4]) * + _ORBIT_tmpvar_5; + } + + } + } + _impl_invalidate_cached_values(_ORBIT_servant, database, &(keys), ev); + CORBA_Object_release((CORBA_Object) database, ev); +} + +void +_ORBIT_skel_ConfigListener_drop_all_caches(POA_ConfigListener * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_drop_all_caches) + (PortableServer_Servant _servant, + CORBA_Environment * ev)) +{ + _impl_drop_all_caches(_ORBIT_servant, ev); +} + +void +_ORBIT_ConfigException_marshal(GIOPSendBuffer * _ORBIT_send_buffer, + CORBA_Environment * ev) +{ + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + ConfigException *_ORBIT_exdata = ev->_params; + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + &((*_ORBIT_exdata).err_no), + sizeof((*_ORBIT_exdata).err_no)); + _ORBIT_tmpvar_1 = strlen((*_ORBIT_exdata).message) + 1; + giop_send_buffer_append_mem_indirect(GIOP_SEND_BUFFER(_ORBIT_send_buffer), + &(_ORBIT_tmpvar_1), + sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + ((*_ORBIT_exdata).message), + sizeof((*_ORBIT_exdata). + message[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); +} + +void +_ORBIT_skel_ConfigDatabase_add_listener(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + CORBA_unsigned_long + (*_impl_add_listener) + (PortableServer_Servant _servant, + const CORBA_char * where, + const ConfigListener who, + CORBA_Environment * ev)) +{ + CORBA_unsigned_long _ORBIT_retval; + CORBA_char *where; + ConfigListener who; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_3))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + where = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(where[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + who = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_3 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + where = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(where[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + who = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + } + } + _ORBIT_retval = _impl_add_listener(_ORBIT_servant, where, who, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_retval)); + memcpy(_ORBIT_t, &(_ORBIT_retval), sizeof(_ORBIT_retval)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_retval)); + } + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + CORBA_Object_release((CORBA_Object) who, ev); + } +} +void +_ORBIT_skel_ConfigDatabase_remove_listener(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_remove_listener) + (PortableServer_Servant _servant, + const CORBA_unsigned_long cnxn, + CORBA_Environment * ev)) +{ + CORBA_unsigned_long cnxn; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (cnxn))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + cnxn = *((CORBA_unsigned_long *) _ORBIT_curptr); + } + } + _impl_remove_listener(_ORBIT_servant, cnxn, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigDatabase_lookup(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + ConfigValue * + (*_impl_lookup) (PortableServer_Servant + _servant, + const CORBA_char * key, + CORBA_Environment * ev)) +{ + ConfigValue *_ORBIT_retval; + CORBA_char *key; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_78; + CORBA_unsigned_long _ORBIT_tmpvar_79; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_79))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_78]) * _ORBIT_tmpvar_79; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_79 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_78]) * _ORBIT_tmpvar_79; + } + } + _ORBIT_retval = _impl_lookup(_ORBIT_servant, key, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + register CORBA_unsigned_long _ORBIT_tmpvar_4; + CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + register CORBA_unsigned_long _ORBIT_tmpvar_8; + CORBA_unsigned_long _ORBIT_tmpvar_9; + register CORBA_unsigned_long _ORBIT_tmpvar_10; + CORBA_unsigned_long _ORBIT_tmpvar_11; + register CORBA_unsigned_long _ORBIT_tmpvar_12; + CORBA_unsigned_long _ORBIT_tmpvar_13; + register CORBA_unsigned_long _ORBIT_tmpvar_14; + register CORBA_unsigned_long _ORBIT_tmpvar_15; + CORBA_unsigned_long _ORBIT_tmpvar_16; + register CORBA_unsigned_long _ORBIT_tmpvar_17; + CORBA_unsigned_long _ORBIT_tmpvar_18; + register CORBA_unsigned_long _ORBIT_tmpvar_19; + CORBA_unsigned_long _ORBIT_tmpvar_20; + register CORBA_unsigned_long _ORBIT_tmpvar_21; + CORBA_unsigned_long _ORBIT_tmpvar_22; + register CORBA_unsigned_long _ORBIT_tmpvar_23; + CORBA_unsigned_long _ORBIT_tmpvar_24; + register CORBA_unsigned_long _ORBIT_tmpvar_25; + CORBA_unsigned_long _ORBIT_tmpvar_26; + register CORBA_unsigned_long _ORBIT_tmpvar_27; + register CORBA_unsigned_long _ORBIT_tmpvar_28; + CORBA_unsigned_long _ORBIT_tmpvar_29; + register CORBA_unsigned_long _ORBIT_tmpvar_30; + CORBA_unsigned_long _ORBIT_tmpvar_31; + register CORBA_unsigned_long _ORBIT_tmpvar_32; + CORBA_unsigned_long _ORBIT_tmpvar_33; + register CORBA_unsigned_long _ORBIT_tmpvar_34; + CORBA_unsigned_long _ORBIT_tmpvar_35; + register CORBA_unsigned_long _ORBIT_tmpvar_36; + CORBA_unsigned_long _ORBIT_tmpvar_37; + register CORBA_unsigned_long _ORBIT_tmpvar_38; + CORBA_unsigned_long _ORBIT_tmpvar_39; + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._d), + sizeof((*_ORBIT_retval)._d)); + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u.dummy), + sizeof((*_ORBIT_retval)._u. + dummy)); + break; + case IntVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + int_value), + sizeof((*_ORBIT_retval)._u. + int_value)); + break; + case StringVal: + _ORBIT_tmpvar_3 = + strlen((*_ORBIT_retval)._u.string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_3)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_3), + sizeof(_ORBIT_tmpvar_3)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_3)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + string_value), + sizeof((*_ORBIT_retval)._u. + string_value + [_ORBIT_tmpvar_2]) * + _ORBIT_tmpvar_3); + break; + case FloatVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + float_value), + sizeof((*_ORBIT_retval)._u. + float_value)); + break; + case BoolVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + bool_value), + sizeof((*_ORBIT_retval)._u. + bool_value)); + break; + case SchemaVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_list_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_car_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_cdr_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_cdr_type)); + _ORBIT_tmpvar_5 = + strlen((*_ORBIT_retval)._u.schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_5)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_5), + sizeof(_ORBIT_tmpvar_5)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_5)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.locale), + sizeof((*_ORBIT_retval)._u. + schema_value. + locale + [_ORBIT_tmpvar_4]) * + _ORBIT_tmpvar_5); + _ORBIT_tmpvar_7 = + strlen((*_ORBIT_retval)._u.schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_7)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_7), + sizeof(_ORBIT_tmpvar_7)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_7)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.short_desc), + sizeof((*_ORBIT_retval)._u. + schema_value. + short_desc + [_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7); + _ORBIT_tmpvar_9 = + strlen((*_ORBIT_retval)._u.schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_9)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_9), + sizeof(_ORBIT_tmpvar_9)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_9)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.long_desc), + sizeof((*_ORBIT_retval)._u. + schema_value. + long_desc + [_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + _ORBIT_tmpvar_11 = + strlen((*_ORBIT_retval)._u.schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_11)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_11), + sizeof(_ORBIT_tmpvar_11)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_11)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.owner), + sizeof((*_ORBIT_retval)._u. + schema_value. + owner + [_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + _ORBIT_tmpvar_13 = + strlen((*_ORBIT_retval)._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_13)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_13), + sizeof(_ORBIT_tmpvar_13)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_13)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + break; + case ListVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq._length)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq._length), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u. + list_value.seq. + _length)); + } + for (_ORBIT_tmpvar_14 = 0; + _ORBIT_tmpvar_14 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_14++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._d)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._d), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval). + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_14]. + _d)); + } + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.dummy)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.dummy), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + int_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.int_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_16 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_16)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_16), + sizeof(_ORBIT_tmpvar_16)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_16)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + string_value[_ORBIT_tmpvar_15]) * + _ORBIT_tmpvar_16); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + string_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + string_value[_ORBIT_tmpvar_15]) * + _ORBIT_tmpvar_16); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.string_value[_ORBIT_tmpvar_15]) * _ORBIT_tmpvar_16); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + float_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + float_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.bool_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_list_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_car_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_cdr_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_18 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_18)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_18), + sizeof(_ORBIT_tmpvar_18)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_18)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value. + locale[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + locale), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value. + locale[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.schema_value.locale[_ORBIT_tmpvar_17]) * _ORBIT_tmpvar_18); + } + _ORBIT_tmpvar_20 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_20)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_20), + sizeof(_ORBIT_tmpvar_20)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_20)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value. + short_desc[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + short_desc), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value. + short_desc[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.schema_value.short_desc[_ORBIT_tmpvar_19]) * _ORBIT_tmpvar_20); + } + _ORBIT_tmpvar_22 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_22)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_22), + sizeof(_ORBIT_tmpvar_22)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_22)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value. + long_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + long_desc), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value. + long_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.schema_value.long_desc[_ORBIT_tmpvar_21]) * _ORBIT_tmpvar_22); + } + _ORBIT_tmpvar_24 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_24)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_24), + sizeof(_ORBIT_tmpvar_24)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_24)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value.owner[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + owner), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value. + owner[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.schema_value.owner[_ORBIT_tmpvar_23]) * _ORBIT_tmpvar_24); + } + _ORBIT_tmpvar_26 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_26)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_26), + sizeof(_ORBIT_tmpvar_26)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_26)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._u.schema_value.encoded_default_value[_ORBIT_tmpvar_25]) * _ORBIT_tmpvar_26); + } + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + list_value.list_type), + sizeof((*_ORBIT_retval)._u. + list_value.list_type)); + break; + case PairVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*_ORBIT_retval)._u.pair_value._length)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value._length), + sizeof((*_ORBIT_retval)._u.pair_value._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u. + pair_value. + _length)); + } + for (_ORBIT_tmpvar_27 = 0; + _ORBIT_tmpvar_27 < + (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_27++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._d)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._d), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval). + _u.pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _d)); + } + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.dummy)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.dummy), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + int_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.int_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_29 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_29)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_29), + sizeof(_ORBIT_tmpvar_29)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_29)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + string_value[_ORBIT_tmpvar_28]) * + _ORBIT_tmpvar_29); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + string_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + string_value[_ORBIT_tmpvar_28]) * + _ORBIT_tmpvar_29); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.string_value[_ORBIT_tmpvar_28]) * _ORBIT_tmpvar_29); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + float_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + float_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.bool_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_list_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_car_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_cdr_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_31 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_31)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_31), + sizeof(_ORBIT_tmpvar_31)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_31)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value. + locale[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + locale), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value. + locale[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.schema_value.locale[_ORBIT_tmpvar_30]) * _ORBIT_tmpvar_31); + } + _ORBIT_tmpvar_33 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_33)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_33), + sizeof(_ORBIT_tmpvar_33)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_33)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value. + short_desc[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + short_desc), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value. + short_desc[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.schema_value.short_desc[_ORBIT_tmpvar_32]) * _ORBIT_tmpvar_33); + } + _ORBIT_tmpvar_35 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_35)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_35), + sizeof(_ORBIT_tmpvar_35)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_35)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value. + long_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + long_desc), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value. + long_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.schema_value.long_desc[_ORBIT_tmpvar_34]) * _ORBIT_tmpvar_35); + } + _ORBIT_tmpvar_37 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_37)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_37), + sizeof(_ORBIT_tmpvar_37)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_37)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value.owner[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + owner), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value. + owner[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.schema_value.owner[_ORBIT_tmpvar_36]) * _ORBIT_tmpvar_37); + } + _ORBIT_tmpvar_39 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_39)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_39), + sizeof(_ORBIT_tmpvar_39)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_39)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_27]._u.schema_value.encoded_default_value[_ORBIT_tmpvar_38]) * _ORBIT_tmpvar_39); + } + break; + default: + break; + } + } + + break; + default: + break; + } + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(_ORBIT_retval); + } +} +void +_ORBIT_skel_ConfigDatabase_lookup_with_locale(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + ConfigValue * + (*_impl_lookup_with_locale) + (PortableServer_Servant + _servant, + const CORBA_char * key, + const CORBA_char * locale, + const CORBA_boolean + use_schema_default, + CORBA_boolean * + value_is_default, + CORBA_boolean * + value_is_writable, + CORBA_Environment * ev)) +{ + ConfigValue *_ORBIT_retval; + CORBA_char *key; + CORBA_char *locale; + CORBA_boolean use_schema_default; + CORBA_boolean value_is_default; + CORBA_boolean value_is_writable; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_80; + CORBA_unsigned_long _ORBIT_tmpvar_81; + register CORBA_unsigned_long _ORBIT_tmpvar_82; + CORBA_unsigned_long _ORBIT_tmpvar_83; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_81))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_80]) * _ORBIT_tmpvar_81; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_83))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_82]) * _ORBIT_tmpvar_83; + use_schema_default = *((CORBA_boolean *) _ORBIT_curptr); + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_81 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_80]) * _ORBIT_tmpvar_81; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_83 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_82]) * _ORBIT_tmpvar_83; + use_schema_default = *((CORBA_boolean *) _ORBIT_curptr); + } + } + _ORBIT_retval = + _impl_lookup_with_locale(_ORBIT_servant, key, locale, + use_schema_default, &(value_is_default), + &(value_is_writable), ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + register CORBA_unsigned_long _ORBIT_tmpvar_4; + CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + register CORBA_unsigned_long _ORBIT_tmpvar_8; + CORBA_unsigned_long _ORBIT_tmpvar_9; + register CORBA_unsigned_long _ORBIT_tmpvar_10; + CORBA_unsigned_long _ORBIT_tmpvar_11; + register CORBA_unsigned_long _ORBIT_tmpvar_12; + CORBA_unsigned_long _ORBIT_tmpvar_13; + register CORBA_unsigned_long _ORBIT_tmpvar_14; + CORBA_unsigned_long _ORBIT_tmpvar_15; + register CORBA_unsigned_long _ORBIT_tmpvar_16; + register CORBA_unsigned_long _ORBIT_tmpvar_17; + CORBA_unsigned_long _ORBIT_tmpvar_18; + register CORBA_unsigned_long _ORBIT_tmpvar_19; + CORBA_unsigned_long _ORBIT_tmpvar_20; + register CORBA_unsigned_long _ORBIT_tmpvar_21; + CORBA_unsigned_long _ORBIT_tmpvar_22; + register CORBA_unsigned_long _ORBIT_tmpvar_23; + CORBA_unsigned_long _ORBIT_tmpvar_24; + register CORBA_unsigned_long _ORBIT_tmpvar_25; + CORBA_unsigned_long _ORBIT_tmpvar_26; + register CORBA_unsigned_long _ORBIT_tmpvar_27; + CORBA_unsigned_long _ORBIT_tmpvar_28; + register CORBA_unsigned_long _ORBIT_tmpvar_29; + register CORBA_unsigned_long _ORBIT_tmpvar_30; + CORBA_unsigned_long _ORBIT_tmpvar_31; + register CORBA_unsigned_long _ORBIT_tmpvar_32; + CORBA_unsigned_long _ORBIT_tmpvar_33; + register CORBA_unsigned_long _ORBIT_tmpvar_34; + CORBA_unsigned_long _ORBIT_tmpvar_35; + register CORBA_unsigned_long _ORBIT_tmpvar_36; + CORBA_unsigned_long _ORBIT_tmpvar_37; + register CORBA_unsigned_long _ORBIT_tmpvar_38; + CORBA_unsigned_long _ORBIT_tmpvar_39; + register CORBA_unsigned_long _ORBIT_tmpvar_40; + CORBA_unsigned_long _ORBIT_tmpvar_41; + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._d), + sizeof((*_ORBIT_retval)._d)); + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u.dummy), + sizeof((*_ORBIT_retval)._u. + dummy)); + break; + case IntVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + int_value), + sizeof((*_ORBIT_retval)._u. + int_value)); + break; + case StringVal: + _ORBIT_tmpvar_5 = + strlen((*_ORBIT_retval)._u.string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_5)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_5), + sizeof(_ORBIT_tmpvar_5)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_5)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + string_value), + sizeof((*_ORBIT_retval)._u. + string_value + [_ORBIT_tmpvar_4]) * + _ORBIT_tmpvar_5); + break; + case FloatVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + float_value), + sizeof((*_ORBIT_retval)._u. + float_value)); + break; + case BoolVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + bool_value), + sizeof((*_ORBIT_retval)._u. + bool_value)); + break; + case SchemaVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_list_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_car_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_cdr_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_cdr_type)); + _ORBIT_tmpvar_7 = + strlen((*_ORBIT_retval)._u.schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_7)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_7), + sizeof(_ORBIT_tmpvar_7)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_7)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.locale), + sizeof((*_ORBIT_retval)._u. + schema_value. + locale + [_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7); + _ORBIT_tmpvar_9 = + strlen((*_ORBIT_retval)._u.schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_9)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_9), + sizeof(_ORBIT_tmpvar_9)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_9)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.short_desc), + sizeof((*_ORBIT_retval)._u. + schema_value. + short_desc + [_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + _ORBIT_tmpvar_11 = + strlen((*_ORBIT_retval)._u.schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_11)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_11), + sizeof(_ORBIT_tmpvar_11)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_11)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.long_desc), + sizeof((*_ORBIT_retval)._u. + schema_value. + long_desc + [_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + _ORBIT_tmpvar_13 = + strlen((*_ORBIT_retval)._u.schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_13)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_13), + sizeof(_ORBIT_tmpvar_13)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_13)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.owner), + sizeof((*_ORBIT_retval)._u. + schema_value. + owner + [_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + _ORBIT_tmpvar_15 = + strlen((*_ORBIT_retval)._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_15)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_15), + sizeof(_ORBIT_tmpvar_15)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_15)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + break; + case ListVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq._length)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq._length), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u. + list_value.seq. + _length)); + } + for (_ORBIT_tmpvar_16 = 0; + _ORBIT_tmpvar_16 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_16++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval). + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_16]. + _d)); + } + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.dummy)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.dummy), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + int_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.int_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_18 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_18)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_18), + sizeof(_ORBIT_tmpvar_18)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_18)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.string_value[_ORBIT_tmpvar_17]) * _ORBIT_tmpvar_18); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + float_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + float_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.bool_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_list_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_car_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_cdr_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_20 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_20)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_20), + sizeof(_ORBIT_tmpvar_20)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_20)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + locale[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + locale), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + locale[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.locale[_ORBIT_tmpvar_19]) * _ORBIT_tmpvar_20); + } + _ORBIT_tmpvar_22 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_22)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_22), + sizeof(_ORBIT_tmpvar_22)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_22)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + short_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + short_desc), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + short_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.short_desc[_ORBIT_tmpvar_21]) * _ORBIT_tmpvar_22); + } + _ORBIT_tmpvar_24 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_24)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_24), + sizeof(_ORBIT_tmpvar_24)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_24)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + long_desc[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + long_desc), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + long_desc[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.long_desc[_ORBIT_tmpvar_23]) * _ORBIT_tmpvar_24); + } + _ORBIT_tmpvar_26 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_26)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_26), + sizeof(_ORBIT_tmpvar_26)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_26)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.owner[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + owner), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + owner[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.owner[_ORBIT_tmpvar_25]) * _ORBIT_tmpvar_26); + } + _ORBIT_tmpvar_28 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_28)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_28), + sizeof(_ORBIT_tmpvar_28)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_28)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.encoded_default_value[_ORBIT_tmpvar_27]) * _ORBIT_tmpvar_28); + } + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + list_value.list_type), + sizeof((*_ORBIT_retval)._u. + list_value.list_type)); + break; + case PairVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*_ORBIT_retval)._u.pair_value._length)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value._length), + sizeof((*_ORBIT_retval)._u.pair_value._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u. + pair_value. + _length)); + } + for (_ORBIT_tmpvar_29 = 0; + _ORBIT_tmpvar_29 < + (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_29++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval). + _u.pair_value. + _buffer + [_ORBIT_tmpvar_29]. + _d)); + } + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.dummy)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.dummy), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + int_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.int_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_31 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_31)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_31), + sizeof(_ORBIT_tmpvar_31)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_31)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.string_value[_ORBIT_tmpvar_30]) * _ORBIT_tmpvar_31); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + float_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + float_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.bool_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_list_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_car_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_cdr_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_33 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_33)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_33), + sizeof(_ORBIT_tmpvar_33)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_33)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + locale[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + locale), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + locale[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.locale[_ORBIT_tmpvar_32]) * _ORBIT_tmpvar_33); + } + _ORBIT_tmpvar_35 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_35)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_35), + sizeof(_ORBIT_tmpvar_35)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_35)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + short_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + short_desc), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + short_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.short_desc[_ORBIT_tmpvar_34]) * _ORBIT_tmpvar_35); + } + _ORBIT_tmpvar_37 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_37)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_37), + sizeof(_ORBIT_tmpvar_37)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_37)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + long_desc[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + long_desc), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + long_desc[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.long_desc[_ORBIT_tmpvar_36]) * _ORBIT_tmpvar_37); + } + _ORBIT_tmpvar_39 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_39)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_39), + sizeof(_ORBIT_tmpvar_39)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_39)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.owner[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + owner), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + owner[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.owner[_ORBIT_tmpvar_38]) * _ORBIT_tmpvar_39); + } + _ORBIT_tmpvar_41 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_41)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_41), + sizeof(_ORBIT_tmpvar_41)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_41)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.encoded_default_value[_ORBIT_tmpvar_40]) * _ORBIT_tmpvar_41); + } + break; + default: + break; + } + } + + break; + default: + break; + } + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 1); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &(value_is_default), + sizeof(value_is_default)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &(value_is_writable), + sizeof(value_is_writable)); + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(_ORBIT_retval); + } +} +void +_ORBIT_skel_ConfigDatabase_lookup_default_value(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + ConfigValue * + (*_impl_lookup_default_value) + (PortableServer_Servant + _servant, + const CORBA_char * key, + const CORBA_char * locale, + CORBA_Environment * ev)) +{ + ConfigValue *_ORBIT_retval; + CORBA_char *key; + CORBA_char *locale; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_80; + CORBA_unsigned_long _ORBIT_tmpvar_81; + register CORBA_unsigned_long _ORBIT_tmpvar_82; + CORBA_unsigned_long _ORBIT_tmpvar_83; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_81))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_80]) * _ORBIT_tmpvar_81; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_83))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_82]) * _ORBIT_tmpvar_83; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_81 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_80]) * _ORBIT_tmpvar_81; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_83 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_82]) * _ORBIT_tmpvar_83; + } + } + _ORBIT_retval = + _impl_lookup_default_value(_ORBIT_servant, key, locale, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + register CORBA_unsigned_long _ORBIT_tmpvar_4; + CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + register CORBA_unsigned_long _ORBIT_tmpvar_8; + CORBA_unsigned_long _ORBIT_tmpvar_9; + register CORBA_unsigned_long _ORBIT_tmpvar_10; + CORBA_unsigned_long _ORBIT_tmpvar_11; + register CORBA_unsigned_long _ORBIT_tmpvar_12; + CORBA_unsigned_long _ORBIT_tmpvar_13; + register CORBA_unsigned_long _ORBIT_tmpvar_14; + CORBA_unsigned_long _ORBIT_tmpvar_15; + register CORBA_unsigned_long _ORBIT_tmpvar_16; + register CORBA_unsigned_long _ORBIT_tmpvar_17; + CORBA_unsigned_long _ORBIT_tmpvar_18; + register CORBA_unsigned_long _ORBIT_tmpvar_19; + CORBA_unsigned_long _ORBIT_tmpvar_20; + register CORBA_unsigned_long _ORBIT_tmpvar_21; + CORBA_unsigned_long _ORBIT_tmpvar_22; + register CORBA_unsigned_long _ORBIT_tmpvar_23; + CORBA_unsigned_long _ORBIT_tmpvar_24; + register CORBA_unsigned_long _ORBIT_tmpvar_25; + CORBA_unsigned_long _ORBIT_tmpvar_26; + register CORBA_unsigned_long _ORBIT_tmpvar_27; + CORBA_unsigned_long _ORBIT_tmpvar_28; + register CORBA_unsigned_long _ORBIT_tmpvar_29; + register CORBA_unsigned_long _ORBIT_tmpvar_30; + CORBA_unsigned_long _ORBIT_tmpvar_31; + register CORBA_unsigned_long _ORBIT_tmpvar_32; + CORBA_unsigned_long _ORBIT_tmpvar_33; + register CORBA_unsigned_long _ORBIT_tmpvar_34; + CORBA_unsigned_long _ORBIT_tmpvar_35; + register CORBA_unsigned_long _ORBIT_tmpvar_36; + CORBA_unsigned_long _ORBIT_tmpvar_37; + register CORBA_unsigned_long _ORBIT_tmpvar_38; + CORBA_unsigned_long _ORBIT_tmpvar_39; + register CORBA_unsigned_long _ORBIT_tmpvar_40; + CORBA_unsigned_long _ORBIT_tmpvar_41; + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._d), + sizeof((*_ORBIT_retval)._d)); + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u.dummy), + sizeof((*_ORBIT_retval)._u. + dummy)); + break; + case IntVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + int_value), + sizeof((*_ORBIT_retval)._u. + int_value)); + break; + case StringVal: + _ORBIT_tmpvar_5 = + strlen((*_ORBIT_retval)._u.string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_5)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_5), + sizeof(_ORBIT_tmpvar_5)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_5)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + string_value), + sizeof((*_ORBIT_retval)._u. + string_value + [_ORBIT_tmpvar_4]) * + _ORBIT_tmpvar_5); + break; + case FloatVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + float_value), + sizeof((*_ORBIT_retval)._u. + float_value)); + break; + case BoolVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + bool_value), + sizeof((*_ORBIT_retval)._u. + bool_value)); + break; + case SchemaVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_list_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_car_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_cdr_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_cdr_type)); + _ORBIT_tmpvar_7 = + strlen((*_ORBIT_retval)._u.schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_7)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_7), + sizeof(_ORBIT_tmpvar_7)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_7)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.locale), + sizeof((*_ORBIT_retval)._u. + schema_value. + locale + [_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7); + _ORBIT_tmpvar_9 = + strlen((*_ORBIT_retval)._u.schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_9)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_9), + sizeof(_ORBIT_tmpvar_9)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_9)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.short_desc), + sizeof((*_ORBIT_retval)._u. + schema_value. + short_desc + [_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + _ORBIT_tmpvar_11 = + strlen((*_ORBIT_retval)._u.schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_11)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_11), + sizeof(_ORBIT_tmpvar_11)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_11)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.long_desc), + sizeof((*_ORBIT_retval)._u. + schema_value. + long_desc + [_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + _ORBIT_tmpvar_13 = + strlen((*_ORBIT_retval)._u.schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_13)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_13), + sizeof(_ORBIT_tmpvar_13)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_13)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.owner), + sizeof((*_ORBIT_retval)._u. + schema_value. + owner + [_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + _ORBIT_tmpvar_15 = + strlen((*_ORBIT_retval)._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_15)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_15), + sizeof(_ORBIT_tmpvar_15)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_15)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + break; + case ListVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq._length)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq._length), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u. + list_value.seq. + _length)); + } + for (_ORBIT_tmpvar_16 = 0; + _ORBIT_tmpvar_16 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_16++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval). + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_16]. + _d)); + } + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.dummy)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.dummy), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + int_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.int_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_18 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_18)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_18), + sizeof(_ORBIT_tmpvar_18)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_18)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.string_value[_ORBIT_tmpvar_17]) * _ORBIT_tmpvar_18); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + float_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + float_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.bool_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_list_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_car_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_cdr_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_20 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_20)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_20), + sizeof(_ORBIT_tmpvar_20)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_20)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + locale[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + locale), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + locale[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.locale[_ORBIT_tmpvar_19]) * _ORBIT_tmpvar_20); + } + _ORBIT_tmpvar_22 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_22)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_22), + sizeof(_ORBIT_tmpvar_22)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_22)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + short_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + short_desc), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + short_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.short_desc[_ORBIT_tmpvar_21]) * _ORBIT_tmpvar_22); + } + _ORBIT_tmpvar_24 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_24)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_24), + sizeof(_ORBIT_tmpvar_24)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_24)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + long_desc[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + long_desc), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + long_desc[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.long_desc[_ORBIT_tmpvar_23]) * _ORBIT_tmpvar_24); + } + _ORBIT_tmpvar_26 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_26)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_26), + sizeof(_ORBIT_tmpvar_26)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_26)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.owner[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + owner), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + owner[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.owner[_ORBIT_tmpvar_25]) * _ORBIT_tmpvar_26); + } + _ORBIT_tmpvar_28 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_28)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_28), + sizeof(_ORBIT_tmpvar_28)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_28)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.encoded_default_value[_ORBIT_tmpvar_27]) * _ORBIT_tmpvar_28); + } + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + list_value.list_type), + sizeof((*_ORBIT_retval)._u. + list_value.list_type)); + break; + case PairVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*_ORBIT_retval)._u.pair_value._length)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value._length), + sizeof((*_ORBIT_retval)._u.pair_value._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u. + pair_value. + _length)); + } + for (_ORBIT_tmpvar_29 = 0; + _ORBIT_tmpvar_29 < + (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_29++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval). + _u.pair_value. + _buffer + [_ORBIT_tmpvar_29]. + _d)); + } + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.dummy)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.dummy), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + int_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.int_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_31 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_31)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_31), + sizeof(_ORBIT_tmpvar_31)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_31)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.string_value[_ORBIT_tmpvar_30]) * _ORBIT_tmpvar_31); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + float_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + float_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.bool_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_list_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_car_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_cdr_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_33 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_33)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_33), + sizeof(_ORBIT_tmpvar_33)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_33)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + locale[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + locale), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + locale[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.locale[_ORBIT_tmpvar_32]) * _ORBIT_tmpvar_33); + } + _ORBIT_tmpvar_35 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_35)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_35), + sizeof(_ORBIT_tmpvar_35)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_35)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + short_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + short_desc), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + short_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.short_desc[_ORBIT_tmpvar_34]) * _ORBIT_tmpvar_35); + } + _ORBIT_tmpvar_37 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_37)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_37), + sizeof(_ORBIT_tmpvar_37)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_37)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + long_desc[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + long_desc), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + long_desc[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.long_desc[_ORBIT_tmpvar_36]) * _ORBIT_tmpvar_37); + } + _ORBIT_tmpvar_39 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_39)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_39), + sizeof(_ORBIT_tmpvar_39)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_39)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.owner[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + owner), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + owner[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.owner[_ORBIT_tmpvar_38]) * _ORBIT_tmpvar_39); + } + _ORBIT_tmpvar_41 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_41)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_41), + sizeof(_ORBIT_tmpvar_41)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_41)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.encoded_default_value[_ORBIT_tmpvar_40]) * _ORBIT_tmpvar_41); + } + break; + default: + break; + } + } + + break; + default: + break; + } + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(_ORBIT_retval); + } +} +void +_ORBIT_skel_ConfigDatabase_batch_lookup(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_batch_lookup) + (PortableServer_Servant _servant, + const ConfigDatabase_KeyList * keys, + const CORBA_char * locale, + ConfigDatabase_ValueList ** values, + ConfigDatabase_IsDefaultList ** + is_defaults, + ConfigDatabase_IsWritableList ** + is_writables, + CORBA_Environment * ev)) +{ + ConfigDatabase_KeyList keys = { 0, 0, NULL, CORBA_FALSE }; + CORBA_char *locale; + ConfigDatabase_ValueList *values; + ConfigDatabase_IsDefaultList *is_defaults; + ConfigDatabase_IsWritableList *is_writables; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_87; + register CORBA_unsigned_long _ORBIT_tmpvar_88; + CORBA_unsigned_long _ORBIT_tmpvar_89; + register CORBA_unsigned_long _ORBIT_tmpvar_90; + CORBA_unsigned_long _ORBIT_tmpvar_91; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (keys._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + keys._buffer = + alloca(sizeof(keys._buffer[_ORBIT_tmpvar_87]) * keys._length); + keys._release = CORBA_FALSE; + for (_ORBIT_tmpvar_87 = 0; _ORBIT_tmpvar_87 < keys._length; + _ORBIT_tmpvar_87++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_89))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + keys._buffer[_ORBIT_tmpvar_87] = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(keys._buffer[_ORBIT_tmpvar_87][_ORBIT_tmpvar_88]) * + _ORBIT_tmpvar_89; + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_91))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_90]) * _ORBIT_tmpvar_91; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + keys._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + keys._buffer = + alloca(sizeof(keys._buffer[_ORBIT_tmpvar_87]) * keys._length); + keys._release = CORBA_FALSE; + for (_ORBIT_tmpvar_87 = 0; _ORBIT_tmpvar_87 < keys._length; + _ORBIT_tmpvar_87++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_89 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + keys._buffer[_ORBIT_tmpvar_87] = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(keys._buffer[_ORBIT_tmpvar_87][_ORBIT_tmpvar_88]) * + _ORBIT_tmpvar_89; + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_91 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_90]) * _ORBIT_tmpvar_91; + } + } + _impl_batch_lookup(_ORBIT_servant, &(keys), locale, &(values), + &(is_defaults), &(is_writables), ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + register CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + register CORBA_unsigned_long _ORBIT_tmpvar_8; + CORBA_unsigned_long _ORBIT_tmpvar_9; + register CORBA_unsigned_long _ORBIT_tmpvar_10; + CORBA_unsigned_long _ORBIT_tmpvar_11; + register CORBA_unsigned_long _ORBIT_tmpvar_12; + CORBA_unsigned_long _ORBIT_tmpvar_13; + register CORBA_unsigned_long _ORBIT_tmpvar_14; + CORBA_unsigned_long _ORBIT_tmpvar_15; + register CORBA_unsigned_long _ORBIT_tmpvar_16; + CORBA_unsigned_long _ORBIT_tmpvar_17; + register CORBA_unsigned_long _ORBIT_tmpvar_18; + register CORBA_unsigned_long _ORBIT_tmpvar_19; + CORBA_unsigned_long _ORBIT_tmpvar_20; + register CORBA_unsigned_long _ORBIT_tmpvar_21; + CORBA_unsigned_long _ORBIT_tmpvar_22; + register CORBA_unsigned_long _ORBIT_tmpvar_23; + CORBA_unsigned_long _ORBIT_tmpvar_24; + register CORBA_unsigned_long _ORBIT_tmpvar_25; + CORBA_unsigned_long _ORBIT_tmpvar_26; + register CORBA_unsigned_long _ORBIT_tmpvar_27; + CORBA_unsigned_long _ORBIT_tmpvar_28; + register CORBA_unsigned_long _ORBIT_tmpvar_29; + CORBA_unsigned_long _ORBIT_tmpvar_30; + register CORBA_unsigned_long _ORBIT_tmpvar_31; + register CORBA_unsigned_long _ORBIT_tmpvar_32; + CORBA_unsigned_long _ORBIT_tmpvar_33; + register CORBA_unsigned_long _ORBIT_tmpvar_34; + CORBA_unsigned_long _ORBIT_tmpvar_35; + register CORBA_unsigned_long _ORBIT_tmpvar_36; + CORBA_unsigned_long _ORBIT_tmpvar_37; + register CORBA_unsigned_long _ORBIT_tmpvar_38; + CORBA_unsigned_long _ORBIT_tmpvar_39; + register CORBA_unsigned_long _ORBIT_tmpvar_40; + CORBA_unsigned_long _ORBIT_tmpvar_41; + register CORBA_unsigned_long _ORBIT_tmpvar_42; + CORBA_unsigned_long _ORBIT_tmpvar_43; + register CORBA_unsigned_long _ORBIT_tmpvar_44; + register CORBA_unsigned_long _ORBIT_tmpvar_45; + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*values)._length)); + memcpy(_ORBIT_t, &((*values)._length), + sizeof((*values)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._length)); + } + for (_ORBIT_tmpvar_5 = 0; _ORBIT_tmpvar_5 < (*values)._length; + _ORBIT_tmpvar_5++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*values)._buffer[_ORBIT_tmpvar_5]._d)); + memcpy(_ORBIT_t, &((*values)._buffer[_ORBIT_tmpvar_5]._d), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_5]._d) { + case InvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.dummy), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.dummy)); + } + break; + case IntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + int_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.int_value)); + } + break; + case StringVal: + _ORBIT_tmpvar_7 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_7)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_7), + sizeof(_ORBIT_tmpvar_7)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_7)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + string_value[_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + string_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + string_value[_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u. + string_value + [_ORBIT_tmpvar_6]) + * _ORBIT_tmpvar_7); + } + break; + case FloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + float_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.float_value)); + } + break; + case BoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + bool_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.bool_value)); + } + break; + case SchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.schema_value. + value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_list_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.schema_value. + value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_car_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.schema_value. + value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_cdr_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.schema_value. + value_cdr_type)); + } + _ORBIT_tmpvar_9 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_9)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_9), + sizeof(_ORBIT_tmpvar_9)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_9)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.locale[_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.locale), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.locale[_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.schema_value. + locale + [_ORBIT_tmpvar_8]) + * _ORBIT_tmpvar_9); + } + _ORBIT_tmpvar_11 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_11)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_11), + sizeof(_ORBIT_tmpvar_11)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_11)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.short_desc[_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.short_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value. + short_desc[_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.schema_value. + short_desc + [_ORBIT_tmpvar_10]) + * _ORBIT_tmpvar_11); + } + _ORBIT_tmpvar_13 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_13)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_13), + sizeof(_ORBIT_tmpvar_13)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_13)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.long_desc[_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.long_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value. + long_desc[_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.schema_value. + long_desc + [_ORBIT_tmpvar_12]) + * _ORBIT_tmpvar_13); + } + _ORBIT_tmpvar_15 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_15)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_15), + sizeof(_ORBIT_tmpvar_15)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_15)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.owner[_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.owner), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.owner[_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.schema_value. + owner + [_ORBIT_tmpvar_14]) + * _ORBIT_tmpvar_15); + } + _ORBIT_tmpvar_17 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_17)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_17), + sizeof(_ORBIT_tmpvar_17)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_17)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_16]) * + _ORBIT_tmpvar_17); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.encoded_default_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_16]) + * _ORBIT_tmpvar_17); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.schema_value. + encoded_default_value + [_ORBIT_tmpvar_16]) + * _ORBIT_tmpvar_17); + } + break; + case ListVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._length)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._length), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq._length)); + } + for (_ORBIT_tmpvar_18 = 0; + _ORBIT_tmpvar_18 < + (*values)._buffer[_ORBIT_tmpvar_5]._u.list_value.seq. + _length; _ORBIT_tmpvar_18++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _d)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _d), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u.dummy), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + dummy)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + int_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + int_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_20 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_20)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_20), + sizeof(_ORBIT_tmpvar_20)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_20)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + string_value[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + string_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + string_value[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + string_value[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + float_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + float_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + bool_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + bool_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_list_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_car_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_cdr_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_22 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_22)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_22), + sizeof(_ORBIT_tmpvar_22)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_22)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + locale[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.locale), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + locale[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + locale[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + } + _ORBIT_tmpvar_24 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.short_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_24)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_24), + sizeof(_ORBIT_tmpvar_24)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_24)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + short_desc[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.short_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + short_desc[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + short_desc[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + } + _ORBIT_tmpvar_26 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.long_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_26)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_26), + sizeof(_ORBIT_tmpvar_26)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_26)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + long_desc[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.long_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + long_desc[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + long_desc[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + } + _ORBIT_tmpvar_28 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.owner) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_28)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_28), + sizeof(_ORBIT_tmpvar_28)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_28)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + owner[_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.owner), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + owner[_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + owner[_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + } + _ORBIT_tmpvar_30 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_30)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_30), + sizeof(_ORBIT_tmpvar_30)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_30)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_29]) * + _ORBIT_tmpvar_30); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.encoded_default_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_29]) * + _ORBIT_tmpvar_30); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_29]) * + _ORBIT_tmpvar_30); + } + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.list_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + list_type)); + } + break; + case PairVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._length)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._length), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _length)); + } + for (_ORBIT_tmpvar_31 = 0; + _ORBIT_tmpvar_31 < + (*values)._buffer[_ORBIT_tmpvar_5]._u.pair_value. + _length; _ORBIT_tmpvar_31++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _d)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._d), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.dummy), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + dummy)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.int_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + int_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_33 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_33)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_33), + sizeof(_ORBIT_tmpvar_33)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_33)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + string_value[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.string_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + string_value[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + string_value[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.float_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + float_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.bool_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + bool_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.value_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.value_list_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.value_car_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.value_cdr_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_35 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_35)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_35), + sizeof(_ORBIT_tmpvar_35)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_35)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + locale[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.locale), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + locale[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + locale[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + } + _ORBIT_tmpvar_37 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.short_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_37)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_37), + sizeof(_ORBIT_tmpvar_37)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_37)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + short_desc[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.short_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + short_desc[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + short_desc[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + } + _ORBIT_tmpvar_39 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.long_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_39)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_39), + sizeof(_ORBIT_tmpvar_39)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_39)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + long_desc[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.long_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + long_desc[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + long_desc[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + } + _ORBIT_tmpvar_41 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.owner) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_41)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_41), + sizeof(_ORBIT_tmpvar_41)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_41)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + owner[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.owner), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + owner[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + owner[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + } + _ORBIT_tmpvar_43 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_43)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_43), + sizeof(_ORBIT_tmpvar_43)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_43)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.encoded_default_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]._u. + pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_31]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + } + break; + default: + break; + } + } + + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*is_defaults)._length)); + memcpy(_ORBIT_t, &((*is_defaults)._length), + sizeof((*is_defaults)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_defaults)._length)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*is_defaults)._buffer[_ORBIT_tmpvar_44]) * + (*is_defaults)._length); + memcpy(_ORBIT_t, ((*is_defaults)._buffer), + sizeof((*is_defaults)._buffer[_ORBIT_tmpvar_44]) * + (*is_defaults)._length); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_defaults). + _buffer + [_ORBIT_tmpvar_44]) * + (*is_defaults)._length); + } + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*is_writables)._length)); + memcpy(_ORBIT_t, &((*is_writables)._length), + sizeof((*is_writables)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_writables). + _length)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*is_writables)._buffer[_ORBIT_tmpvar_45]) * + (*is_writables)._length); + memcpy(_ORBIT_t, ((*is_writables)._buffer), + sizeof((*is_writables)._buffer[_ORBIT_tmpvar_45]) * + (*is_writables)._length); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_writables). + _buffer + [_ORBIT_tmpvar_45]) * + (*is_writables)._length); + } + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(values); + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(is_defaults); + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(is_writables); + } +} +void +_ORBIT_skel_ConfigDatabase_set(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_set) (PortableServer_Servant + _servant, + const CORBA_char * key, + const ConfigValue * value, + CORBA_Environment * ev)) +{ + CORBA_char *key; + ConfigValue value; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_40; + CORBA_unsigned_long _ORBIT_tmpvar_41; + register CORBA_unsigned_long _ORBIT_tmpvar_42; + CORBA_unsigned_long _ORBIT_tmpvar_43; + register CORBA_unsigned_long _ORBIT_tmpvar_44; + CORBA_unsigned_long _ORBIT_tmpvar_45; + register CORBA_unsigned_long _ORBIT_tmpvar_46; + CORBA_unsigned_long _ORBIT_tmpvar_47; + register CORBA_unsigned_long _ORBIT_tmpvar_48; + CORBA_unsigned_long _ORBIT_tmpvar_49; + register CORBA_unsigned_long _ORBIT_tmpvar_50; + CORBA_unsigned_long _ORBIT_tmpvar_51; + register CORBA_unsigned_long _ORBIT_tmpvar_52; + CORBA_unsigned_long _ORBIT_tmpvar_53; + register CORBA_unsigned_long _ORBIT_tmpvar_54; + register CORBA_unsigned_long _ORBIT_tmpvar_55; + CORBA_unsigned_long _ORBIT_tmpvar_56; + register CORBA_unsigned_long _ORBIT_tmpvar_57; + CORBA_unsigned_long _ORBIT_tmpvar_58; + register CORBA_unsigned_long _ORBIT_tmpvar_59; + CORBA_unsigned_long _ORBIT_tmpvar_60; + register CORBA_unsigned_long _ORBIT_tmpvar_61; + CORBA_unsigned_long _ORBIT_tmpvar_62; + register CORBA_unsigned_long _ORBIT_tmpvar_63; + CORBA_unsigned_long _ORBIT_tmpvar_64; + register CORBA_unsigned_long _ORBIT_tmpvar_65; + CORBA_unsigned_long _ORBIT_tmpvar_66; + register CORBA_unsigned_long _ORBIT_tmpvar_67; + register CORBA_unsigned_long _ORBIT_tmpvar_68; + CORBA_unsigned_long _ORBIT_tmpvar_69; + register CORBA_unsigned_long _ORBIT_tmpvar_70; + CORBA_unsigned_long _ORBIT_tmpvar_71; + register CORBA_unsigned_long _ORBIT_tmpvar_72; + CORBA_unsigned_long _ORBIT_tmpvar_73; + register CORBA_unsigned_long _ORBIT_tmpvar_74; + CORBA_unsigned_long _ORBIT_tmpvar_75; + register CORBA_unsigned_long _ORBIT_tmpvar_76; + CORBA_unsigned_long _ORBIT_tmpvar_77; + register CORBA_unsigned_long _ORBIT_tmpvar_78; + CORBA_unsigned_long _ORBIT_tmpvar_79; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_41))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_40]) * _ORBIT_tmpvar_41; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (value._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (value._d) { + case InvalidVal: + (*((guint32 *) & (value._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case IntVal: + (*((guint32 *) & (value._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case StringVal: + (*((guint32 *) & (_ORBIT_tmpvar_43))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43; + break; + case FloatVal: + (*((guint32 *) & (value._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case BoolVal: + value._u.bool_value = *((CORBA_boolean *) _ORBIT_curptr); + break; + case SchemaVal: + (*((guint32 *) & (value._u.schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (value._u.schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (value._u.schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (value._u.schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_45))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.locale[_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_47))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.short_desc[_ORBIT_tmpvar_46]) * + _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_49))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.long_desc[_ORBIT_tmpvar_48]) * + _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_51))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.owner[_ORBIT_tmpvar_50]) * + _ORBIT_tmpvar_51; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_53))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53; + break; + case ListVal: + (*((guint32 *) & (value._u.list_value.seq._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer = + alloca(sizeof + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]) * + value._u.list_value.seq._length); + value._u.list_value.seq._release = CORBA_FALSE; + for (_ORBIT_tmpvar_54 = 0; + _ORBIT_tmpvar_54 < value._u.list_value.seq._length; + _ORBIT_tmpvar_54++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_56))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56; + break; + case BFloatVal: + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + bool_value = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_58))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_60))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_62))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_64))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_66))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (value._u.list_value.list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case PairVal: + (*((guint32 *) & (value._u.pair_value._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer = + alloca(sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]) + * value._u.pair_value._length); + value._u.pair_value._release = CORBA_FALSE; + for (_ORBIT_tmpvar_67 = 0; + _ORBIT_tmpvar_67 < value._u.pair_value._length; + _ORBIT_tmpvar_67++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_69))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + break; + case BFloatVal: + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + bool_value = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_71))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_73))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_75))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_77))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_79))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + default: + break; + } + } + + break; + default: + break; + } + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_41 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_40]) * _ORBIT_tmpvar_41; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + value._d = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (value._d) { + case InvalidVal: + value._u.dummy = *((CORBA_long *) _ORBIT_curptr); + break; + case IntVal: + value._u.int_value = *((CORBA_long *) _ORBIT_curptr); + break; + case StringVal: + _ORBIT_tmpvar_43 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43; + break; + case FloatVal: + value._u.float_value = *((CORBA_float *) _ORBIT_curptr); + break; + case BoolVal: + value._u.bool_value = *((CORBA_boolean *) _ORBIT_curptr); + break; + case SchemaVal: + value._u.schema_value.value_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_45 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.locale[_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_47 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.short_desc[_ORBIT_tmpvar_46]) * + _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_49 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.long_desc[_ORBIT_tmpvar_48]) * + _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_51 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value.owner[_ORBIT_tmpvar_50]) * + _ORBIT_tmpvar_51; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_53 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53; + break; + case ListVal: + value._u.list_value.seq._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer = + alloca(sizeof + (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]) * + value._u.list_value.seq._length); + value._u.list_value.seq._release = CORBA_FALSE; + for (_ORBIT_tmpvar_54 = 0; + _ORBIT_tmpvar_54 < value._u.list_value.seq._length; + _ORBIT_tmpvar_54++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._d) { + case BInvalidVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + dummy = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + int_value = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_56 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56; + break; + case BFloatVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + float_value = *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + bool_value = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_58 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_60 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_62 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_64 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_66 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.list_value.seq._buffer[_ORBIT_tmpvar_54]._u. + schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + value._u.list_value.list_type = + *((ConfigBasicValueType *) _ORBIT_curptr); + break; + case PairVal: + value._u.pair_value._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer = + alloca(sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]) + * value._u.pair_value._length); + value._u.pair_value._release = CORBA_FALSE; + for (_ORBIT_tmpvar_67 = 0; + _ORBIT_tmpvar_67 < value._u.pair_value._length; + _ORBIT_tmpvar_67++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (value._u.pair_value._buffer[_ORBIT_tmpvar_67]._d) { + case BInvalidVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + int_value = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_69 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + string_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + break; + case BFloatVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + float_value = *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + bool_value = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_71 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_73 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_75 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_77 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.owner = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_79 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + value._u.pair_value._buffer[_ORBIT_tmpvar_67]._u. + schema_value.encoded_default_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(value._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + default: + break; + } + } + + break; + default: + break; + } + } + } + _impl_set(_ORBIT_servant, key, &(value), ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigDatabase_unset(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_unset) (PortableServer_Servant + _servant, + const CORBA_char * key, + CORBA_Environment * ev)) +{ + CORBA_char *key; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_3))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_3 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; + } + } + _impl_unset(_ORBIT_servant, key, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigDatabase_unset_with_locale(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_unset_with_locale) + (PortableServer_Servant _servant, + const CORBA_char * key, + const CORBA_char * locale, + CORBA_Environment * ev)) +{ + CORBA_char *key; + CORBA_char *locale; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_4; + CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_5))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_4]) * _ORBIT_tmpvar_5; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_7))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_6]) * _ORBIT_tmpvar_7; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_5 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_4]) * _ORBIT_tmpvar_5; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_7 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_6]) * _ORBIT_tmpvar_7; + } + } + _impl_unset_with_locale(_ORBIT_servant, key, locale, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigDatabase_batch_change(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_batch_change) + (PortableServer_Servant _servant, + const CORBA_char * locale, + const ConfigDatabase_KeyList * keys, + const ConfigDatabase_ValueList * + values, CORBA_Environment * ev)) +{ + CORBA_char *locale; + ConfigDatabase_KeyList keys = { 0, 0, NULL, CORBA_FALSE }; + ConfigDatabase_ValueList values = { 0, 0, NULL, CORBA_FALSE }; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_44; + CORBA_unsigned_long _ORBIT_tmpvar_45; + register CORBA_unsigned_long _ORBIT_tmpvar_46; + register CORBA_unsigned_long _ORBIT_tmpvar_47; + CORBA_unsigned_long _ORBIT_tmpvar_48; + register CORBA_unsigned_long _ORBIT_tmpvar_49; + register CORBA_unsigned_long _ORBIT_tmpvar_50; + CORBA_unsigned_long _ORBIT_tmpvar_51; + register CORBA_unsigned_long _ORBIT_tmpvar_52; + CORBA_unsigned_long _ORBIT_tmpvar_53; + register CORBA_unsigned_long _ORBIT_tmpvar_54; + CORBA_unsigned_long _ORBIT_tmpvar_55; + register CORBA_unsigned_long _ORBIT_tmpvar_56; + CORBA_unsigned_long _ORBIT_tmpvar_57; + register CORBA_unsigned_long _ORBIT_tmpvar_58; + CORBA_unsigned_long _ORBIT_tmpvar_59; + register CORBA_unsigned_long _ORBIT_tmpvar_60; + CORBA_unsigned_long _ORBIT_tmpvar_61; + register CORBA_unsigned_long _ORBIT_tmpvar_62; + register CORBA_unsigned_long _ORBIT_tmpvar_63; + CORBA_unsigned_long _ORBIT_tmpvar_64; + register CORBA_unsigned_long _ORBIT_tmpvar_65; + CORBA_unsigned_long _ORBIT_tmpvar_66; + register CORBA_unsigned_long _ORBIT_tmpvar_67; + CORBA_unsigned_long _ORBIT_tmpvar_68; + register CORBA_unsigned_long _ORBIT_tmpvar_69; + CORBA_unsigned_long _ORBIT_tmpvar_70; + register CORBA_unsigned_long _ORBIT_tmpvar_71; + CORBA_unsigned_long _ORBIT_tmpvar_72; + register CORBA_unsigned_long _ORBIT_tmpvar_73; + CORBA_unsigned_long _ORBIT_tmpvar_74; + register CORBA_unsigned_long _ORBIT_tmpvar_75; + register CORBA_unsigned_long _ORBIT_tmpvar_76; + CORBA_unsigned_long _ORBIT_tmpvar_77; + register CORBA_unsigned_long _ORBIT_tmpvar_78; + CORBA_unsigned_long _ORBIT_tmpvar_79; + register CORBA_unsigned_long _ORBIT_tmpvar_80; + CORBA_unsigned_long _ORBIT_tmpvar_81; + register CORBA_unsigned_long _ORBIT_tmpvar_82; + CORBA_unsigned_long _ORBIT_tmpvar_83; + register CORBA_unsigned_long _ORBIT_tmpvar_84; + CORBA_unsigned_long _ORBIT_tmpvar_85; + register CORBA_unsigned_long _ORBIT_tmpvar_86; + CORBA_unsigned_long _ORBIT_tmpvar_87; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_45))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (keys._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + keys._buffer = + alloca(sizeof(keys._buffer[_ORBIT_tmpvar_46]) * keys._length); + keys._release = CORBA_FALSE; + for (_ORBIT_tmpvar_46 = 0; _ORBIT_tmpvar_46 < keys._length; + _ORBIT_tmpvar_46++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_48))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + keys._buffer[_ORBIT_tmpvar_46] = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(keys._buffer[_ORBIT_tmpvar_46][_ORBIT_tmpvar_47]) * + _ORBIT_tmpvar_48; + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (values._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer = + alloca(sizeof(values._buffer[_ORBIT_tmpvar_49]) * values._length); + values._release = CORBA_FALSE; + for (_ORBIT_tmpvar_49 = 0; _ORBIT_tmpvar_49 < values._length; + _ORBIT_tmpvar_49++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (values._buffer[_ORBIT_tmpvar_49]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (values._buffer[_ORBIT_tmpvar_49]._d) { + case InvalidVal: + (* + ((guint32 *) & (values._buffer[_ORBIT_tmpvar_49]._u.dummy))) + = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case IntVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case StringVal: + (*((guint32 *) & (_ORBIT_tmpvar_51))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.string_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + string_value[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51; + break; + case FloatVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BoolVal: + values._buffer[_ORBIT_tmpvar_49]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_53))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value.locale = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + locale[_ORBIT_tmpvar_52]) * _ORBIT_tmpvar_53; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_55))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value.short_desc = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + short_desc[_ORBIT_tmpvar_54]) * _ORBIT_tmpvar_55; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_57))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value.long_desc = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + long_desc[_ORBIT_tmpvar_56]) * _ORBIT_tmpvar_57; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_59))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value.owner = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + owner[_ORBIT_tmpvar_58]) * _ORBIT_tmpvar_59; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_61))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + encoded_default_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_60]) * + _ORBIT_tmpvar_61; + break; + case ListVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq._buffer = + alloca(sizeof + (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + seq._buffer[_ORBIT_tmpvar_62]) * + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _length); + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq._release = + CORBA_FALSE; + for (_ORBIT_tmpvar_62 = 0; + _ORBIT_tmpvar_62 < + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _length; _ORBIT_tmpvar_62++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + seq._buffer[_ORBIT_tmpvar_62]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + seq._buffer[_ORBIT_tmpvar_62]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + seq._buffer[_ORBIT_tmpvar_62]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_64))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.string_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.string_value[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64; + break; + case BFloatVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + seq._buffer[_ORBIT_tmpvar_62]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + seq._buffer[_ORBIT_tmpvar_62]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + seq._buffer[_ORBIT_tmpvar_62]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + seq._buffer[_ORBIT_tmpvar_62]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + seq._buffer[_ORBIT_tmpvar_62]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_66))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value.locale = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.schema_value.locale[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_68))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value. + short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_67]) * + _ORBIT_tmpvar_68; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_70))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value. + long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.schema_value. + long_desc[_ORBIT_tmpvar_69]) * + _ORBIT_tmpvar_70; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_72))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value.owner = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.schema_value.owner[_ORBIT_tmpvar_71]) * + _ORBIT_tmpvar_72; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_74))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value. + encoded_default_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_73]) * + _ORBIT_tmpvar_74; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case PairVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value._buffer = + alloca(sizeof + (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]) * + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _length); + values._buffer[_ORBIT_tmpvar_49]._u.pair_value._release = + CORBA_FALSE; + for (_ORBIT_tmpvar_75 = 0; + _ORBIT_tmpvar_75 < + values._buffer[_ORBIT_tmpvar_49]._u.pair_value._length; + _ORBIT_tmpvar_75++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_77))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.string_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + string_value[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + break; + case BFloatVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_79))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value.locale = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + schema_value.locale[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_81))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + schema_value. + short_desc[_ORBIT_tmpvar_80]) * + _ORBIT_tmpvar_81; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_83))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + schema_value.long_desc[_ORBIT_tmpvar_82]) * + _ORBIT_tmpvar_83; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_85))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value.owner = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + schema_value.owner[_ORBIT_tmpvar_84]) * + _ORBIT_tmpvar_85; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_87))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + encoded_default_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_86]) * + _ORBIT_tmpvar_87; + break; + default: + break; + } + } + + break; + default: + break; + } + } + + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_45 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + keys._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + keys._buffer = + alloca(sizeof(keys._buffer[_ORBIT_tmpvar_46]) * keys._length); + keys._release = CORBA_FALSE; + for (_ORBIT_tmpvar_46 = 0; _ORBIT_tmpvar_46 < keys._length; + _ORBIT_tmpvar_46++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_48 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + keys._buffer[_ORBIT_tmpvar_46] = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(keys._buffer[_ORBIT_tmpvar_46][_ORBIT_tmpvar_47]) * + _ORBIT_tmpvar_48; + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + values._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer = + alloca(sizeof(values._buffer[_ORBIT_tmpvar_49]) * values._length); + values._release = CORBA_FALSE; + for (_ORBIT_tmpvar_49 = 0; _ORBIT_tmpvar_49 < values._length; + _ORBIT_tmpvar_49++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + values._buffer[_ORBIT_tmpvar_49]._d = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (values._buffer[_ORBIT_tmpvar_49]._d) { + case InvalidVal: + values._buffer[_ORBIT_tmpvar_49]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case IntVal: + values._buffer[_ORBIT_tmpvar_49]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case StringVal: + _ORBIT_tmpvar_51 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.string_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + string_value[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51; + break; + case FloatVal: + values._buffer[_ORBIT_tmpvar_49]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BoolVal: + values._buffer[_ORBIT_tmpvar_49]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + values._buffer[_ORBIT_tmpvar_49]._u.schema_value.value_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + value_list_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + value_car_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + value_cdr_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_53 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value.locale = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + locale[_ORBIT_tmpvar_52]) * _ORBIT_tmpvar_53; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_55 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value.short_desc = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + short_desc[_ORBIT_tmpvar_54]) * _ORBIT_tmpvar_55; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_57 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value.long_desc = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + long_desc[_ORBIT_tmpvar_56]) * _ORBIT_tmpvar_57; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_59 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value.owner = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + owner[_ORBIT_tmpvar_58]) * _ORBIT_tmpvar_59; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_61 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + encoded_default_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_60]) * + _ORBIT_tmpvar_61; + break; + case ListVal: + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq._buffer = + alloca(sizeof + (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + seq._buffer[_ORBIT_tmpvar_62]) * + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _length); + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq._release = + CORBA_FALSE; + for (_ORBIT_tmpvar_62 = 0; + _ORBIT_tmpvar_62 < + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _length; _ORBIT_tmpvar_62++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (values._buffer[_ORBIT_tmpvar_49]._u.list_value. + seq._buffer[_ORBIT_tmpvar_62]._d) { + case BInvalidVal: + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_64 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.string_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.string_value[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64; + break; + case BFloatVal: + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_66 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value.locale = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.schema_value.locale[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_68 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value. + short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_67]) * + _ORBIT_tmpvar_68; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_70 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value. + long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.schema_value. + long_desc[_ORBIT_tmpvar_69]) * + _ORBIT_tmpvar_70; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_72 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value.owner = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.schema_value.owner[_ORBIT_tmpvar_71]) * + _ORBIT_tmpvar_72; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_74 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_62]._u.schema_value. + encoded_default_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + list_value.seq._buffer[_ORBIT_tmpvar_62]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_73]) * + _ORBIT_tmpvar_74; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + values._buffer[_ORBIT_tmpvar_49]._u.list_value.list_type = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case PairVal: + values._buffer[_ORBIT_tmpvar_49]._u.pair_value._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value._buffer = + alloca(sizeof + (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]) * + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _length); + values._buffer[_ORBIT_tmpvar_49]._u.pair_value._release = + CORBA_FALSE; + for (_ORBIT_tmpvar_75 = 0; + _ORBIT_tmpvar_75 < + values._buffer[_ORBIT_tmpvar_49]._u.pair_value._length; + _ORBIT_tmpvar_75++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._d) { + case BInvalidVal: + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_77 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.string_value = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + string_value[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + break; + case BFloatVal: + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_79 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value.locale = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + schema_value.locale[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_81 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + short_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + schema_value. + short_desc[_ORBIT_tmpvar_80]) * + _ORBIT_tmpvar_81; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_83 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + long_desc = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + schema_value.long_desc[_ORBIT_tmpvar_82]) * + _ORBIT_tmpvar_83; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_85 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value.owner = + (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + schema_value.owner[_ORBIT_tmpvar_84]) * + _ORBIT_tmpvar_85; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_87 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + values._buffer[_ORBIT_tmpvar_49]._u.pair_value. + _buffer[_ORBIT_tmpvar_75]._u.schema_value. + encoded_default_value = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(values._buffer[_ORBIT_tmpvar_49]._u. + pair_value._buffer[_ORBIT_tmpvar_75]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_86]) * + _ORBIT_tmpvar_87; + break; + default: + break; + } + } + + break; + default: + break; + } + } + + } + } + _impl_batch_change(_ORBIT_servant, locale, &(keys), &(values), ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigDatabase_dir_exists(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + CORBA_boolean(*_impl_dir_exists) + (PortableServer_Servant _servant, + const CORBA_char * dir, + CORBA_Environment * ev)) +{ + CORBA_boolean _ORBIT_retval; + CORBA_char *dir; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_3))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + dir = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(dir[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_3 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + dir = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(dir[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; + } + } + _ORBIT_retval = _impl_dir_exists(_ORBIT_servant, dir, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_retval)); + memcpy(_ORBIT_t, &(_ORBIT_retval), sizeof(_ORBIT_retval)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_retval)); + } + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigDatabase_remove_dir(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_remove_dir) + (PortableServer_Servant _servant, + const CORBA_char * dir, + CORBA_Environment * ev)) +{ + CORBA_char *dir; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_3))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + dir = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(dir[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_3 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + dir = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(dir[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; + } + } + _impl_remove_dir(_ORBIT_servant, dir, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigDatabase_all_entries(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_all_entries) + (PortableServer_Servant _servant, + const CORBA_char * dir, + const CORBA_char * locale, + ConfigDatabase_KeyList ** keys, + ConfigDatabase_ValueList ** values, + ConfigDatabase_IsDefaultList ** + is_defaults, + ConfigDatabase_IsWritableList ** + is_writables, CORBA_Environment * ev)) +{ + CORBA_char *dir; + CORBA_char *locale; + ConfigDatabase_KeyList *keys; + ConfigDatabase_ValueList *values; + ConfigDatabase_IsDefaultList *is_defaults; + ConfigDatabase_IsWritableList *is_writables; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_92; + CORBA_unsigned_long _ORBIT_tmpvar_93; + register CORBA_unsigned_long _ORBIT_tmpvar_94; + CORBA_unsigned_long _ORBIT_tmpvar_95; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_93))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + dir = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(dir[_ORBIT_tmpvar_92]) * _ORBIT_tmpvar_93; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_95))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_94]) * _ORBIT_tmpvar_95; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_93 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + dir = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(dir[_ORBIT_tmpvar_92]) * _ORBIT_tmpvar_93; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_95 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_94]) * _ORBIT_tmpvar_95; + } + } + _impl_all_entries(_ORBIT_servant, dir, locale, &(keys), &(values), + &(is_defaults), &(is_writables), ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + register CORBA_unsigned_long _ORBIT_tmpvar_4; + register CORBA_unsigned_long _ORBIT_tmpvar_5; + CORBA_unsigned_long _ORBIT_tmpvar_6; + register CORBA_unsigned_long _ORBIT_tmpvar_7; + register CORBA_unsigned_long _ORBIT_tmpvar_8; + CORBA_unsigned_long _ORBIT_tmpvar_9; + register CORBA_unsigned_long _ORBIT_tmpvar_10; + CORBA_unsigned_long _ORBIT_tmpvar_11; + register CORBA_unsigned_long _ORBIT_tmpvar_12; + CORBA_unsigned_long _ORBIT_tmpvar_13; + register CORBA_unsigned_long _ORBIT_tmpvar_14; + CORBA_unsigned_long _ORBIT_tmpvar_15; + register CORBA_unsigned_long _ORBIT_tmpvar_16; + CORBA_unsigned_long _ORBIT_tmpvar_17; + register CORBA_unsigned_long _ORBIT_tmpvar_18; + CORBA_unsigned_long _ORBIT_tmpvar_19; + register CORBA_unsigned_long _ORBIT_tmpvar_20; + register CORBA_unsigned_long _ORBIT_tmpvar_21; + CORBA_unsigned_long _ORBIT_tmpvar_22; + register CORBA_unsigned_long _ORBIT_tmpvar_23; + CORBA_unsigned_long _ORBIT_tmpvar_24; + register CORBA_unsigned_long _ORBIT_tmpvar_25; + CORBA_unsigned_long _ORBIT_tmpvar_26; + register CORBA_unsigned_long _ORBIT_tmpvar_27; + CORBA_unsigned_long _ORBIT_tmpvar_28; + register CORBA_unsigned_long _ORBIT_tmpvar_29; + CORBA_unsigned_long _ORBIT_tmpvar_30; + register CORBA_unsigned_long _ORBIT_tmpvar_31; + CORBA_unsigned_long _ORBIT_tmpvar_32; + register CORBA_unsigned_long _ORBIT_tmpvar_33; + register CORBA_unsigned_long _ORBIT_tmpvar_34; + CORBA_unsigned_long _ORBIT_tmpvar_35; + register CORBA_unsigned_long _ORBIT_tmpvar_36; + CORBA_unsigned_long _ORBIT_tmpvar_37; + register CORBA_unsigned_long _ORBIT_tmpvar_38; + CORBA_unsigned_long _ORBIT_tmpvar_39; + register CORBA_unsigned_long _ORBIT_tmpvar_40; + CORBA_unsigned_long _ORBIT_tmpvar_41; + register CORBA_unsigned_long _ORBIT_tmpvar_42; + CORBA_unsigned_long _ORBIT_tmpvar_43; + register CORBA_unsigned_long _ORBIT_tmpvar_44; + CORBA_unsigned_long _ORBIT_tmpvar_45; + register CORBA_unsigned_long _ORBIT_tmpvar_46; + register CORBA_unsigned_long _ORBIT_tmpvar_47; + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*keys)._length)); + memcpy(_ORBIT_t, &((*keys)._length), sizeof((*keys)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*keys)._length)); + } + for (_ORBIT_tmpvar_4 = 0; _ORBIT_tmpvar_4 < (*keys)._length; + _ORBIT_tmpvar_4++) { + _ORBIT_tmpvar_6 = strlen((*keys)._buffer[_ORBIT_tmpvar_4]) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_6)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_6), + sizeof(_ORBIT_tmpvar_6)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_6)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*keys). + _buffer[_ORBIT_tmpvar_4][_ORBIT_tmpvar_5]) * + _ORBIT_tmpvar_6); + memcpy(_ORBIT_t, ((*keys)._buffer[_ORBIT_tmpvar_4]), + sizeof((*keys). + _buffer[_ORBIT_tmpvar_4][_ORBIT_tmpvar_5]) * + _ORBIT_tmpvar_6); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*keys). + _buffer + [_ORBIT_tmpvar_4] + [_ORBIT_tmpvar_5]) * + _ORBIT_tmpvar_6); + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*values)._length)); + memcpy(_ORBIT_t, &((*values)._length), + sizeof((*values)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._length)); + } + for (_ORBIT_tmpvar_7 = 0; _ORBIT_tmpvar_7 < (*values)._length; + _ORBIT_tmpvar_7++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*values)._buffer[_ORBIT_tmpvar_7]._d)); + memcpy(_ORBIT_t, &((*values)._buffer[_ORBIT_tmpvar_7]._d), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_7]._d) { + case InvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u.dummy), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.dummy)); + } + break; + case IntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + int_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.int_value)); + } + break; + case StringVal: + _ORBIT_tmpvar_9 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_9)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_9), + sizeof(_ORBIT_tmpvar_9)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_9)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + string_value[_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + string_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + string_value[_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u. + string_value + [_ORBIT_tmpvar_8]) + * _ORBIT_tmpvar_9); + } + break; + case FloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + float_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.float_value)); + } + break; + case BoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + bool_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.bool_value)); + } + break; + case SchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_list_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_car_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_cdr_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + value_cdr_type)); + } + _ORBIT_tmpvar_11 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_11)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_11), + sizeof(_ORBIT_tmpvar_11)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_11)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.locale[_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.locale), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.locale[_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + locale + [_ORBIT_tmpvar_10]) + * _ORBIT_tmpvar_11); + } + _ORBIT_tmpvar_13 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_13)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_13), + sizeof(_ORBIT_tmpvar_13)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_13)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.short_desc[_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.short_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value. + short_desc[_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + short_desc + [_ORBIT_tmpvar_12]) + * _ORBIT_tmpvar_13); + } + _ORBIT_tmpvar_15 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_15)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_15), + sizeof(_ORBIT_tmpvar_15)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_15)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.long_desc[_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.long_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value. + long_desc[_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + long_desc + [_ORBIT_tmpvar_14]) + * _ORBIT_tmpvar_15); + } + _ORBIT_tmpvar_17 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_17)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_17), + sizeof(_ORBIT_tmpvar_17)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_17)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.owner[_ORBIT_tmpvar_16]) * + _ORBIT_tmpvar_17); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.owner), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.owner[_ORBIT_tmpvar_16]) * + _ORBIT_tmpvar_17); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + owner + [_ORBIT_tmpvar_16]) + * _ORBIT_tmpvar_17); + } + _ORBIT_tmpvar_19 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_19)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_19), + sizeof(_ORBIT_tmpvar_19)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_19)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_18]) * + _ORBIT_tmpvar_19); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.encoded_default_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_18]) + * _ORBIT_tmpvar_19); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + encoded_default_value + [_ORBIT_tmpvar_18]) + * _ORBIT_tmpvar_19); + } + break; + case ListVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._length)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._length), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.list_value. + seq._length)); + } + for (_ORBIT_tmpvar_20 = 0; + _ORBIT_tmpvar_20 < + (*values)._buffer[_ORBIT_tmpvar_7]._u.list_value.seq. + _length; _ORBIT_tmpvar_20++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._buffer[_ORBIT_tmpvar_20]. + _d)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._buffer[_ORBIT_tmpvar_20]. + _d), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_20]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._buffer[_ORBIT_tmpvar_20]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u.dummy), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + dummy)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + int_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + int_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_22 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_22)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_22), + sizeof(_ORBIT_tmpvar_22)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_22)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + string_value[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + string_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + string_value[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + string_value[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + float_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + float_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + bool_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + bool_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_list_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_car_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_cdr_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_24 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_24)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_24), + sizeof(_ORBIT_tmpvar_24)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_24)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + locale[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.locale), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + locale[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + locale[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + } + _ORBIT_tmpvar_26 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.short_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_26)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_26), + sizeof(_ORBIT_tmpvar_26)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_26)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + short_desc[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.short_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + short_desc[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + short_desc[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + } + _ORBIT_tmpvar_28 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.long_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_28)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_28), + sizeof(_ORBIT_tmpvar_28)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_28)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + long_desc[_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.long_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + long_desc[_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + long_desc[_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + } + _ORBIT_tmpvar_30 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.owner) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_30)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_30), + sizeof(_ORBIT_tmpvar_30)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_30)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + owner[_ORBIT_tmpvar_29]) * + _ORBIT_tmpvar_30); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.owner), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + owner[_ORBIT_tmpvar_29]) * + _ORBIT_tmpvar_30); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + owner[_ORBIT_tmpvar_29]) * + _ORBIT_tmpvar_30); + } + _ORBIT_tmpvar_32 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_32)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_32), + sizeof(_ORBIT_tmpvar_32)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_32)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_31]) * + _ORBIT_tmpvar_32); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.encoded_default_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_31]) * + _ORBIT_tmpvar_32); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_31]) * + _ORBIT_tmpvar_32); + } + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.list_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.list_value. + list_type)); + } + break; + case PairVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._length)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._length), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.pair_value. + _length)); + } + for (_ORBIT_tmpvar_33 = 0; + _ORBIT_tmpvar_33 < + (*values)._buffer[_ORBIT_tmpvar_7]._u.pair_value. + _length; _ORBIT_tmpvar_33++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _d)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._d), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_33]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.dummy), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + dummy)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.int_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + int_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_35 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_35)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_35), + sizeof(_ORBIT_tmpvar_35)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_35)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + string_value[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.string_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + string_value[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + string_value[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.float_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + float_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.bool_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + bool_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.value_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.value_list_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.value_car_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.value_cdr_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_37 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_37)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_37), + sizeof(_ORBIT_tmpvar_37)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_37)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + locale[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.locale), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + locale[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + locale[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + } + _ORBIT_tmpvar_39 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + schema_value.short_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_39)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_39), + sizeof(_ORBIT_tmpvar_39)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_39)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + short_desc[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.short_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + short_desc[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + short_desc[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + } + _ORBIT_tmpvar_41 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + schema_value.long_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_41)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_41), + sizeof(_ORBIT_tmpvar_41)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_41)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + long_desc[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.long_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + long_desc[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + long_desc[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + } + _ORBIT_tmpvar_43 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + schema_value.owner) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_43)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_43), + sizeof(_ORBIT_tmpvar_43)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_43)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + owner[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.owner), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + owner[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + owner[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + } + _ORBIT_tmpvar_45 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_45)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_45), + sizeof(_ORBIT_tmpvar_45)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_45)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.encoded_default_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45); + } + break; + default: + break; + } + } + + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*is_defaults)._length)); + memcpy(_ORBIT_t, &((*is_defaults)._length), + sizeof((*is_defaults)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_defaults)._length)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*is_defaults)._buffer[_ORBIT_tmpvar_46]) * + (*is_defaults)._length); + memcpy(_ORBIT_t, ((*is_defaults)._buffer), + sizeof((*is_defaults)._buffer[_ORBIT_tmpvar_46]) * + (*is_defaults)._length); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_defaults). + _buffer + [_ORBIT_tmpvar_46]) * + (*is_defaults)._length); + } + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*is_writables)._length)); + memcpy(_ORBIT_t, &((*is_writables)._length), + sizeof((*is_writables)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_writables). + _length)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*is_writables)._buffer[_ORBIT_tmpvar_47]) * + (*is_writables)._length); + memcpy(_ORBIT_t, ((*is_writables)._buffer), + sizeof((*is_writables)._buffer[_ORBIT_tmpvar_47]) * + (*is_writables)._length); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_writables). + _buffer + [_ORBIT_tmpvar_47]) * + (*is_writables)._length); + } + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(keys); + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(values); + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(is_defaults); + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(is_writables); + } +} +void +_ORBIT_skel_ConfigDatabase_all_dirs(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_all_dirs) + (PortableServer_Servant _servant, + const CORBA_char * dir, + ConfigDatabase_KeyList ** subdirs, + CORBA_Environment * ev)) +{ + CORBA_char *dir; + ConfigDatabase_KeyList *subdirs; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_8; + CORBA_unsigned_long _ORBIT_tmpvar_9; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_9))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + dir = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(dir[_ORBIT_tmpvar_8]) * _ORBIT_tmpvar_9; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_9 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + dir = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(dir[_ORBIT_tmpvar_8]) * _ORBIT_tmpvar_9; + } + } + _impl_all_dirs(_ORBIT_servant, dir, &(subdirs), ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + register CORBA_unsigned_long _ORBIT_tmpvar_2; + register CORBA_unsigned_long _ORBIT_tmpvar_3; + CORBA_unsigned_long _ORBIT_tmpvar_4; + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*subdirs)._length)); + memcpy(_ORBIT_t, &((*subdirs)._length), + sizeof((*subdirs)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*subdirs)._length)); + } + for (_ORBIT_tmpvar_2 = 0; _ORBIT_tmpvar_2 < (*subdirs)._length; + _ORBIT_tmpvar_2++) { + _ORBIT_tmpvar_4 = + strlen((*subdirs)._buffer[_ORBIT_tmpvar_2]) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_4)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_4), + sizeof(_ORBIT_tmpvar_4)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_4)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*subdirs). + _buffer[_ORBIT_tmpvar_2][_ORBIT_tmpvar_3]) * + _ORBIT_tmpvar_4); + memcpy(_ORBIT_t, ((*subdirs)._buffer[_ORBIT_tmpvar_2]), + sizeof((*subdirs). + _buffer[_ORBIT_tmpvar_2][_ORBIT_tmpvar_3]) * + _ORBIT_tmpvar_4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*subdirs). + _buffer + [_ORBIT_tmpvar_2] + [_ORBIT_tmpvar_3]) * + _ORBIT_tmpvar_4); + } + } + + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(subdirs); + } +} +void +_ORBIT_skel_ConfigDatabase_set_schema(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_set_schema) + (PortableServer_Servant _servant, + const CORBA_char * key, + const CORBA_char * schema_key, + CORBA_Environment * ev)) +{ + CORBA_char *key; + CORBA_char *schema_key; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_4; + CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_5))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_4]) * _ORBIT_tmpvar_5; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_7))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + schema_key = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(schema_key[_ORBIT_tmpvar_6]) * _ORBIT_tmpvar_7; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_5 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_4]) * _ORBIT_tmpvar_5; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_7 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + schema_key = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(schema_key[_ORBIT_tmpvar_6]) * _ORBIT_tmpvar_7; + } + } + _impl_set_schema(_ORBIT_servant, key, schema_key, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigDatabase_sync(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_sync) (PortableServer_Servant + _servant, + CORBA_Environment * ev)) +{ + _impl_sync(_ORBIT_servant, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigDatabase_clear_cache(POA_ConfigDatabase * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_clear_cache) + (PortableServer_Servant _servant, + CORBA_Environment * ev)) +{ + _impl_clear_cache(_ORBIT_servant, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigDatabase_synchronous_sync(POA_ConfigDatabase * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_synchronous_sync) + (PortableServer_Servant _servant, + CORBA_Environment * ev)) +{ + _impl_synchronous_sync(_ORBIT_servant, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigDatabase2_lookup_with_schema_name(POA_ConfigDatabase2 * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + ConfigValue * + (*_impl_lookup_with_schema_name) + (PortableServer_Servant + _servant, + const CORBA_char * key, + const CORBA_char * + locale, + const CORBA_boolean + use_schema_default, + CORBA_char ** + schema_name, + CORBA_boolean * + value_is_default, + CORBA_boolean * + value_is_writable, + CORBA_Environment * ev)) +{ + ConfigValue *_ORBIT_retval; + CORBA_char *key; + CORBA_char *locale; + CORBA_boolean use_schema_default; + CORBA_char *schema_name; + CORBA_boolean value_is_default; + CORBA_boolean value_is_writable; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_84; + CORBA_unsigned_long _ORBIT_tmpvar_85; + register CORBA_unsigned_long _ORBIT_tmpvar_86; + CORBA_unsigned_long _ORBIT_tmpvar_87; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_85))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_84]) * _ORBIT_tmpvar_85; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_87))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_86]) * _ORBIT_tmpvar_87; + use_schema_default = *((CORBA_boolean *) _ORBIT_curptr); + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_85 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + key = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(key[_ORBIT_tmpvar_84]) * _ORBIT_tmpvar_85; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_87 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(locale[_ORBIT_tmpvar_86]) * _ORBIT_tmpvar_87; + use_schema_default = *((CORBA_boolean *) _ORBIT_curptr); + } + } + _ORBIT_retval = + _impl_lookup_with_schema_name(_ORBIT_servant, key, locale, + use_schema_default, &(schema_name), + &(value_is_default), &(value_is_writable), + ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + register CORBA_unsigned_long _ORBIT_tmpvar_4; + CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + register CORBA_unsigned_long _ORBIT_tmpvar_8; + CORBA_unsigned_long _ORBIT_tmpvar_9; + register CORBA_unsigned_long _ORBIT_tmpvar_10; + CORBA_unsigned_long _ORBIT_tmpvar_11; + register CORBA_unsigned_long _ORBIT_tmpvar_12; + CORBA_unsigned_long _ORBIT_tmpvar_13; + register CORBA_unsigned_long _ORBIT_tmpvar_14; + CORBA_unsigned_long _ORBIT_tmpvar_15; + register CORBA_unsigned_long _ORBIT_tmpvar_16; + register CORBA_unsigned_long _ORBIT_tmpvar_17; + CORBA_unsigned_long _ORBIT_tmpvar_18; + register CORBA_unsigned_long _ORBIT_tmpvar_19; + CORBA_unsigned_long _ORBIT_tmpvar_20; + register CORBA_unsigned_long _ORBIT_tmpvar_21; + CORBA_unsigned_long _ORBIT_tmpvar_22; + register CORBA_unsigned_long _ORBIT_tmpvar_23; + CORBA_unsigned_long _ORBIT_tmpvar_24; + register CORBA_unsigned_long _ORBIT_tmpvar_25; + CORBA_unsigned_long _ORBIT_tmpvar_26; + register CORBA_unsigned_long _ORBIT_tmpvar_27; + CORBA_unsigned_long _ORBIT_tmpvar_28; + register CORBA_unsigned_long _ORBIT_tmpvar_29; + register CORBA_unsigned_long _ORBIT_tmpvar_30; + CORBA_unsigned_long _ORBIT_tmpvar_31; + register CORBA_unsigned_long _ORBIT_tmpvar_32; + CORBA_unsigned_long _ORBIT_tmpvar_33; + register CORBA_unsigned_long _ORBIT_tmpvar_34; + CORBA_unsigned_long _ORBIT_tmpvar_35; + register CORBA_unsigned_long _ORBIT_tmpvar_36; + CORBA_unsigned_long _ORBIT_tmpvar_37; + register CORBA_unsigned_long _ORBIT_tmpvar_38; + CORBA_unsigned_long _ORBIT_tmpvar_39; + register CORBA_unsigned_long _ORBIT_tmpvar_40; + CORBA_unsigned_long _ORBIT_tmpvar_41; + register CORBA_unsigned_long _ORBIT_tmpvar_42; + CORBA_unsigned_long _ORBIT_tmpvar_43; + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._d), + sizeof((*_ORBIT_retval)._d)); + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u.dummy), + sizeof((*_ORBIT_retval)._u. + dummy)); + break; + case IntVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + int_value), + sizeof((*_ORBIT_retval)._u. + int_value)); + break; + case StringVal: + _ORBIT_tmpvar_5 = + strlen((*_ORBIT_retval)._u.string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_5)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_5), + sizeof(_ORBIT_tmpvar_5)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_5)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + string_value), + sizeof((*_ORBIT_retval)._u. + string_value + [_ORBIT_tmpvar_4]) * + _ORBIT_tmpvar_5); + break; + case FloatVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + float_value), + sizeof((*_ORBIT_retval)._u. + float_value)); + break; + case BoolVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + bool_value), + sizeof((*_ORBIT_retval)._u. + bool_value)); + break; + case SchemaVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_list_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_car_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + schema_value. + value_cdr_type), + sizeof((*_ORBIT_retval)._u. + schema_value. + value_cdr_type)); + _ORBIT_tmpvar_7 = + strlen((*_ORBIT_retval)._u.schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_7)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_7), + sizeof(_ORBIT_tmpvar_7)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_7)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.locale), + sizeof((*_ORBIT_retval)._u. + schema_value. + locale + [_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7); + _ORBIT_tmpvar_9 = + strlen((*_ORBIT_retval)._u.schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_9)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_9), + sizeof(_ORBIT_tmpvar_9)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_9)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.short_desc), + sizeof((*_ORBIT_retval)._u. + schema_value. + short_desc + [_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + _ORBIT_tmpvar_11 = + strlen((*_ORBIT_retval)._u.schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_11)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_11), + sizeof(_ORBIT_tmpvar_11)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_11)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.long_desc), + sizeof((*_ORBIT_retval)._u. + schema_value. + long_desc + [_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + _ORBIT_tmpvar_13 = + strlen((*_ORBIT_retval)._u.schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_13)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_13), + sizeof(_ORBIT_tmpvar_13)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_13)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value.owner), + sizeof((*_ORBIT_retval)._u. + schema_value. + owner + [_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + _ORBIT_tmpvar_15 = + strlen((*_ORBIT_retval)._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_15)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_15), + sizeof(_ORBIT_tmpvar_15)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_15)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*_ORBIT_retval)._u. + schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + break; + case ListVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq._length)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq._length), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u. + list_value.seq. + _length)); + } + for (_ORBIT_tmpvar_16 = 0; + _ORBIT_tmpvar_16 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_16++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval). + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_16]. + _d)); + } + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.dummy)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.dummy), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + int_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.int_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_18 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_18)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_18), + sizeof(_ORBIT_tmpvar_18)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_18)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + string_value[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.string_value[_ORBIT_tmpvar_17]) * _ORBIT_tmpvar_18); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + float_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + float_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.bool_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_list_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_car_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_cdr_type), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_20 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_20)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_20), + sizeof(_ORBIT_tmpvar_20)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_20)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + locale[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + locale), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + locale[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.locale[_ORBIT_tmpvar_19]) * _ORBIT_tmpvar_20); + } + _ORBIT_tmpvar_22 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_22)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_22), + sizeof(_ORBIT_tmpvar_22)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_22)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + short_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + short_desc), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + short_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.short_desc[_ORBIT_tmpvar_21]) * _ORBIT_tmpvar_22); + } + _ORBIT_tmpvar_24 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_24)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_24), + sizeof(_ORBIT_tmpvar_24)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_24)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + long_desc[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + long_desc), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + long_desc[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.long_desc[_ORBIT_tmpvar_23]) * _ORBIT_tmpvar_24); + } + _ORBIT_tmpvar_26 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_26)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_26), + sizeof(_ORBIT_tmpvar_26)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_26)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value.owner[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + owner), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + owner[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.owner[_ORBIT_tmpvar_25]) * _ORBIT_tmpvar_26); + } + _ORBIT_tmpvar_28 = + strlen((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_28)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_28), + sizeof(_ORBIT_tmpvar_28)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_28)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u.schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_16]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_16]._u.schema_value.encoded_default_value[_ORBIT_tmpvar_27]) * _ORBIT_tmpvar_28); + } + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*_ORBIT_retval)._u. + list_value.list_type), + sizeof((*_ORBIT_retval)._u. + list_value.list_type)); + break; + case PairVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*_ORBIT_retval)._u.pair_value._length)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value._length), + sizeof((*_ORBIT_retval)._u.pair_value._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u. + pair_value. + _length)); + } + for (_ORBIT_tmpvar_29 = 0; + _ORBIT_tmpvar_29 < + (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_29++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval). + _u.pair_value. + _buffer + [_ORBIT_tmpvar_29]. + _d)); + } + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.dummy)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.dummy), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + int_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.int_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_31 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_31)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_31), + sizeof(_ORBIT_tmpvar_31)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_31)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + string_value[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.string_value[_ORBIT_tmpvar_30]) * _ORBIT_tmpvar_31); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + float_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + float_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.bool_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_list_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_car_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_cdr_type), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_33 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_33)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_33), + sizeof(_ORBIT_tmpvar_33)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_33)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + locale[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + locale), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + locale[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.locale[_ORBIT_tmpvar_32]) * _ORBIT_tmpvar_33); + } + _ORBIT_tmpvar_35 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_35)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_35), + sizeof(_ORBIT_tmpvar_35)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_35)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + short_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + short_desc), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + short_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.short_desc[_ORBIT_tmpvar_34]) * _ORBIT_tmpvar_35); + } + _ORBIT_tmpvar_37 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_37)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_37), + sizeof(_ORBIT_tmpvar_37)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_37)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + long_desc[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + long_desc), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + long_desc[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.long_desc[_ORBIT_tmpvar_36]) * _ORBIT_tmpvar_37); + } + _ORBIT_tmpvar_39 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_39)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_39), + sizeof(_ORBIT_tmpvar_39)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_39)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value.owner[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + owner), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + owner[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.owner[_ORBIT_tmpvar_38]) * _ORBIT_tmpvar_39); + } + _ORBIT_tmpvar_41 = + strlen((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_41)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_41), + sizeof(_ORBIT_tmpvar_41)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_41)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + memcpy(_ORBIT_t, + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u.schema_value. + encoded_default_value), + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_29]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_29]._u.schema_value.encoded_default_value[_ORBIT_tmpvar_40]) * _ORBIT_tmpvar_41); + } + break; + default: + break; + } + } + + break; + default: + break; + } + _ORBIT_tmpvar_43 = strlen(schema_name) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_43)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_43), + sizeof(_ORBIT_tmpvar_43)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_43)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (schema_name), + sizeof(schema_name + [_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &(value_is_default), + sizeof(value_is_default)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &(value_is_writable), + sizeof(value_is_writable)); + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(_ORBIT_retval); + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(schema_name); + } +} +void +_ORBIT_skel_ConfigDatabase2_all_entries_with_schema_name(POA_ConfigDatabase2 * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * + ev, + void + (*_impl_all_entries_with_schema_name) + (PortableServer_Servant + _servant, + const CORBA_char * + dir, + const CORBA_char * + locale, + ConfigDatabase_KeyList + ** keys, + ConfigDatabase_ValueList + ** values, + ConfigDatabase2_SchemaNameList + ** schema_names, + ConfigDatabase_IsDefaultList + ** is_defaults, + ConfigDatabase_IsWritableList + ** is_writables, + CORBA_Environment * + ev)) +{ + CORBA_char *dir; + CORBA_char *locale; + ConfigDatabase_KeyList *keys; + ConfigDatabase_ValueList *values; + ConfigDatabase2_SchemaNameList *schema_names; + ConfigDatabase_IsDefaultList *is_defaults; + ConfigDatabase_IsWritableList *is_writables; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_98; + CORBA_unsigned_long _ORBIT_tmpvar_99; + register CORBA_unsigned_long _ORBIT_tmpvar_100; + CORBA_unsigned_long _ORBIT_tmpvar_101; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_99))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + dir = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(dir[_ORBIT_tmpvar_98]) * _ORBIT_tmpvar_99; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_101))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(locale[_ORBIT_tmpvar_100]) * _ORBIT_tmpvar_101; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_99 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + dir = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(dir[_ORBIT_tmpvar_98]) * _ORBIT_tmpvar_99; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_101 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + locale = (void *) _ORBIT_curptr; + _ORBIT_curptr += + sizeof(locale[_ORBIT_tmpvar_100]) * _ORBIT_tmpvar_101; + } + } + _impl_all_entries_with_schema_name(_ORBIT_servant, dir, locale, &(keys), + &(values), &(schema_names), + &(is_defaults), &(is_writables), ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + register CORBA_unsigned_long _ORBIT_tmpvar_4; + register CORBA_unsigned_long _ORBIT_tmpvar_5; + CORBA_unsigned_long _ORBIT_tmpvar_6; + register CORBA_unsigned_long _ORBIT_tmpvar_7; + register CORBA_unsigned_long _ORBIT_tmpvar_8; + CORBA_unsigned_long _ORBIT_tmpvar_9; + register CORBA_unsigned_long _ORBIT_tmpvar_10; + CORBA_unsigned_long _ORBIT_tmpvar_11; + register CORBA_unsigned_long _ORBIT_tmpvar_12; + CORBA_unsigned_long _ORBIT_tmpvar_13; + register CORBA_unsigned_long _ORBIT_tmpvar_14; + CORBA_unsigned_long _ORBIT_tmpvar_15; + register CORBA_unsigned_long _ORBIT_tmpvar_16; + CORBA_unsigned_long _ORBIT_tmpvar_17; + register CORBA_unsigned_long _ORBIT_tmpvar_18; + CORBA_unsigned_long _ORBIT_tmpvar_19; + register CORBA_unsigned_long _ORBIT_tmpvar_20; + register CORBA_unsigned_long _ORBIT_tmpvar_21; + CORBA_unsigned_long _ORBIT_tmpvar_22; + register CORBA_unsigned_long _ORBIT_tmpvar_23; + CORBA_unsigned_long _ORBIT_tmpvar_24; + register CORBA_unsigned_long _ORBIT_tmpvar_25; + CORBA_unsigned_long _ORBIT_tmpvar_26; + register CORBA_unsigned_long _ORBIT_tmpvar_27; + CORBA_unsigned_long _ORBIT_tmpvar_28; + register CORBA_unsigned_long _ORBIT_tmpvar_29; + CORBA_unsigned_long _ORBIT_tmpvar_30; + register CORBA_unsigned_long _ORBIT_tmpvar_31; + CORBA_unsigned_long _ORBIT_tmpvar_32; + register CORBA_unsigned_long _ORBIT_tmpvar_33; + register CORBA_unsigned_long _ORBIT_tmpvar_34; + CORBA_unsigned_long _ORBIT_tmpvar_35; + register CORBA_unsigned_long _ORBIT_tmpvar_36; + CORBA_unsigned_long _ORBIT_tmpvar_37; + register CORBA_unsigned_long _ORBIT_tmpvar_38; + CORBA_unsigned_long _ORBIT_tmpvar_39; + register CORBA_unsigned_long _ORBIT_tmpvar_40; + CORBA_unsigned_long _ORBIT_tmpvar_41; + register CORBA_unsigned_long _ORBIT_tmpvar_42; + CORBA_unsigned_long _ORBIT_tmpvar_43; + register CORBA_unsigned_long _ORBIT_tmpvar_44; + CORBA_unsigned_long _ORBIT_tmpvar_45; + register CORBA_unsigned_long _ORBIT_tmpvar_46; + register CORBA_unsigned_long _ORBIT_tmpvar_47; + CORBA_unsigned_long _ORBIT_tmpvar_48; + register CORBA_unsigned_long _ORBIT_tmpvar_49; + register CORBA_unsigned_long _ORBIT_tmpvar_50; + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*keys)._length)); + memcpy(_ORBIT_t, &((*keys)._length), sizeof((*keys)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*keys)._length)); + } + for (_ORBIT_tmpvar_4 = 0; _ORBIT_tmpvar_4 < (*keys)._length; + _ORBIT_tmpvar_4++) { + _ORBIT_tmpvar_6 = strlen((*keys)._buffer[_ORBIT_tmpvar_4]) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_6)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_6), + sizeof(_ORBIT_tmpvar_6)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_6)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*keys). + _buffer[_ORBIT_tmpvar_4][_ORBIT_tmpvar_5]) * + _ORBIT_tmpvar_6); + memcpy(_ORBIT_t, ((*keys)._buffer[_ORBIT_tmpvar_4]), + sizeof((*keys). + _buffer[_ORBIT_tmpvar_4][_ORBIT_tmpvar_5]) * + _ORBIT_tmpvar_6); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*keys). + _buffer + [_ORBIT_tmpvar_4] + [_ORBIT_tmpvar_5]) * + _ORBIT_tmpvar_6); + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*values)._length)); + memcpy(_ORBIT_t, &((*values)._length), + sizeof((*values)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._length)); + } + for (_ORBIT_tmpvar_7 = 0; _ORBIT_tmpvar_7 < (*values)._length; + _ORBIT_tmpvar_7++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*values)._buffer[_ORBIT_tmpvar_7]._d)); + memcpy(_ORBIT_t, &((*values)._buffer[_ORBIT_tmpvar_7]._d), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_7]._d) { + case InvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u.dummy), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.dummy)); + } + break; + case IntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + int_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.int_value)); + } + break; + case StringVal: + _ORBIT_tmpvar_9 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_9)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_9), + sizeof(_ORBIT_tmpvar_9)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_9)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + string_value[_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + string_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + string_value[_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u. + string_value + [_ORBIT_tmpvar_8]) + * _ORBIT_tmpvar_9); + } + break; + case FloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + float_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.float_value)); + } + break; + case BoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + bool_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.bool_value)); + } + break; + case SchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_list_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_car_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_cdr_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + value_cdr_type)); + } + _ORBIT_tmpvar_11 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_11)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_11), + sizeof(_ORBIT_tmpvar_11)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_11)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.locale[_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.locale), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.locale[_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + locale + [_ORBIT_tmpvar_10]) + * _ORBIT_tmpvar_11); + } + _ORBIT_tmpvar_13 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_13)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_13), + sizeof(_ORBIT_tmpvar_13)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_13)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.short_desc[_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.short_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value. + short_desc[_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + short_desc + [_ORBIT_tmpvar_12]) + * _ORBIT_tmpvar_13); + } + _ORBIT_tmpvar_15 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_15)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_15), + sizeof(_ORBIT_tmpvar_15)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_15)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.long_desc[_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.long_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value. + long_desc[_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + long_desc + [_ORBIT_tmpvar_14]) + * _ORBIT_tmpvar_15); + } + _ORBIT_tmpvar_17 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_17)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_17), + sizeof(_ORBIT_tmpvar_17)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_17)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.owner[_ORBIT_tmpvar_16]) * + _ORBIT_tmpvar_17); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.owner), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.owner[_ORBIT_tmpvar_16]) * + _ORBIT_tmpvar_17); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + owner + [_ORBIT_tmpvar_16]) + * _ORBIT_tmpvar_17); + } + _ORBIT_tmpvar_19 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_19)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_19), + sizeof(_ORBIT_tmpvar_19)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_19)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_18]) * + _ORBIT_tmpvar_19); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value.encoded_default_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_18]) + * _ORBIT_tmpvar_19); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.schema_value. + encoded_default_value + [_ORBIT_tmpvar_18]) + * _ORBIT_tmpvar_19); + } + break; + case ListVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._length)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._length), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.list_value. + seq._length)); + } + for (_ORBIT_tmpvar_20 = 0; + _ORBIT_tmpvar_20 < + (*values)._buffer[_ORBIT_tmpvar_7]._u.list_value.seq. + _length; _ORBIT_tmpvar_20++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._buffer[_ORBIT_tmpvar_20]. + _d)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._buffer[_ORBIT_tmpvar_20]. + _d), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_20]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq._buffer[_ORBIT_tmpvar_20]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u.dummy), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + dummy)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + int_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + int_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_22 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_22)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_22), + sizeof(_ORBIT_tmpvar_22)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_22)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + string_value[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + string_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + string_value[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + string_value[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + float_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + float_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + bool_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + bool_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_list_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_car_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_cdr_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_24 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_24)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_24), + sizeof(_ORBIT_tmpvar_24)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_24)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + locale[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.locale), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + locale[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + locale[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + } + _ORBIT_tmpvar_26 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.short_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_26)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_26), + sizeof(_ORBIT_tmpvar_26)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_26)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + short_desc[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.short_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + short_desc[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + short_desc[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + } + _ORBIT_tmpvar_28 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.long_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_28)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_28), + sizeof(_ORBIT_tmpvar_28)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_28)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + long_desc[_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.long_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + long_desc[_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + long_desc[_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + } + _ORBIT_tmpvar_30 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.owner) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_30)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_30), + sizeof(_ORBIT_tmpvar_30)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_30)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + owner[_ORBIT_tmpvar_29]) * + _ORBIT_tmpvar_30); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.owner), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + owner[_ORBIT_tmpvar_29]) * + _ORBIT_tmpvar_30); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + owner[_ORBIT_tmpvar_29]) * + _ORBIT_tmpvar_30); + } + _ORBIT_tmpvar_32 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_32)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_32), + sizeof(_ORBIT_tmpvar_32)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_32)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_31]) * + _ORBIT_tmpvar_32); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value.encoded_default_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_31]) * + _ORBIT_tmpvar_32); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_20]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_31]) * + _ORBIT_tmpvar_32); + } + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.list_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + list_value.list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.list_value. + list_type)); + } + break; + case PairVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._length)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._length), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.pair_value. + _length)); + } + for (_ORBIT_tmpvar_33 = 0; + _ORBIT_tmpvar_33 < + (*values)._buffer[_ORBIT_tmpvar_7]._u.pair_value. + _length; _ORBIT_tmpvar_33++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _d)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._d), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_33]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.dummy), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + dummy)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.int_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + int_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_35 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_35)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_35), + sizeof(_ORBIT_tmpvar_35)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_35)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + string_value[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.string_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + string_value[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + string_value[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.float_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + float_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.bool_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + bool_value)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.value_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.value_list_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.value_car_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.value_cdr_type), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value.value_cdr_type)); + } + _ORBIT_tmpvar_37 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_37)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_37), + sizeof(_ORBIT_tmpvar_37)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_37)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + locale[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.locale), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + locale[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + locale[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + } + _ORBIT_tmpvar_39 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + schema_value.short_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_39)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_39), + sizeof(_ORBIT_tmpvar_39)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_39)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + short_desc[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.short_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + short_desc[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + short_desc[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + } + _ORBIT_tmpvar_41 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + schema_value.long_desc) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_41)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_41), + sizeof(_ORBIT_tmpvar_41)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_41)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + long_desc[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.long_desc), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + long_desc[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + long_desc[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + } + _ORBIT_tmpvar_43 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + schema_value.owner) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_43)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_43), + sizeof(_ORBIT_tmpvar_43)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_43)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + owner[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.owner), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + owner[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + owner[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + } + _ORBIT_tmpvar_45 = + strlen((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]._u. + schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_45)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_45), + sizeof(_ORBIT_tmpvar_45)); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), sizeof(_ORBIT_tmpvar_45)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_7]._u. + pair_value._buffer[_ORBIT_tmpvar_33]. + _u.schema_value.encoded_default_value), + sizeof((*values). + _buffer[_ORBIT_tmpvar_7]._u. + pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45); + giop_message_buffer_append_mem + (GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values)._buffer[_ORBIT_tmpvar_7]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_33]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45); + } + break; + default: + break; + } + } + + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*schema_names)._length)); + memcpy(_ORBIT_t, &((*schema_names)._length), + sizeof((*schema_names)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*schema_names). + _length)); + } + for (_ORBIT_tmpvar_46 = 0; + _ORBIT_tmpvar_46 < (*schema_names)._length; + _ORBIT_tmpvar_46++) { + _ORBIT_tmpvar_48 = + strlen((*schema_names)._buffer[_ORBIT_tmpvar_46]) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_48)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_48), + sizeof(_ORBIT_tmpvar_48)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_48)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*schema_names). + _buffer[_ORBIT_tmpvar_46][_ORBIT_tmpvar_47]) * + _ORBIT_tmpvar_48); + memcpy(_ORBIT_t, + ((*schema_names)._buffer[_ORBIT_tmpvar_46]), + sizeof((*schema_names). + _buffer[_ORBIT_tmpvar_46][_ORBIT_tmpvar_47]) * + _ORBIT_tmpvar_48); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*schema_names). + _buffer + [_ORBIT_tmpvar_46] + [_ORBIT_tmpvar_47]) * + _ORBIT_tmpvar_48); + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*is_defaults)._length)); + memcpy(_ORBIT_t, &((*is_defaults)._length), + sizeof((*is_defaults)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_defaults)._length)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*is_defaults)._buffer[_ORBIT_tmpvar_49]) * + (*is_defaults)._length); + memcpy(_ORBIT_t, ((*is_defaults)._buffer), + sizeof((*is_defaults)._buffer[_ORBIT_tmpvar_49]) * + (*is_defaults)._length); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_defaults). + _buffer + [_ORBIT_tmpvar_49]) * + (*is_defaults)._length); + } + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*is_writables)._length)); + memcpy(_ORBIT_t, &((*is_writables)._length), + sizeof((*is_writables)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_writables). + _length)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof((*is_writables)._buffer[_ORBIT_tmpvar_50]) * + (*is_writables)._length); + memcpy(_ORBIT_t, ((*is_writables)._buffer), + sizeof((*is_writables)._buffer[_ORBIT_tmpvar_50]) * + (*is_writables)._length); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*is_writables). + _buffer + [_ORBIT_tmpvar_50]) * + (*is_writables)._length); + } + } else if (ev->_major == CORBA_USER_EXCEPTION) { + static const ORBit_exception_marshal_info _ORBIT_user_exceptions[] + = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_marshal}, + {CORBA_OBJECT_NIL, NULL} }; + ORBit_send_user_exception(_ORBIT_send_buffer, ev, + _ORBIT_user_exceptions); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(keys); + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(values); + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(schema_names); + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(is_defaults); + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_free(is_writables); + } +} +void +_ORBIT_skel_ConfigServer_get_default_database(POA_ConfigServer * + _ORBIT_servant, + GIOPRecvBuffer * + _ORBIT_recv_buffer, + CORBA_Environment * ev, + ConfigDatabase + (*_impl_get_default_database) + (PortableServer_Servant + _servant, + CORBA_Environment * ev)) +{ + ConfigDatabase _ORBIT_retval; + + _ORBIT_retval = _impl_get_default_database(_ORBIT_servant, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + ORBit_marshal_object(_ORBIT_send_buffer, _ORBIT_retval); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_Object_release(_ORBIT_retval, ev); + } +} +void +_ORBIT_skel_ConfigServer_get_database(POA_ConfigServer * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + ConfigDatabase(*_impl_get_database) + (PortableServer_Servant _servant, + const CORBA_char * address, + CORBA_Environment * ev)) +{ + ConfigDatabase _ORBIT_retval; + CORBA_char *address; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_3))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + address = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(address[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_3 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + address = (void *) _ORBIT_curptr; + _ORBIT_curptr += sizeof(address[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; + } + } + _ORBIT_retval = _impl_get_database(_ORBIT_servant, address, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + ORBit_marshal_object(_ORBIT_send_buffer, _ORBIT_retval); + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + if (ev->_major == CORBA_NO_EXCEPTION) + CORBA_Object_release(_ORBIT_retval, ev); + } +} +void +_ORBIT_skel_ConfigServer_add_client(POA_ConfigServer * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_add_client) + (PortableServer_Servant _servant, + const ConfigListener client, + CORBA_Environment * ev)) +{ + ConfigListener client; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + client = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + } else { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + client = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + } + } + _impl_add_client(_ORBIT_servant, client, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + CORBA_Object_release((CORBA_Object) client, ev); + } +} +void +_ORBIT_skel_ConfigServer_remove_client(POA_ConfigServer * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_remove_client) + (PortableServer_Servant _servant, + const ConfigListener client, + CORBA_Environment * ev)) +{ + ConfigListener client; + + { /* demarshalling */ + guchar *_ORBIT_curptr; + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + client = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + } else { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + client = + ORBit_demarshal_object(_ORBIT_recv_buffer, + (((ORBit_ObjectKey *) _ORBIT_servant-> + _private)->object->orb)); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + } + } + _impl_remove_client(_ORBIT_servant, client, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + CORBA_Object_release((CORBA_Object) client, ev); + } +} +void +_ORBIT_skel_ConfigServer_ping(POA_ConfigServer * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + CORBA_long(*_impl_ping) (PortableServer_Servant + _servant, + CORBA_Environment * + ev)) +{ + CORBA_long _ORBIT_retval; + + _ORBIT_retval = _impl_ping(_ORBIT_servant, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_retval)); + memcpy(_ORBIT_t, &(_ORBIT_retval), sizeof(_ORBIT_retval)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_retval)); + } + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +void +_ORBIT_skel_ConfigServer_shutdown(POA_ConfigServer * _ORBIT_servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev, + void (*_impl_shutdown) + (PortableServer_Servant _servant, + CORBA_Environment * ev)) +{ + _impl_shutdown(_ORBIT_servant, ev); + { /* marshalling */ + register GIOPSendBuffer *_ORBIT_send_buffer; + + _ORBIT_send_buffer = + giop_send_reply_buffer_use(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection, NULL, + _ORBIT_recv_buffer->message.u.request. + request_id, ev->_major); + if (_ORBIT_send_buffer) { + if (ev->_major == CORBA_NO_EXCEPTION) { + } else + ORBit_send_system_exception(_ORBIT_send_buffer, ev); + giop_send_buffer_write(_ORBIT_send_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + } + } +} +static ORBitSkeleton +get_skel_ConfigListener(POA_ConfigListener * servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, gpointer * impl) +{ + gchar *opname = _ORBIT_recv_buffer->message.u.request.operation; + + switch (opname[0]) { + case 'd': + if (strcmp((opname + 1), "rop_all_caches")) + break; + *impl = (gpointer) servant->vepv->ConfigListener_epv->drop_all_caches; + return (ORBitSkeleton) _ORBIT_skel_ConfigListener_drop_all_caches; + break; + case 'i': + if (strcmp((opname + 1), "nvalidate_cached_values")) + break; + *impl = + (gpointer) servant->vepv->ConfigListener_epv-> + invalidate_cached_values; + return (ORBitSkeleton) + _ORBIT_skel_ConfigListener_invalidate_cached_values; + break; + case 'n': + if (strcmp((opname + 1), "otify")) + break; + *impl = (gpointer) servant->vepv->ConfigListener_epv->notify; + return (ORBitSkeleton) _ORBIT_skel_ConfigListener_notify; + break; + case 'p': + if (strcmp((opname + 1), "ing")) + break; + *impl = (gpointer) servant->vepv->ConfigListener_epv->ping; + return (ORBitSkeleton) _ORBIT_skel_ConfigListener_ping; + break; + case 'u': + if (strcmp((opname + 1), "pdate_listener")) + break; + *impl = (gpointer) servant->vepv->ConfigListener_epv->update_listener; + return (ORBitSkeleton) _ORBIT_skel_ConfigListener_update_listener; + break; + default: + break; + } + return NULL; +} + +static void +init_local_objref_ConfigListener(CORBA_Object obj, + POA_ConfigListener * servant) +{ + obj->vepv[ConfigListener__classid] = servant->vepv->ConfigListener_epv; +} + +void +POA_ConfigListener__init(PortableServer_Servant servant, + CORBA_Environment * env) +{ + static const PortableServer_ClassInfo class_info = + { (ORBit_impl_finder) & get_skel_ConfigListener, +"IDL:ConfigListener:1.0", (ORBit_local_objref_init) & init_local_objref_ConfigListener }; + PortableServer_ServantBase__init(((PortableServer_ServantBase *) servant), + env); + ORBIT_OBJECT_KEY(((PortableServer_ServantBase *) servant)->_private)-> + class_info = (PortableServer_ClassInfo *) & class_info; + if (!ConfigListener__classid) + ConfigListener__classid = ORBit_register_class(&class_info); +} + +void +POA_ConfigListener__fini(PortableServer_Servant servant, + CORBA_Environment * env) +{ + PortableServer_ServantBase__fini(servant, env); +} + +static ORBitSkeleton +get_skel_ConfigDatabase(POA_ConfigDatabase * servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, gpointer * impl) +{ + gchar *opname = _ORBIT_recv_buffer->message.u.request.operation; + + switch (opname[0]) { + case 'a': + switch (opname[1]) { + case 'd': + if (strcmp((opname + 2), "d_listener")) + break; + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv->add_listener; + return (ORBitSkeleton) _ORBIT_skel_ConfigDatabase_add_listener; + break; + case 'l': + switch (opname[2]) { + case 'l': + switch (opname[3]) { + case '_': + switch (opname[4]) { + case 'd': + if (strcmp((opname + 5), "irs")) + break; + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv-> + all_dirs; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_all_dirs; + break; + case 'e': + if (strcmp((opname + 5), "ntries")) + break; + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv-> + all_entries; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_all_entries; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + case 'b': + switch (opname[1]) { + case 'a': + switch (opname[2]) { + case 't': + switch (opname[3]) { + case 'c': + switch (opname[4]) { + case 'h': + switch (opname[5]) { + case '_': + switch (opname[6]) { + case 'c': + if (strcmp((opname + 7), "hange")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->batch_change; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_batch_change; + break; + case 'l': + if (strcmp((opname + 7), "ookup")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->batch_lookup; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_batch_lookup; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + case 'c': + if (strcmp((opname + 1), "lear_cache")) + break; + *impl = (gpointer) servant->vepv->ConfigDatabase_epv->clear_cache; + return (ORBitSkeleton) _ORBIT_skel_ConfigDatabase_clear_cache; + break; + case 'd': + if (strcmp((opname + 1), "ir_exists")) + break; + *impl = (gpointer) servant->vepv->ConfigDatabase_epv->dir_exists; + return (ORBitSkeleton) _ORBIT_skel_ConfigDatabase_dir_exists; + break; + case 'l': + switch (opname[1]) { + case 'o': + switch (opname[2]) { + case 'o': + switch (opname[3]) { + case 'k': + switch (opname[4]) { + case 'u': + switch (opname[5]) { + case 'p': + switch (opname[6]) { + case '\0': + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->lookup; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_lookup; + break; + case '_': + switch (opname[7]) { + case 'd': + if (strcmp + ((opname + 8), "efault_value")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv-> + lookup_default_value; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_lookup_default_value; + break; + case 'w': + if (strcmp + ((opname + 8), "ith_locale")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv-> + lookup_with_locale; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_lookup_with_locale; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + case 'r': + switch (opname[1]) { + case 'e': + switch (opname[2]) { + case 'm': + switch (opname[3]) { + case 'o': + switch (opname[4]) { + case 'v': + switch (opname[5]) { + case 'e': + switch (opname[6]) { + case '_': + switch (opname[7]) { + case 'd': + if (strcmp((opname + 8), "ir")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->remove_dir; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_remove_dir; + break; + case 'l': + if (strcmp + ((opname + 8), "istener")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv-> + remove_listener; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_remove_listener; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + case 's': + switch (opname[1]) { + case 'e': + switch (opname[2]) { + case 't': + switch (opname[3]) { + case '\0': + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv->set; + return (ORBitSkeleton) _ORBIT_skel_ConfigDatabase_set; + break; + case '_': + if (strcmp((opname + 4), "schema")) + break; + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv-> + set_schema; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_set_schema; + break; + default: + break; + } + break; + default: + break; + } + break; + case 'y': + switch (opname[2]) { + case 'n': + switch (opname[3]) { + case 'c': + switch (opname[4]) { + case '\0': + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv-> + sync; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_sync; + break; + case 'h': + if (strcmp((opname + 5), "ronous_sync")) + break; + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv-> + synchronous_sync; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_synchronous_sync; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + case 'u': + switch (opname[1]) { + case 'n': + switch (opname[2]) { + case 's': + switch (opname[3]) { + case 'e': + switch (opname[4]) { + case 't': + switch (opname[5]) { + case '\0': + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->unset; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_unset; + break; + case '_': + if (strcmp((opname + 6), "with_locale")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->unset_with_locale; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_unset_with_locale; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + return NULL; +} + +static void +init_local_objref_ConfigDatabase(CORBA_Object obj, + POA_ConfigDatabase * servant) +{ + obj->vepv[ConfigDatabase__classid] = servant->vepv->ConfigDatabase_epv; +} + +void +POA_ConfigDatabase__init(PortableServer_Servant servant, + CORBA_Environment * env) +{ + static const PortableServer_ClassInfo class_info = + { (ORBit_impl_finder) & get_skel_ConfigDatabase, +"IDL:ConfigDatabase:1.0", (ORBit_local_objref_init) & init_local_objref_ConfigDatabase }; + PortableServer_ServantBase__init(((PortableServer_ServantBase *) servant), + env); + ORBIT_OBJECT_KEY(((PortableServer_ServantBase *) servant)->_private)-> + class_info = (PortableServer_ClassInfo *) & class_info; + if (!ConfigDatabase__classid) + ConfigDatabase__classid = ORBit_register_class(&class_info); +} + +void +POA_ConfigDatabase__fini(PortableServer_Servant servant, + CORBA_Environment * env) +{ + PortableServer_ServantBase__fini(servant, env); +} + +static ORBitSkeleton +get_skel_ConfigDatabase2(POA_ConfigDatabase2 * servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, gpointer * impl) +{ + gchar *opname = _ORBIT_recv_buffer->message.u.request.operation; + + switch (opname[0]) { + case 'a': + switch (opname[1]) { + case 'd': + if (strcmp((opname + 2), "d_listener")) + break; + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv->add_listener; + return (ORBitSkeleton) _ORBIT_skel_ConfigDatabase_add_listener; + break; + case 'l': + switch (opname[2]) { + case 'l': + switch (opname[3]) { + case '_': + switch (opname[4]) { + case 'd': + if (strcmp((opname + 5), "irs")) + break; + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv-> + all_dirs; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_all_dirs; + break; + case 'e': + switch (opname[5]) { + case 'n': + switch (opname[6]) { + case 't': + switch (opname[7]) { + case 'r': + switch (opname[8]) { + case 'i': + switch (opname[9]) { + case 'e': + switch (opname[10]) { + case 's': + switch (opname[11]) { + case '\0': + *impl = + (gpointer) + servant-> + vepv-> + ConfigDatabase_epv-> + all_entries; + return + (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_all_entries; + break; + case '_': + if (strcmp + ((opname + + 12), + "with_schema_name")) + break; + *impl = + (gpointer) + servant-> + vepv-> + ConfigDatabase2_epv-> + all_entries_with_schema_name; + return + (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase2_all_entries_with_schema_name; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + case 'b': + switch (opname[1]) { + case 'a': + switch (opname[2]) { + case 't': + switch (opname[3]) { + case 'c': + switch (opname[4]) { + case 'h': + switch (opname[5]) { + case '_': + switch (opname[6]) { + case 'c': + if (strcmp((opname + 7), "hange")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->batch_change; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_batch_change; + break; + case 'l': + if (strcmp((opname + 7), "ookup")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->batch_lookup; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_batch_lookup; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + case 'c': + if (strcmp((opname + 1), "lear_cache")) + break; + *impl = (gpointer) servant->vepv->ConfigDatabase_epv->clear_cache; + return (ORBitSkeleton) _ORBIT_skel_ConfigDatabase_clear_cache; + break; + case 'd': + if (strcmp((opname + 1), "ir_exists")) + break; + *impl = (gpointer) servant->vepv->ConfigDatabase_epv->dir_exists; + return (ORBitSkeleton) _ORBIT_skel_ConfigDatabase_dir_exists; + break; + case 'l': + switch (opname[1]) { + case 'o': + switch (opname[2]) { + case 'o': + switch (opname[3]) { + case 'k': + switch (opname[4]) { + case 'u': + switch (opname[5]) { + case 'p': + switch (opname[6]) { + case '\0': + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->lookup; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_lookup; + break; + case '_': + switch (opname[7]) { + case 'd': + if (strcmp + ((opname + 8), "efault_value")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv-> + lookup_default_value; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_lookup_default_value; + break; + case 'w': + switch (opname[8]) { + case 'i': + switch (opname[9]) { + case 't': + switch (opname[10]) { + case 'h': + switch (opname[11]) { + case '_': + switch (opname + [12]) { + case 'l': + if (strcmp + ((opname + 13), "ocale")) + break; + *impl = + (gpointer) + servant-> + vepv-> + ConfigDatabase_epv-> + lookup_with_locale; + return + (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_lookup_with_locale; + break; + case 's': + if (strcmp + ((opname + 13), "chema_name")) + break; + *impl = + (gpointer) + servant-> + vepv-> + ConfigDatabase2_epv-> + lookup_with_schema_name; + return + (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase2_lookup_with_schema_name; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + case 'r': + switch (opname[1]) { + case 'e': + switch (opname[2]) { + case 'm': + switch (opname[3]) { + case 'o': + switch (opname[4]) { + case 'v': + switch (opname[5]) { + case 'e': + switch (opname[6]) { + case '_': + switch (opname[7]) { + case 'd': + if (strcmp((opname + 8), "ir")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->remove_dir; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_remove_dir; + break; + case 'l': + if (strcmp + ((opname + 8), "istener")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv-> + remove_listener; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_remove_listener; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + case 's': + switch (opname[1]) { + case 'e': + switch (opname[2]) { + case 't': + switch (opname[3]) { + case '\0': + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv->set; + return (ORBitSkeleton) _ORBIT_skel_ConfigDatabase_set; + break; + case '_': + if (strcmp((opname + 4), "schema")) + break; + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv-> + set_schema; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_set_schema; + break; + default: + break; + } + break; + default: + break; + } + break; + case 'y': + switch (opname[2]) { + case 'n': + switch (opname[3]) { + case 'c': + switch (opname[4]) { + case '\0': + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv-> + sync; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_sync; + break; + case 'h': + if (strcmp((opname + 5), "ronous_sync")) + break; + *impl = + (gpointer) servant->vepv->ConfigDatabase_epv-> + synchronous_sync; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_synchronous_sync; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + case 'u': + switch (opname[1]) { + case 'n': + switch (opname[2]) { + case 's': + switch (opname[3]) { + case 'e': + switch (opname[4]) { + case 't': + switch (opname[5]) { + case '\0': + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->unset; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_unset; + break; + case '_': + if (strcmp((opname + 6), "with_locale")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigDatabase_epv->unset_with_locale; + return (ORBitSkeleton) + _ORBIT_skel_ConfigDatabase_unset_with_locale; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + return NULL; +} + +static void +init_local_objref_ConfigDatabase2(CORBA_Object obj, + POA_ConfigDatabase2 * servant) +{ + obj->vepv[ConfigDatabase__classid] = servant->vepv->ConfigDatabase_epv; + obj->vepv[ConfigDatabase2__classid] = servant->vepv->ConfigDatabase2_epv; +} + +void +POA_ConfigDatabase2__init(PortableServer_Servant servant, + CORBA_Environment * env) +{ + static const PortableServer_ClassInfo class_info = + { (ORBit_impl_finder) & get_skel_ConfigDatabase2, +"IDL:ConfigDatabase2:1.0", (ORBit_local_objref_init) & init_local_objref_ConfigDatabase2 }; + PortableServer_ServantBase__init(((PortableServer_ServantBase *) servant), + env); + POA_ConfigDatabase__init(servant, env); + ORBIT_OBJECT_KEY(((PortableServer_ServantBase *) servant)->_private)-> + class_info = (PortableServer_ClassInfo *) & class_info; + if (!ConfigDatabase2__classid) + ConfigDatabase2__classid = ORBit_register_class(&class_info); +} + +void +POA_ConfigDatabase2__fini(PortableServer_Servant servant, + CORBA_Environment * env) +{ + POA_ConfigDatabase__fini(servant, env); + PortableServer_ServantBase__fini(servant, env); +} + +static ORBitSkeleton +get_skel_ConfigServer(POA_ConfigServer * servant, + GIOPRecvBuffer * _ORBIT_recv_buffer, gpointer * impl) +{ + gchar *opname = _ORBIT_recv_buffer->message.u.request.operation; + + switch (opname[0]) { + case 'a': + if (strcmp((opname + 1), "dd_client")) + break; + *impl = (gpointer) servant->vepv->ConfigServer_epv->add_client; + return (ORBitSkeleton) _ORBIT_skel_ConfigServer_add_client; + break; + case 'g': + switch (opname[1]) { + case 'e': + switch (opname[2]) { + case 't': + switch (opname[3]) { + case '_': + switch (opname[4]) { + case 'd': + switch (opname[5]) { + case 'a': + if (strcmp((opname + 6), "tabase")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigServer_epv->get_database; + return (ORBitSkeleton) + _ORBIT_skel_ConfigServer_get_database; + break; + case 'e': + if (strcmp((opname + 6), "fault_database")) + break; + *impl = + (gpointer) servant->vepv-> + ConfigServer_epv->get_default_database; + return (ORBitSkeleton) + _ORBIT_skel_ConfigServer_get_default_database; + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + default: + break; + } + break; + case 'p': + if (strcmp((opname + 1), "ing")) + break; + *impl = (gpointer) servant->vepv->ConfigServer_epv->ping; + return (ORBitSkeleton) _ORBIT_skel_ConfigServer_ping; + break; + case 'r': + if (strcmp((opname + 1), "emove_client")) + break; + *impl = (gpointer) servant->vepv->ConfigServer_epv->remove_client; + return (ORBitSkeleton) _ORBIT_skel_ConfigServer_remove_client; + break; + case 's': + if (strcmp((opname + 1), "hutdown")) + break; + *impl = (gpointer) servant->vepv->ConfigServer_epv->shutdown; + return (ORBitSkeleton) _ORBIT_skel_ConfigServer_shutdown; + break; + default: + break; + } + return NULL; +} + +static void +init_local_objref_ConfigServer(CORBA_Object obj, POA_ConfigServer * servant) +{ + obj->vepv[ConfigServer__classid] = servant->vepv->ConfigServer_epv; +} + +void +POA_ConfigServer__init(PortableServer_Servant servant, + CORBA_Environment * env) +{ + static const PortableServer_ClassInfo class_info = + { (ORBit_impl_finder) & get_skel_ConfigServer, "IDL:ConfigServer:1.0", +(ORBit_local_objref_init) & init_local_objref_ConfigServer }; + PortableServer_ServantBase__init(((PortableServer_ServantBase *) servant), + env); + ORBIT_OBJECT_KEY(((PortableServer_ServantBase *) servant)->_private)-> + class_info = (PortableServer_ClassInfo *) & class_info; + if (!ConfigServer__classid) + ConfigServer__classid = ORBit_register_class(&class_info); +} + +void +POA_ConfigServer__fini(PortableServer_Servant servant, + CORBA_Environment * env) +{ + PortableServer_ServantBase__fini(servant, env); +} --- gconf-1.0.9.orig/gconf/GConf-stubs.c +++ gconf-1.0.9/gconf/GConf-stubs.c @@ -0,0 +1,16042 @@ +/* + * This file was generated by orbit-idl - DO NOT EDIT! + */ + +#include +#include "GConf.h" + +void +ConfigListener_notify(ConfigListener _obj, const ConfigDatabase database, + const CORBA_unsigned_long cnxn, const CORBA_char * key, + const ConfigValue * value, + const CORBA_boolean is_default, + const CORBA_boolean is_writable, CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigListener__classid) { + ((POA_ConfigListener__epv *) _obj->vepv[ConfigListener__classid])-> + notify(_obj->servant, database, cnxn, key, value, is_default, + is_writable, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[7]; + } + _ORBIT_operation_name_data = + { + 7, "notify"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 11 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + register CORBA_unsigned_long _ORBIT_tmpvar_4; + CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + register CORBA_unsigned_long _ORBIT_tmpvar_8; + CORBA_unsigned_long _ORBIT_tmpvar_9; + register CORBA_unsigned_long _ORBIT_tmpvar_10; + CORBA_unsigned_long _ORBIT_tmpvar_11; + register CORBA_unsigned_long _ORBIT_tmpvar_12; + CORBA_unsigned_long _ORBIT_tmpvar_13; + register CORBA_unsigned_long _ORBIT_tmpvar_14; + register CORBA_unsigned_long _ORBIT_tmpvar_15; + CORBA_unsigned_long _ORBIT_tmpvar_16; + register CORBA_unsigned_long _ORBIT_tmpvar_17; + CORBA_unsigned_long _ORBIT_tmpvar_18; + register CORBA_unsigned_long _ORBIT_tmpvar_19; + CORBA_unsigned_long _ORBIT_tmpvar_20; + register CORBA_unsigned_long _ORBIT_tmpvar_21; + CORBA_unsigned_long _ORBIT_tmpvar_22; + register CORBA_unsigned_long _ORBIT_tmpvar_23; + CORBA_unsigned_long _ORBIT_tmpvar_24; + register CORBA_unsigned_long _ORBIT_tmpvar_25; + CORBA_unsigned_long _ORBIT_tmpvar_26; + register CORBA_unsigned_long _ORBIT_tmpvar_27; + register CORBA_unsigned_long _ORBIT_tmpvar_28; + CORBA_unsigned_long _ORBIT_tmpvar_29; + register CORBA_unsigned_long _ORBIT_tmpvar_30; + CORBA_unsigned_long _ORBIT_tmpvar_31; + register CORBA_unsigned_long _ORBIT_tmpvar_32; + CORBA_unsigned_long _ORBIT_tmpvar_33; + register CORBA_unsigned_long _ORBIT_tmpvar_34; + CORBA_unsigned_long _ORBIT_tmpvar_35; + register CORBA_unsigned_long _ORBIT_tmpvar_36; + CORBA_unsigned_long _ORBIT_tmpvar_37; + register CORBA_unsigned_long _ORBIT_tmpvar_38; + CORBA_unsigned_long _ORBIT_tmpvar_39; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_FALSE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + ORBit_marshal_object(_ORBIT_send_buffer, database); + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + &(cnxn), sizeof(cnxn)); + _ORBIT_tmpvar_1 = strlen(key) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (key), + sizeof(key[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + &((*value)._d), sizeof((*value)._d)); + switch ((*value)._d) { + case InvalidVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.dummy), + sizeof((*value)._u.dummy)); + break; + case IntVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.int_value), + sizeof((*value)._u.int_value)); + break; + case StringVal: + _ORBIT_tmpvar_3 = strlen((*value)._u.string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_3)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_3), sizeof(_ORBIT_tmpvar_3)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_3)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.string_value), + sizeof((*value)._u. + string_value + [_ORBIT_tmpvar_2]) * + _ORBIT_tmpvar_3); + break; + case FloatVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.float_value), + sizeof((*value)._u.float_value)); + break; + case BoolVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.bool_value), + sizeof((*value)._u.bool_value)); + break; + case SchemaVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.schema_value. + value_type), + sizeof((*value)._u.schema_value. + value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.schema_value. + value_list_type), + sizeof((*value)._u.schema_value. + value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.schema_value. + value_car_type), + sizeof((*value)._u.schema_value. + value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.schema_value. + value_cdr_type), + sizeof((*value)._u.schema_value. + value_cdr_type)); + _ORBIT_tmpvar_5 = strlen((*value)._u.schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_5)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_5), sizeof(_ORBIT_tmpvar_5)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_5)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.schema_value.locale), + sizeof((*value)._u.schema_value. + locale[_ORBIT_tmpvar_4]) * + _ORBIT_tmpvar_5); + _ORBIT_tmpvar_7 = strlen((*value)._u.schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_7)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_7), sizeof(_ORBIT_tmpvar_7)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_7)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.schema_value. + short_desc), + sizeof((*value)._u.schema_value. + short_desc[_ORBIT_tmpvar_6]) + * _ORBIT_tmpvar_7); + _ORBIT_tmpvar_9 = strlen((*value)._u.schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_9)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_9), sizeof(_ORBIT_tmpvar_9)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_9)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.schema_value. + long_desc), + sizeof((*value)._u.schema_value. + long_desc[_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + _ORBIT_tmpvar_11 = strlen((*value)._u.schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_11)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_11), sizeof(_ORBIT_tmpvar_11)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_11)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.schema_value.owner), + sizeof((*value)._u.schema_value. + owner[_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + _ORBIT_tmpvar_13 = + strlen((*value)._u.schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_13)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_13), sizeof(_ORBIT_tmpvar_13)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_13)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.schema_value. + encoded_default_value), + sizeof((*value)._u.schema_value. + encoded_default_value + [_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + break; + case ListVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*value)._u.list_value.seq._length)); + memcpy(_ORBIT_t, &((*value)._u.list_value.seq._length), + sizeof((*value)._u.list_value.seq._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*value)._u.list_value. + seq._length)); + } + for (_ORBIT_tmpvar_14 = 0; + _ORBIT_tmpvar_14 < (*value)._u.list_value.seq._length; + _ORBIT_tmpvar_14++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._d)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._d), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_14]. + _d)); + } + switch ((*value)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.dummy)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.dummy), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.int_value)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.int_value), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_16 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_16)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_16), + sizeof(_ORBIT_tmpvar_16)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_16)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + string_value[_ORBIT_tmpvar_15]) * + _ORBIT_tmpvar_16); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.string_value), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + string_value[_ORBIT_tmpvar_15]) * + _ORBIT_tmpvar_16); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u. + string_value + [_ORBIT_tmpvar_15]) + * _ORBIT_tmpvar_16); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.float_value)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.float_value), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.bool_value)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.bool_value), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_type)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_type), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_list_type)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_list_type), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_car_type)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_car_type), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_cdr_type)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_cdr_type), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + value_cdr_type)); + } + _ORBIT_tmpvar_18 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_18)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_18), + sizeof(_ORBIT_tmpvar_18)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_18)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + locale[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + locale), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + locale[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + locale + [_ORBIT_tmpvar_17]) + * _ORBIT_tmpvar_18); + } + _ORBIT_tmpvar_20 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_20)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_20), + sizeof(_ORBIT_tmpvar_20)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_20)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + short_desc[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + short_desc), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + short_desc[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + short_desc + [_ORBIT_tmpvar_19]) + * _ORBIT_tmpvar_20); + } + _ORBIT_tmpvar_22 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_22)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_22), + sizeof(_ORBIT_tmpvar_22)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_22)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + long_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + long_desc), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + long_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + long_desc + [_ORBIT_tmpvar_21]) + * _ORBIT_tmpvar_22); + } + _ORBIT_tmpvar_24 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_24)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_24), + sizeof(_ORBIT_tmpvar_24)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_24)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + owner[_ORBIT_tmpvar_23]) * _ORBIT_tmpvar_24); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + owner), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + owner[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + owner + [_ORBIT_tmpvar_23]) + * _ORBIT_tmpvar_24); + } + _ORBIT_tmpvar_26 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_26)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_26), + sizeof(_ORBIT_tmpvar_26)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_26)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + encoded_default_value), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + encoded_default_value + [_ORBIT_tmpvar_25]) + * _ORBIT_tmpvar_26); + } + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.list_value.list_type), + sizeof((*value)._u.list_value. + list_type)); + break; + case PairVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*value)._u.pair_value._length)); + memcpy(_ORBIT_t, &((*value)._u.pair_value._length), + sizeof((*value)._u.pair_value._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*value)._u.pair_value. + _length)); + } + for (_ORBIT_tmpvar_27 = 0; + _ORBIT_tmpvar_27 < (*value)._u.pair_value._length; + _ORBIT_tmpvar_27++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _d)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _d), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u.pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _d)); + } + switch ((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.dummy)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.dummy), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.int_value)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.int_value), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_29 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_29)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_29), + sizeof(_ORBIT_tmpvar_29)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_29)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + string_value[_ORBIT_tmpvar_28]) * + _ORBIT_tmpvar_29); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.string_value), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + string_value[_ORBIT_tmpvar_28]) * + _ORBIT_tmpvar_29); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u. + string_value + [_ORBIT_tmpvar_28]) + * _ORBIT_tmpvar_29); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.float_value)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.float_value), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.bool_value)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.bool_value), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_type)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_type), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_list_type)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_list_type), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_car_type)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_car_type), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_cdr_type)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_cdr_type), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + value_cdr_type)); + } + _ORBIT_tmpvar_31 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_31)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_31), + sizeof(_ORBIT_tmpvar_31)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_31)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + locale[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + locale), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + locale[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + locale + [_ORBIT_tmpvar_30]) + * _ORBIT_tmpvar_31); + } + _ORBIT_tmpvar_33 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_33)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_33), + sizeof(_ORBIT_tmpvar_33)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_33)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + short_desc[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + short_desc), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + short_desc[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + short_desc + [_ORBIT_tmpvar_32]) + * _ORBIT_tmpvar_33); + } + _ORBIT_tmpvar_35 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_35)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_35), + sizeof(_ORBIT_tmpvar_35)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_35)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + long_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + long_desc), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + long_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + long_desc + [_ORBIT_tmpvar_34]) + * _ORBIT_tmpvar_35); + } + _ORBIT_tmpvar_37 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_37)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_37), + sizeof(_ORBIT_tmpvar_37)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_37)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + owner[_ORBIT_tmpvar_36]) * _ORBIT_tmpvar_37); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + owner), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + owner[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + owner + [_ORBIT_tmpvar_36]) + * _ORBIT_tmpvar_37); + } + _ORBIT_tmpvar_39 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_39)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_39), + sizeof(_ORBIT_tmpvar_39)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_39)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + encoded_default_value), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + encoded_default_value + [_ORBIT_tmpvar_38]) + * _ORBIT_tmpvar_39); + } + break; + default: + break; + } + } + + break; + default: + break; + } + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 1); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + &(is_default), sizeof(is_default)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + &(is_writable), sizeof(is_writable)); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; +} + +void +ConfigListener_ping(ConfigListener _obj, CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigListener__classid) { + ((POA_ConfigListener__epv *) _obj->vepv[ConfigListener__classid])-> + ping(_obj->servant, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[5]; + } + _ORBIT_operation_name_data = + { + 5, "ping"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 9 }; + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_FALSE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; +} + +void +ConfigListener_update_listener(ConfigListener _obj, + const ConfigDatabase database, + const CORBA_char * db_address, + const CORBA_unsigned_long old_cnxn, + const CORBA_char * where, + const CORBA_unsigned_long new_cnxn, + CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigListener__classid) { + ((POA_ConfigListener__epv *) _obj->vepv[ConfigListener__classid])-> + update_listener(_obj->servant, database, db_address, old_cnxn, where, + new_cnxn, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[16]; + } + _ORBIT_operation_name_data = + { + 16, "update_listener"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 20 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_FALSE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + ORBit_marshal_object(_ORBIT_send_buffer, database); + _ORBIT_tmpvar_1 = strlen(db_address) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (db_address), + sizeof(db_address[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + &(old_cnxn), sizeof(old_cnxn)); + _ORBIT_tmpvar_3 = strlen(where) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_3)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_3), sizeof(_ORBIT_tmpvar_3)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_3)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (where), + sizeof(where[_ORBIT_tmpvar_2]) * + _ORBIT_tmpvar_3); + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + &(new_cnxn), sizeof(new_cnxn)); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; +} + +void +ConfigListener_invalidate_cached_values(ConfigListener _obj, + const ConfigDatabase database, + const ConfigListener_KeyList * keys, + CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigListener__classid) { + ((POA_ConfigListener__epv *) _obj->vepv[ConfigListener__classid])-> + invalidate_cached_values(_obj->servant, database, keys, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[25]; + } + _ORBIT_operation_name_data = + { + 25, "invalidate_cached_values"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 29 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + register CORBA_unsigned_long _ORBIT_tmpvar_1; + CORBA_unsigned_long _ORBIT_tmpvar_2; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_FALSE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + ORBit_marshal_object(_ORBIT_send_buffer, database); + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*keys)._length)); + memcpy(_ORBIT_t, &((*keys)._length), sizeof((*keys)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*keys)._length)); + } + for (_ORBIT_tmpvar_0 = 0; _ORBIT_tmpvar_0 < (*keys)._length; + _ORBIT_tmpvar_0++) { + _ORBIT_tmpvar_2 = strlen((*keys)._buffer[_ORBIT_tmpvar_0]) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_2)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_2), sizeof(_ORBIT_tmpvar_2)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_2)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*keys)._buffer[_ORBIT_tmpvar_0][_ORBIT_tmpvar_1]) * + _ORBIT_tmpvar_2); + memcpy(_ORBIT_t, ((*keys)._buffer[_ORBIT_tmpvar_0]), + sizeof((*keys)._buffer[_ORBIT_tmpvar_0][_ORBIT_tmpvar_1]) * + _ORBIT_tmpvar_2); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*keys). + _buffer[_ORBIT_tmpvar_0] + [_ORBIT_tmpvar_1]) * + _ORBIT_tmpvar_2); + } + } + + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; +} + +void +ConfigListener_drop_all_caches(ConfigListener _obj, CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigListener__classid) { + ((POA_ConfigListener__epv *) _obj->vepv[ConfigListener__classid])-> + drop_all_caches(_obj->servant, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[16]; + } + _ORBIT_operation_name_data = + { + 16, "drop_all_caches"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 20 }; + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_FALSE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; +} + +void +_ORBIT_ConfigException_demarshal(GIOPRecvBuffer * _ORBIT_recv_buffer, + CORBA_Environment * ev) +{ + guchar *_ORBIT_curptr; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + ConfigException *_ORBIT_exdata = ConfigException__alloc(); + + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & ((*_ORBIT_exdata).err_no))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_1))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_exdata).message = CORBA_string_alloc(_ORBIT_tmpvar_1); + memcpy((*_ORBIT_exdata).message, _ORBIT_curptr, + sizeof((*_ORBIT_exdata).message[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + _ORBIT_curptr += + sizeof((*_ORBIT_exdata).message[_ORBIT_tmpvar_0]) * _ORBIT_tmpvar_1; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_exdata).err_no = *((ConfigErrorType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_1 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_exdata).message = CORBA_string_alloc(_ORBIT_tmpvar_1); + memcpy((*_ORBIT_exdata).message, _ORBIT_curptr, + sizeof((*_ORBIT_exdata).message[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + _ORBIT_curptr += + sizeof((*_ORBIT_exdata).message[_ORBIT_tmpvar_0]) * _ORBIT_tmpvar_1; + } + CORBA_exception_set(ev, CORBA_USER_EXCEPTION, + TC_ConfigException_struct.repo_id, _ORBIT_exdata); +} + +CORBA_unsigned_long +ConfigDatabase_add_listener(ConfigDatabase _obj, const CORBA_char * where, + const ConfigListener who, CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + CORBA_unsigned_long _ORBIT_retval; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + _ORBIT_retval = + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + add_listener(_obj->servant, where, who, ev); + return _ORBIT_retval; + } + if (0) + return *(&_ORBIT_retval); + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[13]; + } + _ORBIT_operation_name_data = + { + 13, "add_listener"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 17 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(where) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (where), + sizeof(where[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + ORBit_marshal_object(_ORBIT_send_buffer, who); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_retval))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_retval = *((CORBA_unsigned_long *) _ORBIT_curptr); + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return _ORBIT_retval; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, NULL, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + } + } +} +void +ConfigDatabase_remove_listener(ConfigDatabase _obj, + const CORBA_unsigned_long cnxn, + CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + remove_listener(_obj->servant, cnxn, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[16]; + } + _ORBIT_operation_name_data = + { + 16, "remove_listener"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 20 }; + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + &(cnxn), sizeof(cnxn)); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, NULL, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +ConfigValue * +ConfigDatabase_lookup(ConfigDatabase _obj, const CORBA_char * key, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + ConfigValue *_ORBIT_retval; + register CORBA_unsigned_long _ORBIT_tmpvar_40; + CORBA_unsigned_long _ORBIT_tmpvar_41; + register CORBA_unsigned_long _ORBIT_tmpvar_42; + CORBA_unsigned_long _ORBIT_tmpvar_43; + register CORBA_unsigned_long _ORBIT_tmpvar_44; + CORBA_unsigned_long _ORBIT_tmpvar_45; + register CORBA_unsigned_long _ORBIT_tmpvar_46; + CORBA_unsigned_long _ORBIT_tmpvar_47; + register CORBA_unsigned_long _ORBIT_tmpvar_48; + CORBA_unsigned_long _ORBIT_tmpvar_49; + register CORBA_unsigned_long _ORBIT_tmpvar_50; + CORBA_unsigned_long _ORBIT_tmpvar_51; + register CORBA_unsigned_long _ORBIT_tmpvar_52; + register CORBA_unsigned_long _ORBIT_tmpvar_53; + CORBA_unsigned_long _ORBIT_tmpvar_54; + register CORBA_unsigned_long _ORBIT_tmpvar_55; + CORBA_unsigned_long _ORBIT_tmpvar_56; + register CORBA_unsigned_long _ORBIT_tmpvar_57; + CORBA_unsigned_long _ORBIT_tmpvar_58; + register CORBA_unsigned_long _ORBIT_tmpvar_59; + CORBA_unsigned_long _ORBIT_tmpvar_60; + register CORBA_unsigned_long _ORBIT_tmpvar_61; + CORBA_unsigned_long _ORBIT_tmpvar_62; + register CORBA_unsigned_long _ORBIT_tmpvar_63; + CORBA_unsigned_long _ORBIT_tmpvar_64; + register CORBA_unsigned_long _ORBIT_tmpvar_65; + register CORBA_unsigned_long _ORBIT_tmpvar_66; + CORBA_unsigned_long _ORBIT_tmpvar_67; + register CORBA_unsigned_long _ORBIT_tmpvar_68; + CORBA_unsigned_long _ORBIT_tmpvar_69; + register CORBA_unsigned_long _ORBIT_tmpvar_70; + CORBA_unsigned_long _ORBIT_tmpvar_71; + register CORBA_unsigned_long _ORBIT_tmpvar_72; + CORBA_unsigned_long _ORBIT_tmpvar_73; + register CORBA_unsigned_long _ORBIT_tmpvar_74; + CORBA_unsigned_long _ORBIT_tmpvar_75; + register CORBA_unsigned_long _ORBIT_tmpvar_76; + CORBA_unsigned_long _ORBIT_tmpvar_77; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + _ORBIT_retval = + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + lookup(_obj->servant, key, ev); + return _ORBIT_retval; + } + if (0) + return *(&_ORBIT_retval); + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[7]; + } + _ORBIT_operation_name_data = + { + 7, "lookup"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 11 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(key) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (key), + sizeof(key[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_retval = ConfigValue__alloc(); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & ((*_ORBIT_retval)._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case IntVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case StringVal: + (*((guint32 *) & (_ORBIT_tmpvar_41))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_41); + memcpy((*_ORBIT_retval)._u.string_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u. + string_value[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.string_value[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41; + break; + case FloatVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case BoolVal: + (*_ORBIT_retval)._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + break; + case SchemaVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.schema_value.value_type))) + = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_43))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_43); + memcpy((*_ORBIT_retval)._u.schema_value.locale, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_42]) * _ORBIT_tmpvar_43); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_42]) * _ORBIT_tmpvar_43; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_45))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.short_desc = + CORBA_string_alloc(_ORBIT_tmpvar_45); + memcpy((*_ORBIT_retval)._u.schema_value.short_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_47))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_47); + memcpy((*_ORBIT_retval)._u.schema_value.long_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_49))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_49); + memcpy((*_ORBIT_retval)._u.schema_value.owner, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_51))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_51); + memcpy((*_ORBIT_retval)._u.schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_50]) * + _ORBIT_tmpvar_51); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_50]) * + _ORBIT_tmpvar_51; + break; + case ListVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.list_value.seq._length))) + = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq._maximum = + (*_ORBIT_retval)._u.list_value.seq._length; + (*_ORBIT_retval)._u.list_value.seq._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + list_value.seq. + _length); + (*_ORBIT_retval)._u.list_value.seq._release = CORBA_TRUE; + for (_ORBIT_tmpvar_52 = 0; + _ORBIT_tmpvar_52 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_52++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._d) { + case BInvalidVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_54))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_54); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u. + string_value[_ORBIT_tmpvar_53]) * + _ORBIT_tmpvar_54); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u. + string_value[_ORBIT_tmpvar_53]) * + _ORBIT_tmpvar_54; + break; + case BFloatVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_56))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_56); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + locale[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + locale[_ORBIT_tmpvar_55]) * _ORBIT_tmpvar_56; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_58))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + short_desc[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + short_desc[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_60))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_60); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + long_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + long_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_62))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_62); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + owner[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + owner[_ORBIT_tmpvar_61]) * _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_64))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_64); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & ((*_ORBIT_retval)._u.list_value.list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case PairVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.pair_value._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value._maximum = + (*_ORBIT_retval)._u.pair_value._length; + (*_ORBIT_retval)._u.pair_value._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + pair_value._length); + (*_ORBIT_retval)._u.pair_value._release = CORBA_TRUE; + for (_ORBIT_tmpvar_65 = 0; + _ORBIT_tmpvar_65 < (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_65++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_65]. + _d))) = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._d) { + case BInvalidVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_67))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_67); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u. + string_value[_ORBIT_tmpvar_66]) * + _ORBIT_tmpvar_67); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u. + string_value[_ORBIT_tmpvar_66]) * + _ORBIT_tmpvar_67; + break; + case BFloatVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_69))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_69); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + locale[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + locale[_ORBIT_tmpvar_68]) * _ORBIT_tmpvar_69; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_71))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + short_desc[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + short_desc[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_73))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_73); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + long_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + long_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_75))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_75); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + owner[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + owner[_ORBIT_tmpvar_74]) * _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_77))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_77); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + break; + default: + break; + } + } + + break; + default: + break; + } + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._d = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + (*_ORBIT_retval)._u.dummy = *((CORBA_long *) _ORBIT_curptr); + break; + case IntVal: + (*_ORBIT_retval)._u.int_value = *((CORBA_long *) _ORBIT_curptr); + break; + case StringVal: + _ORBIT_tmpvar_41 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_41); + memcpy((*_ORBIT_retval)._u.string_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u. + string_value[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.string_value[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41; + break; + case FloatVal: + (*_ORBIT_retval)._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + break; + case BoolVal: + (*_ORBIT_retval)._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + break; + case SchemaVal: + (*_ORBIT_retval)._u.schema_value.value_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_43 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_43); + memcpy((*_ORBIT_retval)._u.schema_value.locale, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_42]) * _ORBIT_tmpvar_43); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_42]) * _ORBIT_tmpvar_43; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_45 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.short_desc = + CORBA_string_alloc(_ORBIT_tmpvar_45); + memcpy((*_ORBIT_retval)._u.schema_value.short_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_47 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_47); + memcpy((*_ORBIT_retval)._u.schema_value.long_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_49 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_49); + memcpy((*_ORBIT_retval)._u.schema_value.owner, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_51 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_51); + memcpy((*_ORBIT_retval)._u.schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_50]) * + _ORBIT_tmpvar_51); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_50]) * + _ORBIT_tmpvar_51; + break; + case ListVal: + (*_ORBIT_retval)._u.list_value.seq._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq._maximum = + (*_ORBIT_retval)._u.list_value.seq._length; + (*_ORBIT_retval)._u.list_value.seq._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + list_value.seq. + _length); + (*_ORBIT_retval)._u.list_value.seq._release = CORBA_TRUE; + for (_ORBIT_tmpvar_52 = 0; + _ORBIT_tmpvar_52 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_52++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_52]. + _d = *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._d) { + case BInvalidVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_54 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_54); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u. + string_value[_ORBIT_tmpvar_53]) * + _ORBIT_tmpvar_54); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u. + string_value[_ORBIT_tmpvar_53]) * + _ORBIT_tmpvar_54; + break; + case BFloatVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_56 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_56); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + locale[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + locale[_ORBIT_tmpvar_55]) * _ORBIT_tmpvar_56; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_58 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + short_desc[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + short_desc[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_60 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_60); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + long_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + long_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_62 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_62); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + owner[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + owner[_ORBIT_tmpvar_61]) * _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_64 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_64); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_52]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.list_value.list_type = + *((ConfigBasicValueType *) _ORBIT_curptr); + break; + case PairVal: + (*_ORBIT_retval)._u.pair_value._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value._maximum = + (*_ORBIT_retval)._u.pair_value._length; + (*_ORBIT_retval)._u.pair_value._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + pair_value._length); + (*_ORBIT_retval)._u.pair_value._release = CORBA_TRUE; + for (_ORBIT_tmpvar_65 = 0; + _ORBIT_tmpvar_65 < (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_65++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_65]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._d) { + case BInvalidVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_67 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_67); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u. + string_value[_ORBIT_tmpvar_66]) * + _ORBIT_tmpvar_67); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u. + string_value[_ORBIT_tmpvar_66]) * + _ORBIT_tmpvar_67; + break; + case BFloatVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_69 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_69); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + locale[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + locale[_ORBIT_tmpvar_68]) * _ORBIT_tmpvar_69; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_71 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + short_desc[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + short_desc[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_73 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_73); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + long_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + long_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_75 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_75); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + owner[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + owner[_ORBIT_tmpvar_74]) * _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_77 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_77); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_65]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + break; + default: + break; + } + } + + break; + default: + break; + } + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return _ORBIT_retval; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + } + } +} +ConfigValue * +ConfigDatabase_lookup_with_locale(ConfigDatabase _obj, const CORBA_char * key, + const CORBA_char * locale, + const CORBA_boolean use_schema_default, + CORBA_boolean * value_is_default, + CORBA_boolean * value_is_writable, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + ConfigValue *_ORBIT_retval; + register CORBA_unsigned_long _ORBIT_tmpvar_42; + CORBA_unsigned_long _ORBIT_tmpvar_43; + register CORBA_unsigned_long _ORBIT_tmpvar_44; + CORBA_unsigned_long _ORBIT_tmpvar_45; + register CORBA_unsigned_long _ORBIT_tmpvar_46; + CORBA_unsigned_long _ORBIT_tmpvar_47; + register CORBA_unsigned_long _ORBIT_tmpvar_48; + CORBA_unsigned_long _ORBIT_tmpvar_49; + register CORBA_unsigned_long _ORBIT_tmpvar_50; + CORBA_unsigned_long _ORBIT_tmpvar_51; + register CORBA_unsigned_long _ORBIT_tmpvar_52; + CORBA_unsigned_long _ORBIT_tmpvar_53; + register CORBA_unsigned_long _ORBIT_tmpvar_54; + register CORBA_unsigned_long _ORBIT_tmpvar_55; + CORBA_unsigned_long _ORBIT_tmpvar_56; + register CORBA_unsigned_long _ORBIT_tmpvar_57; + CORBA_unsigned_long _ORBIT_tmpvar_58; + register CORBA_unsigned_long _ORBIT_tmpvar_59; + CORBA_unsigned_long _ORBIT_tmpvar_60; + register CORBA_unsigned_long _ORBIT_tmpvar_61; + CORBA_unsigned_long _ORBIT_tmpvar_62; + register CORBA_unsigned_long _ORBIT_tmpvar_63; + CORBA_unsigned_long _ORBIT_tmpvar_64; + register CORBA_unsigned_long _ORBIT_tmpvar_65; + CORBA_unsigned_long _ORBIT_tmpvar_66; + register CORBA_unsigned_long _ORBIT_tmpvar_67; + register CORBA_unsigned_long _ORBIT_tmpvar_68; + CORBA_unsigned_long _ORBIT_tmpvar_69; + register CORBA_unsigned_long _ORBIT_tmpvar_70; + CORBA_unsigned_long _ORBIT_tmpvar_71; + register CORBA_unsigned_long _ORBIT_tmpvar_72; + CORBA_unsigned_long _ORBIT_tmpvar_73; + register CORBA_unsigned_long _ORBIT_tmpvar_74; + CORBA_unsigned_long _ORBIT_tmpvar_75; + register CORBA_unsigned_long _ORBIT_tmpvar_76; + CORBA_unsigned_long _ORBIT_tmpvar_77; + register CORBA_unsigned_long _ORBIT_tmpvar_78; + CORBA_unsigned_long _ORBIT_tmpvar_79; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + _ORBIT_retval = + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + lookup_with_locale(_obj->servant, key, locale, use_schema_default, + value_is_default, value_is_writable, ev); + return _ORBIT_retval; + } + if (0) + return *(&_ORBIT_retval); + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[19]; + } + _ORBIT_operation_name_data = + { + 19, "lookup_with_locale"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 23 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(key) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (key), + sizeof(key[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + _ORBIT_tmpvar_3 = strlen(locale) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_3)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_3), sizeof(_ORBIT_tmpvar_3)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_3)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (locale), + sizeof(locale[_ORBIT_tmpvar_2]) * + _ORBIT_tmpvar_3); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + &(use_schema_default), + sizeof(use_schema_default)); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_retval = ConfigValue__alloc(); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & ((*_ORBIT_retval)._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case IntVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case StringVal: + (*((guint32 *) & (_ORBIT_tmpvar_43))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_43); + memcpy((*_ORBIT_retval)._u.string_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u. + string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43; + break; + case FloatVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BoolVal: + (*_ORBIT_retval)._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.schema_value.value_type))) + = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_45))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_45); + memcpy((*_ORBIT_retval)._u.schema_value.locale, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_47))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.short_desc = + CORBA_string_alloc(_ORBIT_tmpvar_47); + memcpy((*_ORBIT_retval)._u.schema_value.short_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_49))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_49); + memcpy((*_ORBIT_retval)._u.schema_value.long_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_51))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_51); + memcpy((*_ORBIT_retval)._u.schema_value.owner, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_53))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_53); + memcpy((*_ORBIT_retval)._u.schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53; + break; + case ListVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.list_value.seq._length))) + = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq._maximum = + (*_ORBIT_retval)._u.list_value.seq._length; + (*_ORBIT_retval)._u.list_value.seq._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + list_value.seq. + _length); + (*_ORBIT_retval)._u.list_value.seq._release = CORBA_TRUE; + for (_ORBIT_tmpvar_54 = 0; + _ORBIT_tmpvar_54 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_54++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._d) { + case BInvalidVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_56))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_56); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56; + break; + case BFloatVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_58))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_60))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_60); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_62))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_62); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_64))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_64); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_66))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_66); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & ((*_ORBIT_retval)._u.list_value.list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case PairVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.pair_value._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value._maximum = + (*_ORBIT_retval)._u.pair_value._length; + (*_ORBIT_retval)._u.pair_value._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + pair_value._length); + (*_ORBIT_retval)._u.pair_value._release = CORBA_TRUE; + for (_ORBIT_tmpvar_67 = 0; + _ORBIT_tmpvar_67 < (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_67++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _d))) = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._d) { + case BInvalidVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_69))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_69); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u. + string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u. + string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + break; + case BFloatVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_71))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + locale[_ORBIT_tmpvar_70]) * _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_73))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_73); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_75))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_75); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_77))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_77); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + owner[_ORBIT_tmpvar_76]) * _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_79))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_79); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + default: + break; + } + } + + break; + default: + break; + } + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 1); + (*value_is_default) = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + (*value_is_writable) = *((CORBA_boolean *) _ORBIT_curptr); + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._d = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + (*_ORBIT_retval)._u.dummy = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case IntVal: + (*_ORBIT_retval)._u.int_value = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case StringVal: + _ORBIT_tmpvar_43 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_43); + memcpy((*_ORBIT_retval)._u.string_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u. + string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43; + break; + case FloatVal: + (*_ORBIT_retval)._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BoolVal: + (*_ORBIT_retval)._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + (*_ORBIT_retval)._u.schema_value.value_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_45 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_45); + memcpy((*_ORBIT_retval)._u.schema_value.locale, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_47 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.short_desc = + CORBA_string_alloc(_ORBIT_tmpvar_47); + memcpy((*_ORBIT_retval)._u.schema_value.short_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_49 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_49); + memcpy((*_ORBIT_retval)._u.schema_value.long_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_51 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_51); + memcpy((*_ORBIT_retval)._u.schema_value.owner, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_53 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_53); + memcpy((*_ORBIT_retval)._u.schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53; + break; + case ListVal: + (*_ORBIT_retval)._u.list_value.seq._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq._maximum = + (*_ORBIT_retval)._u.list_value.seq._length; + (*_ORBIT_retval)._u.list_value.seq._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + list_value.seq. + _length); + (*_ORBIT_retval)._u.list_value.seq._release = CORBA_TRUE; + for (_ORBIT_tmpvar_54 = 0; + _ORBIT_tmpvar_54 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_54++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_54]. + _d = *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._d) { + case BInvalidVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_56 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_56); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56; + break; + case BFloatVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_58 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_60 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_60); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_62 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_62); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_64 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_64); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_66 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_66); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.list_value.list_type = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case PairVal: + (*_ORBIT_retval)._u.pair_value._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value._maximum = + (*_ORBIT_retval)._u.pair_value._length; + (*_ORBIT_retval)._u.pair_value._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + pair_value._length); + (*_ORBIT_retval)._u.pair_value._release = CORBA_TRUE; + for (_ORBIT_tmpvar_67 = 0; + _ORBIT_tmpvar_67 < (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_67++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_67]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._d) { + case BInvalidVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_69 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_69); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u. + string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u. + string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + break; + case BFloatVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_71 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + locale[_ORBIT_tmpvar_70]) * _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_73 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_73); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_75 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_75); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_77 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_77); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + owner[_ORBIT_tmpvar_76]) * _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_79 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_79); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + default: + break; + } + } + + break; + default: + break; + } + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 1); + (*value_is_default) = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + (*value_is_writable) = *((CORBA_boolean *) _ORBIT_curptr); + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return _ORBIT_retval; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + } + } +} +ConfigValue * +ConfigDatabase_lookup_default_value(ConfigDatabase _obj, + const CORBA_char * key, + const CORBA_char * locale, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + ConfigValue *_ORBIT_retval; + register CORBA_unsigned_long _ORBIT_tmpvar_42; + CORBA_unsigned_long _ORBIT_tmpvar_43; + register CORBA_unsigned_long _ORBIT_tmpvar_44; + CORBA_unsigned_long _ORBIT_tmpvar_45; + register CORBA_unsigned_long _ORBIT_tmpvar_46; + CORBA_unsigned_long _ORBIT_tmpvar_47; + register CORBA_unsigned_long _ORBIT_tmpvar_48; + CORBA_unsigned_long _ORBIT_tmpvar_49; + register CORBA_unsigned_long _ORBIT_tmpvar_50; + CORBA_unsigned_long _ORBIT_tmpvar_51; + register CORBA_unsigned_long _ORBIT_tmpvar_52; + CORBA_unsigned_long _ORBIT_tmpvar_53; + register CORBA_unsigned_long _ORBIT_tmpvar_54; + register CORBA_unsigned_long _ORBIT_tmpvar_55; + CORBA_unsigned_long _ORBIT_tmpvar_56; + register CORBA_unsigned_long _ORBIT_tmpvar_57; + CORBA_unsigned_long _ORBIT_tmpvar_58; + register CORBA_unsigned_long _ORBIT_tmpvar_59; + CORBA_unsigned_long _ORBIT_tmpvar_60; + register CORBA_unsigned_long _ORBIT_tmpvar_61; + CORBA_unsigned_long _ORBIT_tmpvar_62; + register CORBA_unsigned_long _ORBIT_tmpvar_63; + CORBA_unsigned_long _ORBIT_tmpvar_64; + register CORBA_unsigned_long _ORBIT_tmpvar_65; + CORBA_unsigned_long _ORBIT_tmpvar_66; + register CORBA_unsigned_long _ORBIT_tmpvar_67; + register CORBA_unsigned_long _ORBIT_tmpvar_68; + CORBA_unsigned_long _ORBIT_tmpvar_69; + register CORBA_unsigned_long _ORBIT_tmpvar_70; + CORBA_unsigned_long _ORBIT_tmpvar_71; + register CORBA_unsigned_long _ORBIT_tmpvar_72; + CORBA_unsigned_long _ORBIT_tmpvar_73; + register CORBA_unsigned_long _ORBIT_tmpvar_74; + CORBA_unsigned_long _ORBIT_tmpvar_75; + register CORBA_unsigned_long _ORBIT_tmpvar_76; + CORBA_unsigned_long _ORBIT_tmpvar_77; + register CORBA_unsigned_long _ORBIT_tmpvar_78; + CORBA_unsigned_long _ORBIT_tmpvar_79; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + _ORBIT_retval = + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + lookup_default_value(_obj->servant, key, locale, ev); + return _ORBIT_retval; + } + if (0) + return *(&_ORBIT_retval); + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[21]; + } + _ORBIT_operation_name_data = + { + 21, "lookup_default_value"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 25 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(key) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (key), + sizeof(key[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + _ORBIT_tmpvar_3 = strlen(locale) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_3)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_3), sizeof(_ORBIT_tmpvar_3)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_3)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (locale), + sizeof(locale[_ORBIT_tmpvar_2]) * + _ORBIT_tmpvar_3); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_retval = ConfigValue__alloc(); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & ((*_ORBIT_retval)._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case IntVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case StringVal: + (*((guint32 *) & (_ORBIT_tmpvar_43))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_43); + memcpy((*_ORBIT_retval)._u.string_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u. + string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43; + break; + case FloatVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case BoolVal: + (*_ORBIT_retval)._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + break; + case SchemaVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.schema_value.value_type))) + = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_45))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_45); + memcpy((*_ORBIT_retval)._u.schema_value.locale, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_47))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.short_desc = + CORBA_string_alloc(_ORBIT_tmpvar_47); + memcpy((*_ORBIT_retval)._u.schema_value.short_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_49))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_49); + memcpy((*_ORBIT_retval)._u.schema_value.long_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_51))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_51); + memcpy((*_ORBIT_retval)._u.schema_value.owner, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_53))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_53); + memcpy((*_ORBIT_retval)._u.schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53; + break; + case ListVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.list_value.seq._length))) + = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq._maximum = + (*_ORBIT_retval)._u.list_value.seq._length; + (*_ORBIT_retval)._u.list_value.seq._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + list_value.seq. + _length); + (*_ORBIT_retval)._u.list_value.seq._release = CORBA_TRUE; + for (_ORBIT_tmpvar_54 = 0; + _ORBIT_tmpvar_54 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_54++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._d) { + case BInvalidVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_56))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_56); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56; + break; + case BFloatVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_58))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_60))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_60); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_62))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_62); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_64))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_64); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_66))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_66); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & ((*_ORBIT_retval)._u.list_value.list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + break; + case PairVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.pair_value._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value._maximum = + (*_ORBIT_retval)._u.pair_value._length; + (*_ORBIT_retval)._u.pair_value._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + pair_value._length); + (*_ORBIT_retval)._u.pair_value._release = CORBA_TRUE; + for (_ORBIT_tmpvar_67 = 0; + _ORBIT_tmpvar_67 < (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_67++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_67]. + _d))) = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._d) { + case BInvalidVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_69))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_69); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u. + string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u. + string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + break; + case BFloatVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_71))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + locale[_ORBIT_tmpvar_70]) * _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_73))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_73); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_75))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_75); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_77))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_77); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + owner[_ORBIT_tmpvar_76]) * _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_79))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_79); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + default: + break; + } + } + + break; + default: + break; + } + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._d = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + (*_ORBIT_retval)._u.dummy = *((CORBA_long *) _ORBIT_curptr); + break; + case IntVal: + (*_ORBIT_retval)._u.int_value = *((CORBA_long *) _ORBIT_curptr); + break; + case StringVal: + _ORBIT_tmpvar_43 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_43); + memcpy((*_ORBIT_retval)._u.string_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u. + string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.string_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43; + break; + case FloatVal: + (*_ORBIT_retval)._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + break; + case BoolVal: + (*_ORBIT_retval)._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + break; + case SchemaVal: + (*_ORBIT_retval)._u.schema_value.value_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_45 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_45); + memcpy((*_ORBIT_retval)._u.schema_value.locale, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_44]) * _ORBIT_tmpvar_45; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_47 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.short_desc = + CORBA_string_alloc(_ORBIT_tmpvar_47); + memcpy((*_ORBIT_retval)._u.schema_value.short_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_49 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_49); + memcpy((*_ORBIT_retval)._u.schema_value.long_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_51 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_51); + memcpy((*_ORBIT_retval)._u.schema_value.owner, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_53 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_53); + memcpy((*_ORBIT_retval)._u.schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53; + break; + case ListVal: + (*_ORBIT_retval)._u.list_value.seq._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq._maximum = + (*_ORBIT_retval)._u.list_value.seq._length; + (*_ORBIT_retval)._u.list_value.seq._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + list_value.seq. + _length); + (*_ORBIT_retval)._u.list_value.seq._release = CORBA_TRUE; + for (_ORBIT_tmpvar_54 = 0; + _ORBIT_tmpvar_54 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_54++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_54]. + _d = *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._d) { + case BInvalidVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_56 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_56); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56; + break; + case BFloatVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_58 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale[_ORBIT_tmpvar_57]) * _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_60 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_60); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_62 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_62); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_64 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_64); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner[_ORBIT_tmpvar_63]) * _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_66 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_66); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.list_value.list_type = + *((ConfigBasicValueType *) _ORBIT_curptr); + break; + case PairVal: + (*_ORBIT_retval)._u.pair_value._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value._maximum = + (*_ORBIT_retval)._u.pair_value._length; + (*_ORBIT_retval)._u.pair_value._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + pair_value._length); + (*_ORBIT_retval)._u.pair_value._release = CORBA_TRUE; + for (_ORBIT_tmpvar_67 = 0; + _ORBIT_tmpvar_67 < (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_67++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_67]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._d) { + case BInvalidVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_69 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_69); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u. + string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u. + string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + break; + case BFloatVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_71 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + locale[_ORBIT_tmpvar_70]) * _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_73 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_73); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_75 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_75); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_77 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_77); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + owner[_ORBIT_tmpvar_76]) * _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_79 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_79); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + default: + break; + } + } + + break; + default: + break; + } + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return _ORBIT_retval; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + } + } +} +void +ConfigDatabase_batch_lookup(ConfigDatabase _obj, + const ConfigDatabase_KeyList * keys, + const CORBA_char * locale, + ConfigDatabase_ValueList ** values, + ConfigDatabase_IsDefaultList ** is_defaults, + ConfigDatabase_IsWritableList ** is_writables, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + register CORBA_unsigned_long _ORBIT_tmpvar_46; + register CORBA_unsigned_long _ORBIT_tmpvar_47; + CORBA_unsigned_long _ORBIT_tmpvar_48; + register CORBA_unsigned_long _ORBIT_tmpvar_49; + CORBA_unsigned_long _ORBIT_tmpvar_50; + register CORBA_unsigned_long _ORBIT_tmpvar_51; + CORBA_unsigned_long _ORBIT_tmpvar_52; + register CORBA_unsigned_long _ORBIT_tmpvar_53; + CORBA_unsigned_long _ORBIT_tmpvar_54; + register CORBA_unsigned_long _ORBIT_tmpvar_55; + CORBA_unsigned_long _ORBIT_tmpvar_56; + register CORBA_unsigned_long _ORBIT_tmpvar_57; + CORBA_unsigned_long _ORBIT_tmpvar_58; + register CORBA_unsigned_long _ORBIT_tmpvar_59; + register CORBA_unsigned_long _ORBIT_tmpvar_60; + CORBA_unsigned_long _ORBIT_tmpvar_61; + register CORBA_unsigned_long _ORBIT_tmpvar_62; + CORBA_unsigned_long _ORBIT_tmpvar_63; + register CORBA_unsigned_long _ORBIT_tmpvar_64; + CORBA_unsigned_long _ORBIT_tmpvar_65; + register CORBA_unsigned_long _ORBIT_tmpvar_66; + CORBA_unsigned_long _ORBIT_tmpvar_67; + register CORBA_unsigned_long _ORBIT_tmpvar_68; + CORBA_unsigned_long _ORBIT_tmpvar_69; + register CORBA_unsigned_long _ORBIT_tmpvar_70; + CORBA_unsigned_long _ORBIT_tmpvar_71; + register CORBA_unsigned_long _ORBIT_tmpvar_72; + register CORBA_unsigned_long _ORBIT_tmpvar_73; + CORBA_unsigned_long _ORBIT_tmpvar_74; + register CORBA_unsigned_long _ORBIT_tmpvar_75; + CORBA_unsigned_long _ORBIT_tmpvar_76; + register CORBA_unsigned_long _ORBIT_tmpvar_77; + CORBA_unsigned_long _ORBIT_tmpvar_78; + register CORBA_unsigned_long _ORBIT_tmpvar_79; + CORBA_unsigned_long _ORBIT_tmpvar_80; + register CORBA_unsigned_long _ORBIT_tmpvar_81; + CORBA_unsigned_long _ORBIT_tmpvar_82; + register CORBA_unsigned_long _ORBIT_tmpvar_83; + CORBA_unsigned_long _ORBIT_tmpvar_84; + register CORBA_unsigned_long _ORBIT_tmpvar_85; + register CORBA_unsigned_long _ORBIT_tmpvar_86; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + batch_lookup(_obj->servant, keys, locale, values, is_defaults, + is_writables, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[13]; + } + _ORBIT_operation_name_data = + { + 13, "batch_lookup"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 17 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + register CORBA_unsigned_long _ORBIT_tmpvar_1; + CORBA_unsigned_long _ORBIT_tmpvar_2; + register CORBA_unsigned_long _ORBIT_tmpvar_3; + CORBA_unsigned_long _ORBIT_tmpvar_4; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*keys)._length)); + memcpy(_ORBIT_t, &((*keys)._length), sizeof((*keys)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*keys)._length)); + } + for (_ORBIT_tmpvar_0 = 0; _ORBIT_tmpvar_0 < (*keys)._length; + _ORBIT_tmpvar_0++) { + _ORBIT_tmpvar_2 = strlen((*keys)._buffer[_ORBIT_tmpvar_0]) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_2)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_2), sizeof(_ORBIT_tmpvar_2)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_2)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*keys)._buffer[_ORBIT_tmpvar_0][_ORBIT_tmpvar_1]) * + _ORBIT_tmpvar_2); + memcpy(_ORBIT_t, ((*keys)._buffer[_ORBIT_tmpvar_0]), + sizeof((*keys)._buffer[_ORBIT_tmpvar_0][_ORBIT_tmpvar_1]) * + _ORBIT_tmpvar_2); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*keys). + _buffer[_ORBIT_tmpvar_0] + [_ORBIT_tmpvar_1]) * + _ORBIT_tmpvar_2); + } + } + + _ORBIT_tmpvar_4 = strlen(locale) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_4)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_4), sizeof(_ORBIT_tmpvar_4)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_4)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (locale), + sizeof(locale[_ORBIT_tmpvar_3]) * + _ORBIT_tmpvar_4); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + *values = ConfigDatabase_ValueList__alloc(); + *is_defaults = ConfigDatabase_IsDefaultList__alloc(); + *is_writables = ConfigDatabase_IsWritableList__alloc(); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**values))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._maximum = ((**values))._length; + ((**values))._buffer = + CORBA_sequence_ConfigValue_allocbuf(((**values))._length); + ((**values))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_46 = 0; _ORBIT_tmpvar_46 < ((**values))._length; + _ORBIT_tmpvar_46++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**values))._buffer[_ORBIT_tmpvar_46]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_46]._d) { + case InvalidVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case IntVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case StringVal: + (*((guint32 *) & (_ORBIT_tmpvar_48))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_48); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + string_value[_ORBIT_tmpvar_47]) * + _ORBIT_tmpvar_48); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + string_value[_ORBIT_tmpvar_47]) * _ORBIT_tmpvar_48; + break; + case FloatVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BoolVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_50))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_50); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.locale[_ORBIT_tmpvar_49]) * + _ORBIT_tmpvar_50); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.locale[_ORBIT_tmpvar_49]) * + _ORBIT_tmpvar_50; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_52))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_52); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.short_desc[_ORBIT_tmpvar_51]) * + _ORBIT_tmpvar_52); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.short_desc[_ORBIT_tmpvar_51]) * + _ORBIT_tmpvar_52; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_54))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_54); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.long_desc[_ORBIT_tmpvar_53]) * + _ORBIT_tmpvar_54); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.long_desc[_ORBIT_tmpvar_53]) * + _ORBIT_tmpvar_54; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_56))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_56); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.owner[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.owner[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_58))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.encoded_default_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58; + break; + case ListVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value.seq. + _length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value.seq. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value.seq. + _length; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value.seq. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_46]. + _u.list_value. + seq._length); + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value.seq. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_59 = 0; + _ORBIT_tmpvar_59 < + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._length; _ORBIT_tmpvar_59++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_61))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_61); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + string_value[_ORBIT_tmpvar_60]) * + _ORBIT_tmpvar_61); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.string_value[_ORBIT_tmpvar_60]) * + _ORBIT_tmpvar_61; + break; + case BFloatVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_63))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_63); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + schema_value. + locale[_ORBIT_tmpvar_62]) * + _ORBIT_tmpvar_63); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.schema_value.locale[_ORBIT_tmpvar_62]) * + _ORBIT_tmpvar_63; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_65))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_65); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + schema_value. + short_desc[_ORBIT_tmpvar_64]) * + _ORBIT_tmpvar_65); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_64]) * + _ORBIT_tmpvar_65; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_67))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_67); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + schema_value. + long_desc[_ORBIT_tmpvar_66]) * + _ORBIT_tmpvar_67); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.schema_value. + long_desc[_ORBIT_tmpvar_66]) * + _ORBIT_tmpvar_67; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_69))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_69); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + schema_value.owner[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.schema_value.owner[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_71))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case PairVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _length; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_46]. + _u.pair_value. + _length); + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_72 = 0; + _ORBIT_tmpvar_72 < + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _length; _ORBIT_tmpvar_72++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_74))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_74); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + string_value[_ORBIT_tmpvar_73]) * + _ORBIT_tmpvar_74); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + string_value[_ORBIT_tmpvar_73]) * + _ORBIT_tmpvar_74; + break; + case BFloatVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_76))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_76); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + schema_value. + locale[_ORBIT_tmpvar_75]) * + _ORBIT_tmpvar_76); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.locale[_ORBIT_tmpvar_75]) * + _ORBIT_tmpvar_76; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_78))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_78); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + schema_value. + short_desc[_ORBIT_tmpvar_77]) * + _ORBIT_tmpvar_78); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value. + short_desc[_ORBIT_tmpvar_77]) * + _ORBIT_tmpvar_78; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_80))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_80); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + schema_value. + long_desc[_ORBIT_tmpvar_79]) * + _ORBIT_tmpvar_80); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.long_desc[_ORBIT_tmpvar_79]) * + _ORBIT_tmpvar_80; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_82))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_82); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + schema_value.owner[_ORBIT_tmpvar_81]) * + _ORBIT_tmpvar_82); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.owner[_ORBIT_tmpvar_81]) * + _ORBIT_tmpvar_82; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_84))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_84); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_83]) * + _ORBIT_tmpvar_84); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_83]) * + _ORBIT_tmpvar_84; + break; + default: + break; + } + } + + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**is_defaults))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**is_defaults))._maximum = ((**is_defaults))._length; + ((**is_defaults))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_defaults))._length); + ((**is_defaults))._release = CORBA_TRUE; + memcpy(((**is_defaults))._buffer, _ORBIT_curptr, + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_85]) * + ((**is_defaults))._length); + _ORBIT_curptr += + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_85]) * + ((**is_defaults))._length; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**is_writables))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**is_writables))._maximum = ((**is_writables))._length; + ((**is_writables))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_writables))._length); + ((**is_writables))._release = CORBA_TRUE; + memcpy(((**is_writables))._buffer, _ORBIT_curptr, + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_86]) * + ((**is_writables))._length); + _ORBIT_curptr += + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_86]) * + ((**is_writables))._length; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._maximum = ((**values))._length; + ((**values))._buffer = + CORBA_sequence_ConfigValue_allocbuf(((**values))._length); + ((**values))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_46 = 0; _ORBIT_tmpvar_46 < ((**values))._length; + _ORBIT_tmpvar_46++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_46]._d = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_46]._d) { + case InvalidVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case IntVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case StringVal: + _ORBIT_tmpvar_48 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_48); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + string_value[_ORBIT_tmpvar_47]) * + _ORBIT_tmpvar_48); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + string_value[_ORBIT_tmpvar_47]) * _ORBIT_tmpvar_48; + break; + case FloatVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BoolVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + value_list_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + value_car_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + value_cdr_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_50 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_50); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.locale[_ORBIT_tmpvar_49]) * + _ORBIT_tmpvar_50); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.locale[_ORBIT_tmpvar_49]) * + _ORBIT_tmpvar_50; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_52 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_52); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.short_desc[_ORBIT_tmpvar_51]) * + _ORBIT_tmpvar_52); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.short_desc[_ORBIT_tmpvar_51]) * + _ORBIT_tmpvar_52; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_54 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_54); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.long_desc[_ORBIT_tmpvar_53]) * + _ORBIT_tmpvar_54); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.long_desc[_ORBIT_tmpvar_53]) * + _ORBIT_tmpvar_54; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_56 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_56); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.owner[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.owner[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_58 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value.encoded_default_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58; + break; + case ListVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value.seq. + _length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value.seq. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value.seq. + _length; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value.seq. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_46]. + _u.list_value. + seq._length); + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value.seq. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_59 = 0; + _ORBIT_tmpvar_59 < + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._length; _ORBIT_tmpvar_59++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._d) { + case BInvalidVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_61 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_61); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + string_value[_ORBIT_tmpvar_60]) * + _ORBIT_tmpvar_61); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.string_value[_ORBIT_tmpvar_60]) * + _ORBIT_tmpvar_61; + break; + case BFloatVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_63 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_63); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + schema_value. + locale[_ORBIT_tmpvar_62]) * + _ORBIT_tmpvar_63); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.schema_value.locale[_ORBIT_tmpvar_62]) * + _ORBIT_tmpvar_63; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_65 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_65); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + schema_value. + short_desc[_ORBIT_tmpvar_64]) * + _ORBIT_tmpvar_65); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_64]) * + _ORBIT_tmpvar_65; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_67 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_67); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + schema_value. + long_desc[_ORBIT_tmpvar_66]) * + _ORBIT_tmpvar_67); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.schema_value. + long_desc[_ORBIT_tmpvar_66]) * + _ORBIT_tmpvar_67; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_69 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_69); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + schema_value.owner[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.schema_value.owner[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_71 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + seq._buffer[_ORBIT_tmpvar_59]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_59]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + list_value.seq._buffer[_ORBIT_tmpvar_59]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_46]._u.list_value. + list_type = *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case PairVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _length; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_46]. + _u.pair_value. + _length); + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_72 = 0; + _ORBIT_tmpvar_72 < + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _length; _ORBIT_tmpvar_72++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._d) { + case BInvalidVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_74 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_74); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + string_value[_ORBIT_tmpvar_73]) * + _ORBIT_tmpvar_74); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + string_value[_ORBIT_tmpvar_73]) * + _ORBIT_tmpvar_74; + break; + case BFloatVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_76 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_76); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + schema_value. + locale[_ORBIT_tmpvar_75]) * + _ORBIT_tmpvar_76); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.locale[_ORBIT_tmpvar_75]) * + _ORBIT_tmpvar_76; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_78 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_78); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + schema_value. + short_desc[_ORBIT_tmpvar_77]) * + _ORBIT_tmpvar_78); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value. + short_desc[_ORBIT_tmpvar_77]) * + _ORBIT_tmpvar_78; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_80 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_80); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + schema_value. + long_desc[_ORBIT_tmpvar_79]) * + _ORBIT_tmpvar_80); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.long_desc[_ORBIT_tmpvar_79]) * + _ORBIT_tmpvar_80; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_82 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_82); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + schema_value.owner[_ORBIT_tmpvar_81]) * + _ORBIT_tmpvar_82); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.owner[_ORBIT_tmpvar_81]) * + _ORBIT_tmpvar_82; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_84 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_46]._u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_84); + memcpy(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_72]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_83]) * + _ORBIT_tmpvar_84); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_46]._u. + pair_value._buffer[_ORBIT_tmpvar_72]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_83]) * + _ORBIT_tmpvar_84; + break; + default: + break; + } + } + + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**is_defaults))._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**is_defaults))._maximum = ((**is_defaults))._length; + ((**is_defaults))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_defaults))._length); + ((**is_defaults))._release = CORBA_TRUE; + memcpy(((**is_defaults))._buffer, _ORBIT_curptr, + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_85]) * + ((**is_defaults))._length); + _ORBIT_curptr += + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_85]) * + ((**is_defaults))._length; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**is_writables))._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**is_writables))._maximum = ((**is_writables))._length; + ((**is_writables))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_writables))._length); + ((**is_writables))._release = CORBA_TRUE; + memcpy(((**is_writables))._buffer, _ORBIT_curptr, + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_86]) * + ((**is_writables))._length); + _ORBIT_curptr += + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_86]) * + ((**is_writables))._length; + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +void +ConfigDatabase_set(ConfigDatabase _obj, const CORBA_char * key, + const ConfigValue * value, CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + set(_obj->servant, key, value, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[4]; + } + _ORBIT_operation_name_data = + { + 4, "set"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 8 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + register CORBA_unsigned_long _ORBIT_tmpvar_4; + CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + register CORBA_unsigned_long _ORBIT_tmpvar_8; + CORBA_unsigned_long _ORBIT_tmpvar_9; + register CORBA_unsigned_long _ORBIT_tmpvar_10; + CORBA_unsigned_long _ORBIT_tmpvar_11; + register CORBA_unsigned_long _ORBIT_tmpvar_12; + CORBA_unsigned_long _ORBIT_tmpvar_13; + register CORBA_unsigned_long _ORBIT_tmpvar_14; + register CORBA_unsigned_long _ORBIT_tmpvar_15; + CORBA_unsigned_long _ORBIT_tmpvar_16; + register CORBA_unsigned_long _ORBIT_tmpvar_17; + CORBA_unsigned_long _ORBIT_tmpvar_18; + register CORBA_unsigned_long _ORBIT_tmpvar_19; + CORBA_unsigned_long _ORBIT_tmpvar_20; + register CORBA_unsigned_long _ORBIT_tmpvar_21; + CORBA_unsigned_long _ORBIT_tmpvar_22; + register CORBA_unsigned_long _ORBIT_tmpvar_23; + CORBA_unsigned_long _ORBIT_tmpvar_24; + register CORBA_unsigned_long _ORBIT_tmpvar_25; + CORBA_unsigned_long _ORBIT_tmpvar_26; + register CORBA_unsigned_long _ORBIT_tmpvar_27; + register CORBA_unsigned_long _ORBIT_tmpvar_28; + CORBA_unsigned_long _ORBIT_tmpvar_29; + register CORBA_unsigned_long _ORBIT_tmpvar_30; + CORBA_unsigned_long _ORBIT_tmpvar_31; + register CORBA_unsigned_long _ORBIT_tmpvar_32; + CORBA_unsigned_long _ORBIT_tmpvar_33; + register CORBA_unsigned_long _ORBIT_tmpvar_34; + CORBA_unsigned_long _ORBIT_tmpvar_35; + register CORBA_unsigned_long _ORBIT_tmpvar_36; + CORBA_unsigned_long _ORBIT_tmpvar_37; + register CORBA_unsigned_long _ORBIT_tmpvar_38; + CORBA_unsigned_long _ORBIT_tmpvar_39; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(key) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (key), + sizeof(key[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + &((*value)._d), sizeof((*value)._d)); + switch ((*value)._d) { + case InvalidVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.dummy), + sizeof((*value)._u.dummy)); + break; + case IntVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.int_value), + sizeof((*value)._u.int_value)); + break; + case StringVal: + _ORBIT_tmpvar_3 = strlen((*value)._u.string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_3)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_3), sizeof(_ORBIT_tmpvar_3)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_3)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.string_value), + sizeof((*value)._u. + string_value + [_ORBIT_tmpvar_2]) * + _ORBIT_tmpvar_3); + break; + case FloatVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.float_value), + sizeof((*value)._u.float_value)); + break; + case BoolVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.bool_value), + sizeof((*value)._u.bool_value)); + break; + case SchemaVal: + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.schema_value. + value_type), + sizeof((*value)._u.schema_value. + value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.schema_value. + value_list_type), + sizeof((*value)._u.schema_value. + value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.schema_value. + value_car_type), + sizeof((*value)._u.schema_value. + value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.schema_value. + value_cdr_type), + sizeof((*value)._u.schema_value. + value_cdr_type)); + _ORBIT_tmpvar_5 = strlen((*value)._u.schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_5)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_5), sizeof(_ORBIT_tmpvar_5)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_5)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.schema_value.locale), + sizeof((*value)._u.schema_value. + locale[_ORBIT_tmpvar_4]) * + _ORBIT_tmpvar_5); + _ORBIT_tmpvar_7 = strlen((*value)._u.schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_7)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_7), sizeof(_ORBIT_tmpvar_7)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_7)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.schema_value. + short_desc), + sizeof((*value)._u.schema_value. + short_desc[_ORBIT_tmpvar_6]) + * _ORBIT_tmpvar_7); + _ORBIT_tmpvar_9 = strlen((*value)._u.schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_9)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_9), sizeof(_ORBIT_tmpvar_9)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_9)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.schema_value. + long_desc), + sizeof((*value)._u.schema_value. + long_desc[_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + _ORBIT_tmpvar_11 = strlen((*value)._u.schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_11)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_11), sizeof(_ORBIT_tmpvar_11)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_11)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.schema_value.owner), + sizeof((*value)._u.schema_value. + owner[_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + _ORBIT_tmpvar_13 = + strlen((*value)._u.schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_13)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_13), sizeof(_ORBIT_tmpvar_13)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_13)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + ((*value)._u.schema_value. + encoded_default_value), + sizeof((*value)._u.schema_value. + encoded_default_value + [_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + break; + case ListVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*value)._u.list_value.seq._length)); + memcpy(_ORBIT_t, &((*value)._u.list_value.seq._length), + sizeof((*value)._u.list_value.seq._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*value)._u.list_value. + seq._length)); + } + for (_ORBIT_tmpvar_14 = 0; + _ORBIT_tmpvar_14 < (*value)._u.list_value.seq._length; + _ORBIT_tmpvar_14++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._d)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._d), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_14]. + _d)); + } + switch ((*value)._u.list_value.seq._buffer[_ORBIT_tmpvar_14]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.dummy)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.dummy), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.int_value)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.int_value), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_16 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_16)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_16), + sizeof(_ORBIT_tmpvar_16)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_16)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + string_value[_ORBIT_tmpvar_15]) * + _ORBIT_tmpvar_16); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.string_value), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + string_value[_ORBIT_tmpvar_15]) * + _ORBIT_tmpvar_16); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u. + string_value + [_ORBIT_tmpvar_15]) + * _ORBIT_tmpvar_16); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.float_value)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.float_value), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.bool_value)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.bool_value), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_type)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_type), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_list_type)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_list_type), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_car_type)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_car_type), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_cdr_type)); + memcpy(_ORBIT_t, + &((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_cdr_type), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + value_cdr_type)); + } + _ORBIT_tmpvar_18 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_18)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_18), + sizeof(_ORBIT_tmpvar_18)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_18)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + locale[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + locale), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + locale[_ORBIT_tmpvar_17]) * + _ORBIT_tmpvar_18); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + locale + [_ORBIT_tmpvar_17]) + * _ORBIT_tmpvar_18); + } + _ORBIT_tmpvar_20 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_20)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_20), + sizeof(_ORBIT_tmpvar_20)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_20)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + short_desc[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + short_desc), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + short_desc[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + short_desc + [_ORBIT_tmpvar_19]) + * _ORBIT_tmpvar_20); + } + _ORBIT_tmpvar_22 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_22)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_22), + sizeof(_ORBIT_tmpvar_22)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_22)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + long_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + long_desc), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + long_desc[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + long_desc + [_ORBIT_tmpvar_21]) + * _ORBIT_tmpvar_22); + } + _ORBIT_tmpvar_24 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_24)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_24), + sizeof(_ORBIT_tmpvar_24)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_24)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + owner[_ORBIT_tmpvar_23]) * _ORBIT_tmpvar_24); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + owner), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + owner[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + owner + [_ORBIT_tmpvar_23]) + * _ORBIT_tmpvar_24); + } + _ORBIT_tmpvar_26 = + strlen((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_26)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_26), + sizeof(_ORBIT_tmpvar_26)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_26)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + memcpy(_ORBIT_t, + ((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + encoded_default_value), + sizeof((*value)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_14]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + list_value.seq. + _buffer + [_ORBIT_tmpvar_14]. + _u.schema_value. + encoded_default_value + [_ORBIT_tmpvar_25]) + * _ORBIT_tmpvar_26); + } + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + &((*value)._u.list_value.list_type), + sizeof((*value)._u.list_value. + list_type)); + break; + case PairVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*value)._u.pair_value._length)); + memcpy(_ORBIT_t, &((*value)._u.pair_value._length), + sizeof((*value)._u.pair_value._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*value)._u.pair_value. + _length)); + } + for (_ORBIT_tmpvar_27 = 0; + _ORBIT_tmpvar_27 < (*value)._u.pair_value._length; + _ORBIT_tmpvar_27++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _d)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _d), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u.pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _d)); + } + switch ((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.dummy)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.dummy), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.int_value)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.int_value), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_29 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_29)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_29), + sizeof(_ORBIT_tmpvar_29)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_29)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + string_value[_ORBIT_tmpvar_28]) * + _ORBIT_tmpvar_29); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.string_value), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + string_value[_ORBIT_tmpvar_28]) * + _ORBIT_tmpvar_29); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u. + string_value + [_ORBIT_tmpvar_28]) + * _ORBIT_tmpvar_29); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.float_value)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.float_value), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.bool_value)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.bool_value), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_type)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_type), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_list_type)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_list_type), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_car_type)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_car_type), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_cdr_type)); + memcpy(_ORBIT_t, + &((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_cdr_type), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + value_cdr_type)); + } + _ORBIT_tmpvar_31 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_31)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_31), + sizeof(_ORBIT_tmpvar_31)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_31)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + locale[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + locale), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + locale[_ORBIT_tmpvar_30]) * + _ORBIT_tmpvar_31); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + locale + [_ORBIT_tmpvar_30]) + * _ORBIT_tmpvar_31); + } + _ORBIT_tmpvar_33 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_33)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_33), + sizeof(_ORBIT_tmpvar_33)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_33)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + short_desc[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + short_desc), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + short_desc[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + short_desc + [_ORBIT_tmpvar_32]) + * _ORBIT_tmpvar_33); + } + _ORBIT_tmpvar_35 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_35)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_35), + sizeof(_ORBIT_tmpvar_35)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_35)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + long_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + long_desc), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + long_desc[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + long_desc + [_ORBIT_tmpvar_34]) + * _ORBIT_tmpvar_35); + } + _ORBIT_tmpvar_37 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_37)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_37), + sizeof(_ORBIT_tmpvar_37)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_37)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + owner[_ORBIT_tmpvar_36]) * _ORBIT_tmpvar_37); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + owner), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + owner[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + owner + [_ORBIT_tmpvar_36]) + * _ORBIT_tmpvar_37); + } + _ORBIT_tmpvar_39 = + strlen((*value)._u.pair_value._buffer[_ORBIT_tmpvar_27]. + _u.schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_39)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_39), + sizeof(_ORBIT_tmpvar_39)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_39)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + memcpy(_ORBIT_t, + ((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + encoded_default_value), + sizeof((*value)._u.pair_value. + _buffer[_ORBIT_tmpvar_27]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*value)._u. + pair_value. + _buffer + [_ORBIT_tmpvar_27]. + _u.schema_value. + encoded_default_value + [_ORBIT_tmpvar_38]) + * _ORBIT_tmpvar_39); + } + break; + default: + break; + } + } + + break; + default: + break; + } + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +void +ConfigDatabase_unset(ConfigDatabase _obj, const CORBA_char * key, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + unset(_obj->servant, key, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[6]; + } + _ORBIT_operation_name_data = + { + 6, "unset"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 10 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(key) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (key), + sizeof(key[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +void +ConfigDatabase_unset_with_locale(ConfigDatabase _obj, const CORBA_char * key, + const CORBA_char * locale, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + unset_with_locale(_obj->servant, key, locale, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[18]; + } + _ORBIT_operation_name_data = + { + 18, "unset_with_locale"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 22 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(key) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (key), + sizeof(key[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + _ORBIT_tmpvar_3 = strlen(locale) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_3)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_3), sizeof(_ORBIT_tmpvar_3)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_3)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (locale), + sizeof(locale[_ORBIT_tmpvar_2]) * + _ORBIT_tmpvar_3); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +void +ConfigDatabase_batch_change(ConfigDatabase _obj, const CORBA_char * locale, + const ConfigDatabase_KeyList * keys, + const ConfigDatabase_ValueList * values, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + batch_change(_obj->servant, locale, keys, values, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[13]; + } + _ORBIT_operation_name_data = + { + 13, "batch_change"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 17 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + register CORBA_unsigned_long _ORBIT_tmpvar_3; + CORBA_unsigned_long _ORBIT_tmpvar_4; + register CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + register CORBA_unsigned_long _ORBIT_tmpvar_8; + CORBA_unsigned_long _ORBIT_tmpvar_9; + register CORBA_unsigned_long _ORBIT_tmpvar_10; + CORBA_unsigned_long _ORBIT_tmpvar_11; + register CORBA_unsigned_long _ORBIT_tmpvar_12; + CORBA_unsigned_long _ORBIT_tmpvar_13; + register CORBA_unsigned_long _ORBIT_tmpvar_14; + CORBA_unsigned_long _ORBIT_tmpvar_15; + register CORBA_unsigned_long _ORBIT_tmpvar_16; + CORBA_unsigned_long _ORBIT_tmpvar_17; + register CORBA_unsigned_long _ORBIT_tmpvar_18; + register CORBA_unsigned_long _ORBIT_tmpvar_19; + CORBA_unsigned_long _ORBIT_tmpvar_20; + register CORBA_unsigned_long _ORBIT_tmpvar_21; + CORBA_unsigned_long _ORBIT_tmpvar_22; + register CORBA_unsigned_long _ORBIT_tmpvar_23; + CORBA_unsigned_long _ORBIT_tmpvar_24; + register CORBA_unsigned_long _ORBIT_tmpvar_25; + CORBA_unsigned_long _ORBIT_tmpvar_26; + register CORBA_unsigned_long _ORBIT_tmpvar_27; + CORBA_unsigned_long _ORBIT_tmpvar_28; + register CORBA_unsigned_long _ORBIT_tmpvar_29; + CORBA_unsigned_long _ORBIT_tmpvar_30; + register CORBA_unsigned_long _ORBIT_tmpvar_31; + register CORBA_unsigned_long _ORBIT_tmpvar_32; + CORBA_unsigned_long _ORBIT_tmpvar_33; + register CORBA_unsigned_long _ORBIT_tmpvar_34; + CORBA_unsigned_long _ORBIT_tmpvar_35; + register CORBA_unsigned_long _ORBIT_tmpvar_36; + CORBA_unsigned_long _ORBIT_tmpvar_37; + register CORBA_unsigned_long _ORBIT_tmpvar_38; + CORBA_unsigned_long _ORBIT_tmpvar_39; + register CORBA_unsigned_long _ORBIT_tmpvar_40; + CORBA_unsigned_long _ORBIT_tmpvar_41; + register CORBA_unsigned_long _ORBIT_tmpvar_42; + CORBA_unsigned_long _ORBIT_tmpvar_43; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(locale) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (locale), + sizeof(locale[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*keys)._length)); + memcpy(_ORBIT_t, &((*keys)._length), sizeof((*keys)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*keys)._length)); + } + for (_ORBIT_tmpvar_2 = 0; _ORBIT_tmpvar_2 < (*keys)._length; + _ORBIT_tmpvar_2++) { + _ORBIT_tmpvar_4 = strlen((*keys)._buffer[_ORBIT_tmpvar_2]) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_4)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_4), sizeof(_ORBIT_tmpvar_4)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_4)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*keys)._buffer[_ORBIT_tmpvar_2][_ORBIT_tmpvar_3]) * + _ORBIT_tmpvar_4); + memcpy(_ORBIT_t, ((*keys)._buffer[_ORBIT_tmpvar_2]), + sizeof((*keys)._buffer[_ORBIT_tmpvar_2][_ORBIT_tmpvar_3]) * + _ORBIT_tmpvar_4); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*keys). + _buffer[_ORBIT_tmpvar_2] + [_ORBIT_tmpvar_3]) * + _ORBIT_tmpvar_4); + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*values)._length)); + memcpy(_ORBIT_t, &((*values)._length), sizeof((*values)._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*values)._length)); + } + for (_ORBIT_tmpvar_5 = 0; _ORBIT_tmpvar_5 < (*values)._length; + _ORBIT_tmpvar_5++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof((*values)._buffer[_ORBIT_tmpvar_5]._d)); + memcpy(_ORBIT_t, &((*values)._buffer[_ORBIT_tmpvar_5]._d), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof((*values). + _buffer[_ORBIT_tmpvar_5]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_5]._d) { + case InvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u.dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.dummy), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u.dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + dummy)); + } + break; + case IntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u.int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.int_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + int_value)); + } + break; + case StringVal: + _ORBIT_tmpvar_7 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u.string_value) + + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_7)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_7), + sizeof(_ORBIT_tmpvar_7)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_7)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + string_value[_ORBIT_tmpvar_6]) * _ORBIT_tmpvar_7); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u.string_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + string_value[_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + string_value + [_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7); + } + break; + case FloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.float_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + float_value)); + } + break; + case BoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.bool_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + bool_value)); + } + break; + case SchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + value_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + schema_value. + value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + value_list_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + schema_value. + value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + value_car_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + schema_value. + value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + value_cdr_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + schema_value. + value_cdr_type)); + } + _ORBIT_tmpvar_9 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_9)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_9), + sizeof(_ORBIT_tmpvar_9)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_9)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.locale[_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + locale), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.locale[_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + schema_value. + locale + [_ORBIT_tmpvar_8]) * + _ORBIT_tmpvar_9); + } + _ORBIT_tmpvar_11 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_11)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_11), + sizeof(_ORBIT_tmpvar_11)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_11)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.short_desc[_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + short_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.short_desc[_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + schema_value. + short_desc + [_ORBIT_tmpvar_10]) * + _ORBIT_tmpvar_11); + } + _ORBIT_tmpvar_13 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_13)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_13), + sizeof(_ORBIT_tmpvar_13)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_13)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.long_desc[_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + long_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.long_desc[_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + schema_value. + long_desc + [_ORBIT_tmpvar_12]) * + _ORBIT_tmpvar_13); + } + _ORBIT_tmpvar_15 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_15)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_15), + sizeof(_ORBIT_tmpvar_15)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_15)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.owner[_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + owner), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value.owner[_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + schema_value. + owner + [_ORBIT_tmpvar_14]) * + _ORBIT_tmpvar_15); + } + _ORBIT_tmpvar_17 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_17)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_17), + sizeof(_ORBIT_tmpvar_17)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof(_ORBIT_tmpvar_17)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_16]) * + _ORBIT_tmpvar_17); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u.schema_value. + encoded_default_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_16]) * + _ORBIT_tmpvar_17); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_16]) * + _ORBIT_tmpvar_17); + } + break; + case ListVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u.list_value. + seq._length)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.list_value. + seq._length), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + list_value.seq. + _length)); + } + for (_ORBIT_tmpvar_18 = 0; + _ORBIT_tmpvar_18 < + (*values)._buffer[_ORBIT_tmpvar_5]._u.list_value.seq. + _length; _ORBIT_tmpvar_18++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._d)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.list_value. + seq._buffer[_ORBIT_tmpvar_18]._d), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value.seq. + _buffer + [_ORBIT_tmpvar_18]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_5]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_18]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + dummy), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u.dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + int_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_20 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_20)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_20), + sizeof(_ORBIT_tmpvar_20)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_20)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.string_value[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + string_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + string_value[_ORBIT_tmpvar_19]) * + _ORBIT_tmpvar_20); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + string_value + [_ORBIT_tmpvar_19]) + * _ORBIT_tmpvar_20); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + float_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + bool_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + schema_value. + value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_list_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + schema_value. + value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_car_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + schema_value. + value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_cdr_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + schema_value. + value_cdr_type)); + } + _ORBIT_tmpvar_22 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_22)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_22), + sizeof(_ORBIT_tmpvar_22)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_22)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.schema_value. + locale[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.locale), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + locale[_ORBIT_tmpvar_21]) * + _ORBIT_tmpvar_22); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + schema_value. + locale + [_ORBIT_tmpvar_21]) + * _ORBIT_tmpvar_22); + } + _ORBIT_tmpvar_24 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_24)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_24), + sizeof(_ORBIT_tmpvar_24)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_24)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.short_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + short_desc[_ORBIT_tmpvar_23]) * + _ORBIT_tmpvar_24); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + schema_value. + short_desc + [_ORBIT_tmpvar_23]) + * _ORBIT_tmpvar_24); + } + _ORBIT_tmpvar_26 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_26)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_26), + sizeof(_ORBIT_tmpvar_26)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_26)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.schema_value. + long_desc[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.long_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + long_desc[_ORBIT_tmpvar_25]) * + _ORBIT_tmpvar_26); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + schema_value. + long_desc + [_ORBIT_tmpvar_25]) + * _ORBIT_tmpvar_26); + } + _ORBIT_tmpvar_28 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_28)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_28), + sizeof(_ORBIT_tmpvar_28)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_28)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.schema_value.owner[_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.owner), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value.owner[_ORBIT_tmpvar_27]) * + _ORBIT_tmpvar_28); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + schema_value. + owner + [_ORBIT_tmpvar_27]) + * _ORBIT_tmpvar_28); + } + _ORBIT_tmpvar_30 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_30)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_30), + sizeof(_ORBIT_tmpvar_30)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_30)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_29]) * + _ORBIT_tmpvar_30); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq._buffer[_ORBIT_tmpvar_18]._u. + schema_value.encoded_default_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.seq. + _buffer[_ORBIT_tmpvar_18]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_29]) * + _ORBIT_tmpvar_30); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.list_value. + seq. + _buffer + [_ORBIT_tmpvar_18]. + _u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_29]) + * _ORBIT_tmpvar_30); + } + break; + default: + break; + } + } + + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u.list_value. + list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.list_value. + list_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + list_value.list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + list_value.list_type)); + } + break; + case PairVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u.pair_value. + _length)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.pair_value. + _length), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._length)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]._u. + pair_value._length)); + } + for (_ORBIT_tmpvar_31 = 0; + _ORBIT_tmpvar_31 < + (*values)._buffer[_ORBIT_tmpvar_5]._u.pair_value._length; + _ORBIT_tmpvar_31++) { + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._d)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u.pair_value. + _buffer[_ORBIT_tmpvar_31]._d), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._d)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _d)); + } + switch ((*values)._buffer[_ORBIT_tmpvar_5]._u.pair_value. + _buffer[_ORBIT_tmpvar_31]._d) { + case BInvalidVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + dummy)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + dummy), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.dummy)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u.dummy)); + } + break; + case BIntVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + int_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + int_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.int_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u.int_value)); + } + break; + case BStringVal: + _ORBIT_tmpvar_33 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + string_value) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_33)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_33), + sizeof(_ORBIT_tmpvar_33)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_33)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + string_value[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + string_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.string_value[_ORBIT_tmpvar_32]) * + _ORBIT_tmpvar_33); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + string_value + [_ORBIT_tmpvar_32]) + * _ORBIT_tmpvar_33); + } + break; + case BFloatVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + float_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + float_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.float_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + float_value)); + } + break; + case BBoolVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + bool_value)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + bool_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.bool_value)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + bool_value)); + } + break; + case BSchemaVal: + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.value_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + schema_value. + value_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_list_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_list_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.value_list_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + schema_value. + value_list_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_car_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_car_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.value_car_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + schema_value. + value_car_type)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_cdr_type)); + memcpy(_ORBIT_t, + &((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.value_cdr_type), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value.value_cdr_type)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + schema_value. + value_cdr_type)); + } + _ORBIT_tmpvar_35 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.locale) + 1; + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_35)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_35), + sizeof(_ORBIT_tmpvar_35)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_35)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.locale[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.locale), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value. + locale[_ORBIT_tmpvar_34]) * + _ORBIT_tmpvar_35); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + schema_value. + locale + [_ORBIT_tmpvar_34]) + * _ORBIT_tmpvar_35); + } + _ORBIT_tmpvar_37 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.short_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_37)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_37), + sizeof(_ORBIT_tmpvar_37)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_37)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value. + short_desc[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.short_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_36]) * + _ORBIT_tmpvar_37); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + schema_value. + short_desc + [_ORBIT_tmpvar_36]) + * _ORBIT_tmpvar_37); + } + _ORBIT_tmpvar_39 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.long_desc) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_39)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_39), + sizeof(_ORBIT_tmpvar_39)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_39)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value. + long_desc[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.long_desc), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value. + long_desc[_ORBIT_tmpvar_38]) * + _ORBIT_tmpvar_39); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + schema_value. + long_desc + [_ORBIT_tmpvar_38]) + * _ORBIT_tmpvar_39); + } + _ORBIT_tmpvar_41 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.owner) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_41)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_41), + sizeof(_ORBIT_tmpvar_41)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_41)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.owner[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.owner), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value. + owner[_ORBIT_tmpvar_40]) * + _ORBIT_tmpvar_41); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + schema_value. + owner + [_ORBIT_tmpvar_40]) + * _ORBIT_tmpvar_41); + } + _ORBIT_tmpvar_43 = + strlen((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.encoded_default_value) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_43)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_43), + sizeof(_ORBIT_tmpvar_43)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof + (_ORBIT_tmpvar_43)); + } + { + guchar *_ORBIT_t; + + _ORBIT_t = + alloca(sizeof + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + memcpy(_ORBIT_t, + ((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]._u. + schema_value.encoded_default_value), + sizeof((*values)._buffer[_ORBIT_tmpvar_5]._u. + pair_value._buffer[_ORBIT_tmpvar_31]. + _u.schema_value. + encoded_default_value + [_ORBIT_tmpvar_42]) * + _ORBIT_tmpvar_43); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), + (_ORBIT_t), + sizeof((*values). + _buffer + [_ORBIT_tmpvar_5]. + _u.pair_value. + _buffer + [_ORBIT_tmpvar_31]. + _u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_42]) + * _ORBIT_tmpvar_43); + } + break; + default: + break; + } + } + + break; + default: + break; + } + } + + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +CORBA_boolean +ConfigDatabase_dir_exists(ConfigDatabase _obj, const CORBA_char * dir, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + CORBA_boolean _ORBIT_retval; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + _ORBIT_retval = + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + dir_exists(_obj->servant, dir, ev); + return _ORBIT_retval; + } + if (0) + return *(&_ORBIT_retval); + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[11]; + } + _ORBIT_operation_name_data = + { + 11, "dir_exists"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 15 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(dir) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (dir), + sizeof(dir[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_retval = *((CORBA_boolean *) _ORBIT_curptr); + } else { + _ORBIT_retval = *((CORBA_boolean *) _ORBIT_curptr); + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return _ORBIT_retval; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + } + } +} +void +ConfigDatabase_remove_dir(ConfigDatabase _obj, const CORBA_char * dir, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + remove_dir(_obj->servant, dir, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[11]; + } + _ORBIT_operation_name_data = + { + 11, "remove_dir"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 15 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(dir) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (dir), + sizeof(dir[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +void +ConfigDatabase_all_entries(ConfigDatabase _obj, const CORBA_char * dir, + const CORBA_char * locale, + ConfigDatabase_KeyList ** keys, + ConfigDatabase_ValueList ** values, + ConfigDatabase_IsDefaultList ** is_defaults, + ConfigDatabase_IsWritableList ** is_writables, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + register CORBA_unsigned_long _ORBIT_tmpvar_48; + register CORBA_unsigned_long _ORBIT_tmpvar_49; + CORBA_unsigned_long _ORBIT_tmpvar_50; + register CORBA_unsigned_long _ORBIT_tmpvar_51; + register CORBA_unsigned_long _ORBIT_tmpvar_52; + CORBA_unsigned_long _ORBIT_tmpvar_53; + register CORBA_unsigned_long _ORBIT_tmpvar_54; + CORBA_unsigned_long _ORBIT_tmpvar_55; + register CORBA_unsigned_long _ORBIT_tmpvar_56; + CORBA_unsigned_long _ORBIT_tmpvar_57; + register CORBA_unsigned_long _ORBIT_tmpvar_58; + CORBA_unsigned_long _ORBIT_tmpvar_59; + register CORBA_unsigned_long _ORBIT_tmpvar_60; + CORBA_unsigned_long _ORBIT_tmpvar_61; + register CORBA_unsigned_long _ORBIT_tmpvar_62; + CORBA_unsigned_long _ORBIT_tmpvar_63; + register CORBA_unsigned_long _ORBIT_tmpvar_64; + register CORBA_unsigned_long _ORBIT_tmpvar_65; + CORBA_unsigned_long _ORBIT_tmpvar_66; + register CORBA_unsigned_long _ORBIT_tmpvar_67; + CORBA_unsigned_long _ORBIT_tmpvar_68; + register CORBA_unsigned_long _ORBIT_tmpvar_69; + CORBA_unsigned_long _ORBIT_tmpvar_70; + register CORBA_unsigned_long _ORBIT_tmpvar_71; + CORBA_unsigned_long _ORBIT_tmpvar_72; + register CORBA_unsigned_long _ORBIT_tmpvar_73; + CORBA_unsigned_long _ORBIT_tmpvar_74; + register CORBA_unsigned_long _ORBIT_tmpvar_75; + CORBA_unsigned_long _ORBIT_tmpvar_76; + register CORBA_unsigned_long _ORBIT_tmpvar_77; + register CORBA_unsigned_long _ORBIT_tmpvar_78; + CORBA_unsigned_long _ORBIT_tmpvar_79; + register CORBA_unsigned_long _ORBIT_tmpvar_80; + CORBA_unsigned_long _ORBIT_tmpvar_81; + register CORBA_unsigned_long _ORBIT_tmpvar_82; + CORBA_unsigned_long _ORBIT_tmpvar_83; + register CORBA_unsigned_long _ORBIT_tmpvar_84; + CORBA_unsigned_long _ORBIT_tmpvar_85; + register CORBA_unsigned_long _ORBIT_tmpvar_86; + CORBA_unsigned_long _ORBIT_tmpvar_87; + register CORBA_unsigned_long _ORBIT_tmpvar_88; + CORBA_unsigned_long _ORBIT_tmpvar_89; + register CORBA_unsigned_long _ORBIT_tmpvar_90; + register CORBA_unsigned_long _ORBIT_tmpvar_91; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + all_entries(_obj->servant, dir, locale, keys, values, is_defaults, + is_writables, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[12]; + } + _ORBIT_operation_name_data = + { + 12, "all_entries"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 16 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(dir) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (dir), + sizeof(dir[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + _ORBIT_tmpvar_3 = strlen(locale) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_3)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_3), sizeof(_ORBIT_tmpvar_3)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_3)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (locale), + sizeof(locale[_ORBIT_tmpvar_2]) * + _ORBIT_tmpvar_3); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + *keys = ConfigDatabase_KeyList__alloc(); + *values = ConfigDatabase_ValueList__alloc(); + *is_defaults = ConfigDatabase_IsDefaultList__alloc(); + *is_writables = ConfigDatabase_IsWritableList__alloc(); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**keys))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**keys))._maximum = ((**keys))._length; + ((**keys))._buffer = + CORBA_sequence_CORBA_string_allocbuf(((**keys))._length); + ((**keys))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_48 = 0; _ORBIT_tmpvar_48 < ((**keys))._length; + _ORBIT_tmpvar_48++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_50))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**keys))._buffer[_ORBIT_tmpvar_48] = + CORBA_string_alloc(_ORBIT_tmpvar_50); + memcpy(((**keys))._buffer[_ORBIT_tmpvar_48], _ORBIT_curptr, + sizeof(((**keys)). + _buffer[_ORBIT_tmpvar_48][_ORBIT_tmpvar_49]) * + _ORBIT_tmpvar_50); + _ORBIT_curptr += + sizeof(((**keys)). + _buffer[_ORBIT_tmpvar_48][_ORBIT_tmpvar_49]) * + _ORBIT_tmpvar_50; + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**values))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._maximum = ((**values))._length; + ((**values))._buffer = + CORBA_sequence_ConfigValue_allocbuf(((**values))._length); + ((**values))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_51 = 0; _ORBIT_tmpvar_51 < ((**values))._length; + _ORBIT_tmpvar_51++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**values))._buffer[_ORBIT_tmpvar_51]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_51]._d) { + case InvalidVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case IntVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case StringVal: + (*((guint32 *) & (_ORBIT_tmpvar_53))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_53); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + string_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + string_value[_ORBIT_tmpvar_52]) * _ORBIT_tmpvar_53; + break; + case FloatVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BoolVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_55))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_55); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.locale[_ORBIT_tmpvar_54]) * + _ORBIT_tmpvar_55); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.locale[_ORBIT_tmpvar_54]) * + _ORBIT_tmpvar_55; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_57))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_57); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.short_desc[_ORBIT_tmpvar_56]) * + _ORBIT_tmpvar_57); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.short_desc[_ORBIT_tmpvar_56]) * + _ORBIT_tmpvar_57; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_59))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_59); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.long_desc[_ORBIT_tmpvar_58]) * + _ORBIT_tmpvar_59); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.long_desc[_ORBIT_tmpvar_58]) * + _ORBIT_tmpvar_59; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_61))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_61); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.owner[_ORBIT_tmpvar_60]) * + _ORBIT_tmpvar_61); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.owner[_ORBIT_tmpvar_60]) * + _ORBIT_tmpvar_61; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_63))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_63); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.encoded_default_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_62]) * + _ORBIT_tmpvar_63); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_62]) * + _ORBIT_tmpvar_63; + break; + case ListVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value.seq. + _length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value.seq. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value.seq. + _length; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value.seq. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_51]. + _u.list_value. + seq._length); + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value.seq. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_64 = 0; + _ORBIT_tmpvar_64 < + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._length; _ORBIT_tmpvar_64++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_66))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_66); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + string_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.string_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + case BFloatVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_68))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_68); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + schema_value. + locale[_ORBIT_tmpvar_67]) * + _ORBIT_tmpvar_68); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.schema_value.locale[_ORBIT_tmpvar_67]) * + _ORBIT_tmpvar_68; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_70))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_70); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + schema_value. + short_desc[_ORBIT_tmpvar_69]) * + _ORBIT_tmpvar_70); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_69]) * + _ORBIT_tmpvar_70; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_72))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_72); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + schema_value. + long_desc[_ORBIT_tmpvar_71]) * + _ORBIT_tmpvar_72); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.schema_value. + long_desc[_ORBIT_tmpvar_71]) * + _ORBIT_tmpvar_72; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_74))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_74); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + schema_value.owner[_ORBIT_tmpvar_73]) * + _ORBIT_tmpvar_74); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.schema_value.owner[_ORBIT_tmpvar_73]) * + _ORBIT_tmpvar_74; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_76))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_76); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_75]) * + _ORBIT_tmpvar_76); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_75]) * + _ORBIT_tmpvar_76; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case PairVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _length; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_51]. + _u.pair_value. + _length); + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_77 = 0; + _ORBIT_tmpvar_77 < + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _length; _ORBIT_tmpvar_77++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_79))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_79); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + string_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + string_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + case BFloatVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_81))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_81); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + schema_value. + locale[_ORBIT_tmpvar_80]) * + _ORBIT_tmpvar_81); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.locale[_ORBIT_tmpvar_80]) * + _ORBIT_tmpvar_81; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_83))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_83); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + schema_value. + short_desc[_ORBIT_tmpvar_82]) * + _ORBIT_tmpvar_83); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value. + short_desc[_ORBIT_tmpvar_82]) * + _ORBIT_tmpvar_83; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_85))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_85); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + schema_value. + long_desc[_ORBIT_tmpvar_84]) * + _ORBIT_tmpvar_85); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.long_desc[_ORBIT_tmpvar_84]) * + _ORBIT_tmpvar_85; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_87))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_87); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + schema_value.owner[_ORBIT_tmpvar_86]) * + _ORBIT_tmpvar_87); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.owner[_ORBIT_tmpvar_86]) * + _ORBIT_tmpvar_87; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_89))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_89); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_88]) * + _ORBIT_tmpvar_89); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_88]) * + _ORBIT_tmpvar_89; + break; + default: + break; + } + } + + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**is_defaults))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**is_defaults))._maximum = ((**is_defaults))._length; + ((**is_defaults))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_defaults))._length); + ((**is_defaults))._release = CORBA_TRUE; + memcpy(((**is_defaults))._buffer, _ORBIT_curptr, + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_90]) * + ((**is_defaults))._length); + _ORBIT_curptr += + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_90]) * + ((**is_defaults))._length; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**is_writables))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**is_writables))._maximum = ((**is_writables))._length; + ((**is_writables))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_writables))._length); + ((**is_writables))._release = CORBA_TRUE; + memcpy(((**is_writables))._buffer, _ORBIT_curptr, + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_91]) * + ((**is_writables))._length); + _ORBIT_curptr += + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_91]) * + ((**is_writables))._length; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**keys))._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**keys))._maximum = ((**keys))._length; + ((**keys))._buffer = + CORBA_sequence_CORBA_string_allocbuf(((**keys))._length); + ((**keys))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_48 = 0; _ORBIT_tmpvar_48 < ((**keys))._length; + _ORBIT_tmpvar_48++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_50 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**keys))._buffer[_ORBIT_tmpvar_48] = + CORBA_string_alloc(_ORBIT_tmpvar_50); + memcpy(((**keys))._buffer[_ORBIT_tmpvar_48], _ORBIT_curptr, + sizeof(((**keys)). + _buffer[_ORBIT_tmpvar_48][_ORBIT_tmpvar_49]) * + _ORBIT_tmpvar_50); + _ORBIT_curptr += + sizeof(((**keys)). + _buffer[_ORBIT_tmpvar_48][_ORBIT_tmpvar_49]) * + _ORBIT_tmpvar_50; + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._maximum = ((**values))._length; + ((**values))._buffer = + CORBA_sequence_ConfigValue_allocbuf(((**values))._length); + ((**values))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_51 = 0; _ORBIT_tmpvar_51 < ((**values))._length; + _ORBIT_tmpvar_51++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_51]._d = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_51]._d) { + case InvalidVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case IntVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case StringVal: + _ORBIT_tmpvar_53 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_53); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + string_value[_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + string_value[_ORBIT_tmpvar_52]) * _ORBIT_tmpvar_53; + break; + case FloatVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BoolVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + value_list_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + value_car_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + value_cdr_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_55 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_55); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.locale[_ORBIT_tmpvar_54]) * + _ORBIT_tmpvar_55); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.locale[_ORBIT_tmpvar_54]) * + _ORBIT_tmpvar_55; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_57 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_57); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.short_desc[_ORBIT_tmpvar_56]) * + _ORBIT_tmpvar_57); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.short_desc[_ORBIT_tmpvar_56]) * + _ORBIT_tmpvar_57; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_59 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_59); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.long_desc[_ORBIT_tmpvar_58]) * + _ORBIT_tmpvar_59); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.long_desc[_ORBIT_tmpvar_58]) * + _ORBIT_tmpvar_59; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_61 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_61); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.owner[_ORBIT_tmpvar_60]) * + _ORBIT_tmpvar_61); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.owner[_ORBIT_tmpvar_60]) * + _ORBIT_tmpvar_61; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_63 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_63); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value.encoded_default_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_62]) * + _ORBIT_tmpvar_63); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_62]) * + _ORBIT_tmpvar_63; + break; + case ListVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value.seq. + _length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value.seq. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value.seq. + _length; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value.seq. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_51]. + _u.list_value. + seq._length); + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value.seq. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_64 = 0; + _ORBIT_tmpvar_64 < + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._length; _ORBIT_tmpvar_64++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._d) { + case BInvalidVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_66 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_66); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + string_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.string_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + case BFloatVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_68 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_68); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + schema_value. + locale[_ORBIT_tmpvar_67]) * + _ORBIT_tmpvar_68); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.schema_value.locale[_ORBIT_tmpvar_67]) * + _ORBIT_tmpvar_68; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_70 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_70); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + schema_value. + short_desc[_ORBIT_tmpvar_69]) * + _ORBIT_tmpvar_70); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_69]) * + _ORBIT_tmpvar_70; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_72 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_72); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + schema_value. + long_desc[_ORBIT_tmpvar_71]) * + _ORBIT_tmpvar_72); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.schema_value. + long_desc[_ORBIT_tmpvar_71]) * + _ORBIT_tmpvar_72; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_74 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_74); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + schema_value.owner[_ORBIT_tmpvar_73]) * + _ORBIT_tmpvar_74); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.schema_value.owner[_ORBIT_tmpvar_73]) * + _ORBIT_tmpvar_74; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_76 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + seq._buffer[_ORBIT_tmpvar_64]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_76); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_64]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_75]) * + _ORBIT_tmpvar_76); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + list_value.seq._buffer[_ORBIT_tmpvar_64]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_75]) * + _ORBIT_tmpvar_76; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_51]._u.list_value. + list_type = *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case PairVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _length; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_51]. + _u.pair_value. + _length); + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_77 = 0; + _ORBIT_tmpvar_77 < + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _length; _ORBIT_tmpvar_77++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._d) { + case BInvalidVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_79 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_79); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + string_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + string_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + case BFloatVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_81 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_81); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + schema_value. + locale[_ORBIT_tmpvar_80]) * + _ORBIT_tmpvar_81); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.locale[_ORBIT_tmpvar_80]) * + _ORBIT_tmpvar_81; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_83 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_83); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + schema_value. + short_desc[_ORBIT_tmpvar_82]) * + _ORBIT_tmpvar_83); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value. + short_desc[_ORBIT_tmpvar_82]) * + _ORBIT_tmpvar_83; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_85 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_85); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + schema_value. + long_desc[_ORBIT_tmpvar_84]) * + _ORBIT_tmpvar_85); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.long_desc[_ORBIT_tmpvar_84]) * + _ORBIT_tmpvar_85; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_87 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_87); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + schema_value.owner[_ORBIT_tmpvar_86]) * + _ORBIT_tmpvar_87); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.owner[_ORBIT_tmpvar_86]) * + _ORBIT_tmpvar_87; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_89 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_51]._u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_89); + memcpy(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_77]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_88]) * + _ORBIT_tmpvar_89); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_51]._u. + pair_value._buffer[_ORBIT_tmpvar_77]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_88]) * + _ORBIT_tmpvar_89; + break; + default: + break; + } + } + + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**is_defaults))._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**is_defaults))._maximum = ((**is_defaults))._length; + ((**is_defaults))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_defaults))._length); + ((**is_defaults))._release = CORBA_TRUE; + memcpy(((**is_defaults))._buffer, _ORBIT_curptr, + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_90]) * + ((**is_defaults))._length); + _ORBIT_curptr += + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_90]) * + ((**is_defaults))._length; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**is_writables))._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**is_writables))._maximum = ((**is_writables))._length; + ((**is_writables))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_writables))._length); + ((**is_writables))._release = CORBA_TRUE; + memcpy(((**is_writables))._buffer, _ORBIT_curptr, + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_91]) * + ((**is_writables))._length); + _ORBIT_curptr += + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_91]) * + ((**is_writables))._length; + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +void +ConfigDatabase_all_dirs(ConfigDatabase _obj, const CORBA_char * dir, + ConfigDatabase_KeyList ** subdirs, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + register CORBA_unsigned_long _ORBIT_tmpvar_5; + register CORBA_unsigned_long _ORBIT_tmpvar_6; + CORBA_unsigned_long _ORBIT_tmpvar_7; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + all_dirs(_obj->servant, dir, subdirs, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[9]; + } + _ORBIT_operation_name_data = + { + 9, "all_dirs"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 13 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(dir) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (dir), + sizeof(dir[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + *subdirs = ConfigDatabase_KeyList__alloc(); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**subdirs))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**subdirs))._maximum = ((**subdirs))._length; + ((**subdirs))._buffer = + CORBA_sequence_CORBA_string_allocbuf(((**subdirs))._length); + ((**subdirs))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_5 = 0; _ORBIT_tmpvar_5 < ((**subdirs))._length; + _ORBIT_tmpvar_5++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_7))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**subdirs))._buffer[_ORBIT_tmpvar_5] = + CORBA_string_alloc(_ORBIT_tmpvar_7); + memcpy(((**subdirs))._buffer[_ORBIT_tmpvar_5], _ORBIT_curptr, + sizeof(((**subdirs)). + _buffer[_ORBIT_tmpvar_5][_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7); + _ORBIT_curptr += + sizeof(((**subdirs)). + _buffer[_ORBIT_tmpvar_5][_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7; + } + + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**subdirs))._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**subdirs))._maximum = ((**subdirs))._length; + ((**subdirs))._buffer = + CORBA_sequence_CORBA_string_allocbuf(((**subdirs))._length); + ((**subdirs))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_5 = 0; _ORBIT_tmpvar_5 < ((**subdirs))._length; + _ORBIT_tmpvar_5++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_7 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**subdirs))._buffer[_ORBIT_tmpvar_5] = + CORBA_string_alloc(_ORBIT_tmpvar_7); + memcpy(((**subdirs))._buffer[_ORBIT_tmpvar_5], _ORBIT_curptr, + sizeof(((**subdirs)). + _buffer[_ORBIT_tmpvar_5][_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7); + _ORBIT_curptr += + sizeof(((**subdirs)). + _buffer[_ORBIT_tmpvar_5][_ORBIT_tmpvar_6]) * + _ORBIT_tmpvar_7; + } + + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +void +ConfigDatabase_set_schema(ConfigDatabase _obj, const CORBA_char * key, + const CORBA_char * schema_key, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + set_schema(_obj->servant, key, schema_key, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[11]; + } + _ORBIT_operation_name_data = + { + 11, "set_schema"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 15 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(key) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (key), + sizeof(key[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + _ORBIT_tmpvar_3 = strlen(schema_key) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_3)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_3), sizeof(_ORBIT_tmpvar_3)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_3)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (schema_key), + sizeof(schema_key[_ORBIT_tmpvar_2]) * + _ORBIT_tmpvar_3); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +void +ConfigDatabase_sync(ConfigDatabase _obj, CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + sync(_obj->servant, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[5]; + } + _ORBIT_operation_name_data = + { + 5, "sync"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 9 }; + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +void +ConfigDatabase_clear_cache(ConfigDatabase _obj, CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + clear_cache(_obj->servant, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[12]; + } + _ORBIT_operation_name_data = + { + 12, "clear_cache"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 16 }; + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, NULL, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +void +ConfigDatabase_synchronous_sync(ConfigDatabase _obj, CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigDatabase__classid) { + ((POA_ConfigDatabase__epv *) _obj->vepv[ConfigDatabase__classid])-> + synchronous_sync(_obj->servant, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[17]; + } + _ORBIT_operation_name_data = + { + 17, "synchronous_sync"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 21 }; + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +ConfigValue * +ConfigDatabase2_lookup_with_schema_name(ConfigDatabase2 _obj, + const CORBA_char * key, + const CORBA_char * locale, + const CORBA_boolean + use_schema_default, + CORBA_char ** schema_name, + CORBA_boolean * value_is_default, + CORBA_boolean * value_is_writable, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + ConfigValue *_ORBIT_retval; + register CORBA_unsigned_long _ORBIT_tmpvar_44; + CORBA_unsigned_long _ORBIT_tmpvar_45; + register CORBA_unsigned_long _ORBIT_tmpvar_46; + CORBA_unsigned_long _ORBIT_tmpvar_47; + register CORBA_unsigned_long _ORBIT_tmpvar_48; + CORBA_unsigned_long _ORBIT_tmpvar_49; + register CORBA_unsigned_long _ORBIT_tmpvar_50; + CORBA_unsigned_long _ORBIT_tmpvar_51; + register CORBA_unsigned_long _ORBIT_tmpvar_52; + CORBA_unsigned_long _ORBIT_tmpvar_53; + register CORBA_unsigned_long _ORBIT_tmpvar_54; + CORBA_unsigned_long _ORBIT_tmpvar_55; + register CORBA_unsigned_long _ORBIT_tmpvar_56; + register CORBA_unsigned_long _ORBIT_tmpvar_57; + CORBA_unsigned_long _ORBIT_tmpvar_58; + register CORBA_unsigned_long _ORBIT_tmpvar_59; + CORBA_unsigned_long _ORBIT_tmpvar_60; + register CORBA_unsigned_long _ORBIT_tmpvar_61; + CORBA_unsigned_long _ORBIT_tmpvar_62; + register CORBA_unsigned_long _ORBIT_tmpvar_63; + CORBA_unsigned_long _ORBIT_tmpvar_64; + register CORBA_unsigned_long _ORBIT_tmpvar_65; + CORBA_unsigned_long _ORBIT_tmpvar_66; + register CORBA_unsigned_long _ORBIT_tmpvar_67; + CORBA_unsigned_long _ORBIT_tmpvar_68; + register CORBA_unsigned_long _ORBIT_tmpvar_69; + register CORBA_unsigned_long _ORBIT_tmpvar_70; + CORBA_unsigned_long _ORBIT_tmpvar_71; + register CORBA_unsigned_long _ORBIT_tmpvar_72; + CORBA_unsigned_long _ORBIT_tmpvar_73; + register CORBA_unsigned_long _ORBIT_tmpvar_74; + CORBA_unsigned_long _ORBIT_tmpvar_75; + register CORBA_unsigned_long _ORBIT_tmpvar_76; + CORBA_unsigned_long _ORBIT_tmpvar_77; + register CORBA_unsigned_long _ORBIT_tmpvar_78; + CORBA_unsigned_long _ORBIT_tmpvar_79; + register CORBA_unsigned_long _ORBIT_tmpvar_80; + CORBA_unsigned_long _ORBIT_tmpvar_81; + register CORBA_unsigned_long _ORBIT_tmpvar_82; + CORBA_unsigned_long _ORBIT_tmpvar_83; + + if (_obj->servant && _obj->vepv && ConfigDatabase2__classid) { + _ORBIT_retval = + ((POA_ConfigDatabase2__epv *) _obj->vepv[ConfigDatabase2__classid])-> + lookup_with_schema_name(_obj->servant, key, locale, + use_schema_default, schema_name, + value_is_default, value_is_writable, ev); + return _ORBIT_retval; + } + if (0) + return *(&_ORBIT_retval); + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[24]; + } + _ORBIT_operation_name_data = + { + 24, "lookup_with_schema_name"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 28 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(key) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (key), + sizeof(key[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + _ORBIT_tmpvar_3 = strlen(locale) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_3)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_3), sizeof(_ORBIT_tmpvar_3)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_3)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (locale), + sizeof(locale[_ORBIT_tmpvar_2]) * + _ORBIT_tmpvar_3); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + &(use_schema_default), + sizeof(use_schema_default)); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_retval = ConfigValue__alloc(); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & ((*_ORBIT_retval)._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case IntVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case StringVal: + (*((guint32 *) & (_ORBIT_tmpvar_45))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_45); + memcpy((*_ORBIT_retval)._u.string_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u. + string_value[_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.string_value[_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45; + break; + case FloatVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BoolVal: + (*_ORBIT_retval)._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.schema_value.value_type))) + = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_47))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_47); + memcpy((*_ORBIT_retval)._u.schema_value.locale, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_49))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.short_desc = + CORBA_string_alloc(_ORBIT_tmpvar_49); + memcpy((*_ORBIT_retval)._u.schema_value.short_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_51))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_51); + memcpy((*_ORBIT_retval)._u.schema_value.long_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_53))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_53); + memcpy((*_ORBIT_retval)._u.schema_value.owner, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_52]) * _ORBIT_tmpvar_53); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_52]) * _ORBIT_tmpvar_53; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_55))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_55); + memcpy((*_ORBIT_retval)._u.schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_54]) * + _ORBIT_tmpvar_55); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_54]) * + _ORBIT_tmpvar_55; + break; + case ListVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.list_value.seq._length))) + = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq._maximum = + (*_ORBIT_retval)._u.list_value.seq._length; + (*_ORBIT_retval)._u.list_value.seq._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + list_value.seq. + _length); + (*_ORBIT_retval)._u.list_value.seq._release = CORBA_TRUE; + for (_ORBIT_tmpvar_56 = 0; + _ORBIT_tmpvar_56 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_56++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._d) { + case BInvalidVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_58))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u. + string_value[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u. + string_value[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58; + break; + case BFloatVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_60))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_60); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + locale[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + locale[_ORBIT_tmpvar_59]) * _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_62))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_62); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + short_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + short_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_64))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_64); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + long_desc[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + long_desc[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_66))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_66); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + owner[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + owner[_ORBIT_tmpvar_65]) * _ORBIT_tmpvar_66; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_68))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_68); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_67]) * + _ORBIT_tmpvar_68); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_67]) * + _ORBIT_tmpvar_68; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & ((*_ORBIT_retval)._u.list_value.list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case PairVal: + (*((guint32 *) & ((*_ORBIT_retval)._u.pair_value._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value._maximum = + (*_ORBIT_retval)._u.pair_value._length; + (*_ORBIT_retval)._u.pair_value._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + pair_value._length); + (*_ORBIT_retval)._u.pair_value._release = CORBA_TRUE; + for (_ORBIT_tmpvar_69 = 0; + _ORBIT_tmpvar_69 < (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_69++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_69]. + _d))) = GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._d) { + case BInvalidVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_71))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u. + string_value[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u. + string_value[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + break; + case BFloatVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_73))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_73); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + locale[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + locale[_ORBIT_tmpvar_72]) * _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_75))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_75); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + short_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + short_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_77))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_77); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + long_desc[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + long_desc[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_79))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_79); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + owner[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + owner[_ORBIT_tmpvar_78]) * _ORBIT_tmpvar_79; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_81))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_81); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_80]) * + _ORBIT_tmpvar_81); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_80]) * + _ORBIT_tmpvar_81; + break; + default: + break; + } + } + + break; + default: + break; + } + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_83))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*schema_name) = CORBA_string_alloc(_ORBIT_tmpvar_83); + memcpy((*schema_name), _ORBIT_curptr, + sizeof((*schema_name)[_ORBIT_tmpvar_82]) * _ORBIT_tmpvar_83); + _ORBIT_curptr += + sizeof((*schema_name)[_ORBIT_tmpvar_82]) * _ORBIT_tmpvar_83; + (*value_is_default) = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + (*value_is_writable) = *((CORBA_boolean *) _ORBIT_curptr); + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._d = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._d) { + case InvalidVal: + (*_ORBIT_retval)._u.dummy = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case IntVal: + (*_ORBIT_retval)._u.int_value = *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case StringVal: + _ORBIT_tmpvar_45 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_45); + memcpy((*_ORBIT_retval)._u.string_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u. + string_value[_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.string_value[_ORBIT_tmpvar_44]) * + _ORBIT_tmpvar_45; + break; + case FloatVal: + (*_ORBIT_retval)._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BoolVal: + (*_ORBIT_retval)._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + (*_ORBIT_retval)._u.schema_value.value_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_47 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_47); + memcpy((*_ORBIT_retval)._u.schema_value.locale, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + locale[_ORBIT_tmpvar_46]) * _ORBIT_tmpvar_47; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_49 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.short_desc = + CORBA_string_alloc(_ORBIT_tmpvar_49); + memcpy((*_ORBIT_retval)._u.schema_value.short_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + short_desc[_ORBIT_tmpvar_48]) * _ORBIT_tmpvar_49; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_51 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_51); + memcpy((*_ORBIT_retval)._u.schema_value.long_desc, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + long_desc[_ORBIT_tmpvar_50]) * _ORBIT_tmpvar_51; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_53 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_53); + memcpy((*_ORBIT_retval)._u.schema_value.owner, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_52]) * _ORBIT_tmpvar_53); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + owner[_ORBIT_tmpvar_52]) * _ORBIT_tmpvar_53; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_55 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.schema_value.encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_55); + memcpy((*_ORBIT_retval)._u.schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_54]) * + _ORBIT_tmpvar_55); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_54]) * + _ORBIT_tmpvar_55; + break; + case ListVal: + (*_ORBIT_retval)._u.list_value.seq._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq._maximum = + (*_ORBIT_retval)._u.list_value.seq._length; + (*_ORBIT_retval)._u.list_value.seq._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + list_value.seq. + _length); + (*_ORBIT_retval)._u.list_value.seq._release = CORBA_TRUE; + for (_ORBIT_tmpvar_56 = 0; + _ORBIT_tmpvar_56 < + (*_ORBIT_retval)._u.list_value.seq._length; + _ORBIT_tmpvar_56++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.list_value.seq._buffer[_ORBIT_tmpvar_56]. + _d = *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._d) { + case BInvalidVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_58 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u. + string_value[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u. + string_value[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58; + break; + case BFloatVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_60 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_60); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + locale[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + locale[_ORBIT_tmpvar_59]) * _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_62 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_62); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + short_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + short_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_64 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_64); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + long_desc[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + long_desc[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_66 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_66); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + owner[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + owner[_ORBIT_tmpvar_65]) * _ORBIT_tmpvar_66; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_68 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_68); + memcpy((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_67]) * + _ORBIT_tmpvar_68); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.list_value.seq. + _buffer[_ORBIT_tmpvar_56]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_67]) * + _ORBIT_tmpvar_68; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.list_value.list_type = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case PairVal: + (*_ORBIT_retval)._u.pair_value._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value._maximum = + (*_ORBIT_retval)._u.pair_value._length; + (*_ORBIT_retval)._u.pair_value._buffer = + CORBA_sequence_ConfigBasicValue_allocbuf((*_ORBIT_retval)._u. + pair_value._length); + (*_ORBIT_retval)._u.pair_value._release = CORBA_TRUE; + for (_ORBIT_tmpvar_69 = 0; + _ORBIT_tmpvar_69 < (*_ORBIT_retval)._u.pair_value._length; + _ORBIT_tmpvar_69++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*_ORBIT_retval)._u.pair_value._buffer[_ORBIT_tmpvar_69]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch ((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._d) { + case BInvalidVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_71 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.string_value, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u. + string_value[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u. + string_value[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + break; + case BFloatVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_73 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_73); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value.locale, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + locale[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + locale[_ORBIT_tmpvar_72]) * _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_75 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_75); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + short_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + short_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + short_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_77 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value.long_desc = + CORBA_string_alloc(_ORBIT_tmpvar_77); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + long_desc, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + long_desc[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + long_desc[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_79 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_79); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value.owner, + _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + owner[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + owner[_ORBIT_tmpvar_78]) * _ORBIT_tmpvar_79; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_81 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_81); + memcpy((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + encoded_default_value, _ORBIT_curptr, + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_80]) * + _ORBIT_tmpvar_81); + _ORBIT_curptr += + sizeof((*_ORBIT_retval)._u.pair_value. + _buffer[_ORBIT_tmpvar_69]._u.schema_value. + encoded_default_value[_ORBIT_tmpvar_80]) * + _ORBIT_tmpvar_81; + break; + default: + break; + } + } + + break; + default: + break; + } + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_83 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + (*schema_name) = CORBA_string_alloc(_ORBIT_tmpvar_83); + memcpy((*schema_name), _ORBIT_curptr, + sizeof((*schema_name)[_ORBIT_tmpvar_82]) * _ORBIT_tmpvar_83); + _ORBIT_curptr += + sizeof((*schema_name)[_ORBIT_tmpvar_82]) * _ORBIT_tmpvar_83; + (*value_is_default) = *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + (*value_is_writable) = *((CORBA_boolean *) _ORBIT_curptr); + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return _ORBIT_retval; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + } + } +} +void +ConfigDatabase2_all_entries_with_schema_name(ConfigDatabase2 _obj, + const CORBA_char * dir, + const CORBA_char * locale, + ConfigDatabase_KeyList ** keys, + ConfigDatabase_ValueList ** + values, + ConfigDatabase2_SchemaNameList ** + schema_names, + ConfigDatabase_IsDefaultList ** + is_defaults, + ConfigDatabase_IsWritableList ** + is_writables, + CORBA_Environment * ev) +{ + static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = + { {(const CORBA_TypeCode) &TC_ConfigException_struct, + (gpointer) _ORBIT_ConfigException_demarshal}, {CORBA_OBJECT_NIL, + NULL} }; + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + register CORBA_unsigned_long _ORBIT_tmpvar_51; + register CORBA_unsigned_long _ORBIT_tmpvar_52; + CORBA_unsigned_long _ORBIT_tmpvar_53; + register CORBA_unsigned_long _ORBIT_tmpvar_54; + register CORBA_unsigned_long _ORBIT_tmpvar_55; + CORBA_unsigned_long _ORBIT_tmpvar_56; + register CORBA_unsigned_long _ORBIT_tmpvar_57; + CORBA_unsigned_long _ORBIT_tmpvar_58; + register CORBA_unsigned_long _ORBIT_tmpvar_59; + CORBA_unsigned_long _ORBIT_tmpvar_60; + register CORBA_unsigned_long _ORBIT_tmpvar_61; + CORBA_unsigned_long _ORBIT_tmpvar_62; + register CORBA_unsigned_long _ORBIT_tmpvar_63; + CORBA_unsigned_long _ORBIT_tmpvar_64; + register CORBA_unsigned_long _ORBIT_tmpvar_65; + CORBA_unsigned_long _ORBIT_tmpvar_66; + register CORBA_unsigned_long _ORBIT_tmpvar_67; + register CORBA_unsigned_long _ORBIT_tmpvar_68; + CORBA_unsigned_long _ORBIT_tmpvar_69; + register CORBA_unsigned_long _ORBIT_tmpvar_70; + CORBA_unsigned_long _ORBIT_tmpvar_71; + register CORBA_unsigned_long _ORBIT_tmpvar_72; + CORBA_unsigned_long _ORBIT_tmpvar_73; + register CORBA_unsigned_long _ORBIT_tmpvar_74; + CORBA_unsigned_long _ORBIT_tmpvar_75; + register CORBA_unsigned_long _ORBIT_tmpvar_76; + CORBA_unsigned_long _ORBIT_tmpvar_77; + register CORBA_unsigned_long _ORBIT_tmpvar_78; + CORBA_unsigned_long _ORBIT_tmpvar_79; + register CORBA_unsigned_long _ORBIT_tmpvar_80; + register CORBA_unsigned_long _ORBIT_tmpvar_81; + CORBA_unsigned_long _ORBIT_tmpvar_82; + register CORBA_unsigned_long _ORBIT_tmpvar_83; + CORBA_unsigned_long _ORBIT_tmpvar_84; + register CORBA_unsigned_long _ORBIT_tmpvar_85; + CORBA_unsigned_long _ORBIT_tmpvar_86; + register CORBA_unsigned_long _ORBIT_tmpvar_87; + CORBA_unsigned_long _ORBIT_tmpvar_88; + register CORBA_unsigned_long _ORBIT_tmpvar_89; + CORBA_unsigned_long _ORBIT_tmpvar_90; + register CORBA_unsigned_long _ORBIT_tmpvar_91; + CORBA_unsigned_long _ORBIT_tmpvar_92; + register CORBA_unsigned_long _ORBIT_tmpvar_93; + register CORBA_unsigned_long _ORBIT_tmpvar_94; + CORBA_unsigned_long _ORBIT_tmpvar_95; + register CORBA_unsigned_long _ORBIT_tmpvar_96; + register CORBA_unsigned_long _ORBIT_tmpvar_97; + + if (_obj->servant && _obj->vepv && ConfigDatabase2__classid) { + ((POA_ConfigDatabase2__epv *) _obj->vepv[ConfigDatabase2__classid])-> + all_entries_with_schema_name(_obj->servant, dir, locale, keys, + values, schema_names, is_defaults, + is_writables, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[29]; + } + _ORBIT_operation_name_data = + { + 29, "all_entries_with_schema_name"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 33 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + register CORBA_unsigned_long _ORBIT_tmpvar_2; + CORBA_unsigned_long _ORBIT_tmpvar_3; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(dir) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (dir), + sizeof(dir[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + _ORBIT_tmpvar_3 = strlen(locale) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_3)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_3), sizeof(_ORBIT_tmpvar_3)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_3)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (locale), + sizeof(locale[_ORBIT_tmpvar_2]) * + _ORBIT_tmpvar_3); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + *keys = ConfigDatabase_KeyList__alloc(); + *values = ConfigDatabase_ValueList__alloc(); + *schema_names = ConfigDatabase2_SchemaNameList__alloc(); + *is_defaults = ConfigDatabase_IsDefaultList__alloc(); + *is_writables = ConfigDatabase_IsWritableList__alloc(); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**keys))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**keys))._maximum = ((**keys))._length; + ((**keys))._buffer = + CORBA_sequence_CORBA_string_allocbuf(((**keys))._length); + ((**keys))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_51 = 0; _ORBIT_tmpvar_51 < ((**keys))._length; + _ORBIT_tmpvar_51++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_53))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**keys))._buffer[_ORBIT_tmpvar_51] = + CORBA_string_alloc(_ORBIT_tmpvar_53); + memcpy(((**keys))._buffer[_ORBIT_tmpvar_51], _ORBIT_curptr, + sizeof(((**keys)). + _buffer[_ORBIT_tmpvar_51][_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53); + _ORBIT_curptr += + sizeof(((**keys)). + _buffer[_ORBIT_tmpvar_51][_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53; + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**values))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._maximum = ((**values))._length; + ((**values))._buffer = + CORBA_sequence_ConfigValue_allocbuf(((**values))._length); + ((**values))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_54 = 0; _ORBIT_tmpvar_54 < ((**values))._length; + _ORBIT_tmpvar_54++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**values))._buffer[_ORBIT_tmpvar_54]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_54]._d) { + case InvalidVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case IntVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case StringVal: + (*((guint32 *) & (_ORBIT_tmpvar_56))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_56); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * _ORBIT_tmpvar_56; + break; + case FloatVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BoolVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_58))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.locale[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.locale[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_60))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_60); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_62))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_62); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_64))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_64); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.owner[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.owner[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_66))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_66); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.encoded_default_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + case ListVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value.seq. + _length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value.seq. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value.seq. + _length; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value.seq. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_54]. + _u.list_value. + seq._length); + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value.seq. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_67 = 0; + _ORBIT_tmpvar_67 < + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._length; _ORBIT_tmpvar_67++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_69))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_69); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + break; + case BFloatVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_71))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + schema_value. + locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_73))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_73); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_75))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_75); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_77))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_77); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + schema_value.owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_79))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_79); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case PairVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _length; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_54]. + _u.pair_value. + _length); + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_80 = 0; + _ORBIT_tmpvar_80 < + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _length; _ORBIT_tmpvar_80++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._d))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._d) { + case BInvalidVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u.dummy))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BIntVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + int_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BStringVal: + (*((guint32 *) & (_ORBIT_tmpvar_82))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_82); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + string_value[_ORBIT_tmpvar_81]) * + _ORBIT_tmpvar_82); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + string_value[_ORBIT_tmpvar_81]) * + _ORBIT_tmpvar_82; + break; + case BFloatVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + float_value))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.value_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.value_list_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.value_car_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (* + ((guint32 *) & + (((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.value_cdr_type))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + (*((guint32 *) & (_ORBIT_tmpvar_84))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_84); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + schema_value. + locale[_ORBIT_tmpvar_83]) * + _ORBIT_tmpvar_84); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.locale[_ORBIT_tmpvar_83]) * + _ORBIT_tmpvar_84; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_86))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_86); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + schema_value. + short_desc[_ORBIT_tmpvar_85]) * + _ORBIT_tmpvar_86); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value. + short_desc[_ORBIT_tmpvar_85]) * + _ORBIT_tmpvar_86; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_88))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_88); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + schema_value. + long_desc[_ORBIT_tmpvar_87]) * + _ORBIT_tmpvar_88); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.long_desc[_ORBIT_tmpvar_87]) * + _ORBIT_tmpvar_88; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_90))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_90); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + schema_value.owner[_ORBIT_tmpvar_89]) * + _ORBIT_tmpvar_90); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.owner[_ORBIT_tmpvar_89]) * + _ORBIT_tmpvar_90; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_92))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_92); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_91]) * + _ORBIT_tmpvar_92); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_91]) * + _ORBIT_tmpvar_92; + break; + default: + break; + } + } + + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**schema_names))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**schema_names))._maximum = ((**schema_names))._length; + ((**schema_names))._buffer = + CORBA_sequence_CORBA_string_allocbuf(((**schema_names))._length); + ((**schema_names))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_93 = 0; + _ORBIT_tmpvar_93 < ((**schema_names))._length; + _ORBIT_tmpvar_93++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_tmpvar_95))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**schema_names))._buffer[_ORBIT_tmpvar_93] = + CORBA_string_alloc(_ORBIT_tmpvar_95); + memcpy(((**schema_names))._buffer[_ORBIT_tmpvar_93], + _ORBIT_curptr, + sizeof(((**schema_names)). + _buffer[_ORBIT_tmpvar_93][_ORBIT_tmpvar_94]) * + _ORBIT_tmpvar_95); + _ORBIT_curptr += + sizeof(((**schema_names)). + _buffer[_ORBIT_tmpvar_93][_ORBIT_tmpvar_94]) * + _ORBIT_tmpvar_95; + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**is_defaults))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**is_defaults))._maximum = ((**is_defaults))._length; + ((**is_defaults))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_defaults))._length); + ((**is_defaults))._release = CORBA_TRUE; + memcpy(((**is_defaults))._buffer, _ORBIT_curptr, + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_96]) * + ((**is_defaults))._length); + _ORBIT_curptr += + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_96]) * + ((**is_defaults))._length; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (((**is_writables))._length))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + _ORBIT_curptr += 4; + ((**is_writables))._maximum = ((**is_writables))._length; + ((**is_writables))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_writables))._length); + ((**is_writables))._release = CORBA_TRUE; + memcpy(((**is_writables))._buffer, _ORBIT_curptr, + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_97]) * + ((**is_writables))._length); + _ORBIT_curptr += + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_97]) * + ((**is_writables))._length; + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**keys))._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**keys))._maximum = ((**keys))._length; + ((**keys))._buffer = + CORBA_sequence_CORBA_string_allocbuf(((**keys))._length); + ((**keys))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_51 = 0; _ORBIT_tmpvar_51 < ((**keys))._length; + _ORBIT_tmpvar_51++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_53 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**keys))._buffer[_ORBIT_tmpvar_51] = + CORBA_string_alloc(_ORBIT_tmpvar_53); + memcpy(((**keys))._buffer[_ORBIT_tmpvar_51], _ORBIT_curptr, + sizeof(((**keys)). + _buffer[_ORBIT_tmpvar_51][_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53); + _ORBIT_curptr += + sizeof(((**keys)). + _buffer[_ORBIT_tmpvar_51][_ORBIT_tmpvar_52]) * + _ORBIT_tmpvar_53; + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._maximum = ((**values))._length; + ((**values))._buffer = + CORBA_sequence_ConfigValue_allocbuf(((**values))._length); + ((**values))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_54 = 0; _ORBIT_tmpvar_54 < ((**values))._length; + _ORBIT_tmpvar_54++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_54]._d = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_54]._d) { + case InvalidVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case IntVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case StringVal: + _ORBIT_tmpvar_56 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_56); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * + _ORBIT_tmpvar_56); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + string_value[_ORBIT_tmpvar_55]) * _ORBIT_tmpvar_56; + break; + case FloatVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BoolVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case SchemaVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_list_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_car_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + value_cdr_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_58 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_58); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.locale[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.locale[_ORBIT_tmpvar_57]) * + _ORBIT_tmpvar_58; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_60 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_60); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.short_desc[_ORBIT_tmpvar_59]) * + _ORBIT_tmpvar_60; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_62 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_62); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.long_desc[_ORBIT_tmpvar_61]) * + _ORBIT_tmpvar_62; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_64 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_64); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.owner[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.owner[_ORBIT_tmpvar_63]) * + _ORBIT_tmpvar_64; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_66 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_66); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value.encoded_default_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_65]) * + _ORBIT_tmpvar_66; + break; + case ListVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value.seq. + _length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value.seq. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value.seq. + _length; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value.seq. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_54]. + _u.list_value. + seq._length); + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value.seq. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_67 = 0; + _ORBIT_tmpvar_67 < + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._length; _ORBIT_tmpvar_67++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._d) { + case BInvalidVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_69 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_69); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.string_value[_ORBIT_tmpvar_68]) * + _ORBIT_tmpvar_69; + break; + case BFloatVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_71 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + locale = CORBA_string_alloc(_ORBIT_tmpvar_71); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + schema_value. + locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.locale[_ORBIT_tmpvar_70]) * + _ORBIT_tmpvar_71; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_73 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_73); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + short_desc[_ORBIT_tmpvar_72]) * + _ORBIT_tmpvar_73; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_75 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_75); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + long_desc[_ORBIT_tmpvar_74]) * + _ORBIT_tmpvar_75; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_77 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + owner = CORBA_string_alloc(_ORBIT_tmpvar_77); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + schema_value.owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.schema_value.owner[_ORBIT_tmpvar_76]) * + _ORBIT_tmpvar_77; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_79 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + seq._buffer[_ORBIT_tmpvar_67]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_79); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.list_value.seq. + _buffer[_ORBIT_tmpvar_67]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + list_value.seq._buffer[_ORBIT_tmpvar_67]. + _u.schema_value. + encoded_default_value[_ORBIT_tmpvar_78]) * + _ORBIT_tmpvar_79; + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_54]._u.list_value. + list_type = *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case PairVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _maximum = + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _length; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer = + CORBA_sequence_ConfigBasicValue_allocbuf(((**values)). + _buffer + [_ORBIT_tmpvar_54]. + _u.pair_value. + _length); + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _release = CORBA_TRUE; + for (_ORBIT_tmpvar_80 = 0; + _ORBIT_tmpvar_80 < + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _length; _ORBIT_tmpvar_80++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._d = + *((ConfigBasicValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + switch (((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._d) { + case BInvalidVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.dummy = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BIntVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.int_value = + *((CORBA_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BStringVal: + _ORBIT_tmpvar_82 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.string_value = + CORBA_string_alloc(_ORBIT_tmpvar_82); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + string_value, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + string_value[_ORBIT_tmpvar_81]) * + _ORBIT_tmpvar_82); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + string_value[_ORBIT_tmpvar_81]) * + _ORBIT_tmpvar_82; + break; + case BFloatVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.float_value = + *((CORBA_float *) _ORBIT_curptr); + _ORBIT_curptr += 4; + break; + case BBoolVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.bool_value = + *((CORBA_boolean *) _ORBIT_curptr); + _ORBIT_curptr += 1; + break; + case BSchemaVal: + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value. + value_type = *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value. + value_list_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value. + value_car_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value. + value_cdr_type = + *((ConfigValueType *) _ORBIT_curptr); + _ORBIT_curptr += 4; + _ORBIT_tmpvar_84 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value.locale = + CORBA_string_alloc(_ORBIT_tmpvar_84); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.locale, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + schema_value. + locale[_ORBIT_tmpvar_83]) * + _ORBIT_tmpvar_84); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.locale[_ORBIT_tmpvar_83]) * + _ORBIT_tmpvar_84; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_86 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value. + short_desc = CORBA_string_alloc(_ORBIT_tmpvar_86); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.short_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + schema_value. + short_desc[_ORBIT_tmpvar_85]) * + _ORBIT_tmpvar_86); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value. + short_desc[_ORBIT_tmpvar_85]) * + _ORBIT_tmpvar_86; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_88 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value. + long_desc = CORBA_string_alloc(_ORBIT_tmpvar_88); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.long_desc, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + schema_value. + long_desc[_ORBIT_tmpvar_87]) * + _ORBIT_tmpvar_88); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.long_desc[_ORBIT_tmpvar_87]) * + _ORBIT_tmpvar_88; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_90 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value.owner = + CORBA_string_alloc(_ORBIT_tmpvar_90); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.owner, _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + schema_value.owner[_ORBIT_tmpvar_89]) * + _ORBIT_tmpvar_90); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.owner[_ORBIT_tmpvar_89]) * + _ORBIT_tmpvar_90; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_92 = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**values))._buffer[_ORBIT_tmpvar_54]._u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u.schema_value. + encoded_default_value = + CORBA_string_alloc(_ORBIT_tmpvar_92); + memcpy(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value.encoded_default_value, + _ORBIT_curptr, + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]. + _u.pair_value. + _buffer[_ORBIT_tmpvar_80]._u. + schema_value. + encoded_default_value + [_ORBIT_tmpvar_91]) * + _ORBIT_tmpvar_92); + _ORBIT_curptr += + sizeof(((**values))._buffer[_ORBIT_tmpvar_54]._u. + pair_value._buffer[_ORBIT_tmpvar_80]._u. + schema_value. + encoded_default_value[_ORBIT_tmpvar_91]) * + _ORBIT_tmpvar_92; + break; + default: + break; + } + } + + break; + default: + break; + } + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**schema_names))._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**schema_names))._maximum = ((**schema_names))._length; + ((**schema_names))._buffer = + CORBA_sequence_CORBA_string_allocbuf(((**schema_names))._length); + ((**schema_names))._release = CORBA_TRUE; + for (_ORBIT_tmpvar_93 = 0; + _ORBIT_tmpvar_93 < ((**schema_names))._length; + _ORBIT_tmpvar_93++) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_tmpvar_95 = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**schema_names))._buffer[_ORBIT_tmpvar_93] = + CORBA_string_alloc(_ORBIT_tmpvar_95); + memcpy(((**schema_names))._buffer[_ORBIT_tmpvar_93], + _ORBIT_curptr, + sizeof(((**schema_names)). + _buffer[_ORBIT_tmpvar_93][_ORBIT_tmpvar_94]) * + _ORBIT_tmpvar_95); + _ORBIT_curptr += + sizeof(((**schema_names)). + _buffer[_ORBIT_tmpvar_93][_ORBIT_tmpvar_94]) * + _ORBIT_tmpvar_95; + } + + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**is_defaults))._length = *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**is_defaults))._maximum = ((**is_defaults))._length; + ((**is_defaults))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_defaults))._length); + ((**is_defaults))._release = CORBA_TRUE; + memcpy(((**is_defaults))._buffer, _ORBIT_curptr, + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_96]) * + ((**is_defaults))._length); + _ORBIT_curptr += + sizeof(((**is_defaults))._buffer[_ORBIT_tmpvar_96]) * + ((**is_defaults))._length; + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + ((**is_writables))._length = + *((CORBA_unsigned_long *) _ORBIT_curptr); + _ORBIT_curptr += 4; + ((**is_writables))._maximum = ((**is_writables))._length; + ((**is_writables))._buffer = + CORBA_sequence_CORBA_boolean_allocbuf(((**is_writables))._length); + ((**is_writables))._release = CORBA_TRUE; + memcpy(((**is_writables))._buffer, _ORBIT_curptr, + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_97]) * + ((**is_writables))._length); + _ORBIT_curptr += + sizeof(((**is_writables))._buffer[_ORBIT_tmpvar_97]) * + ((**is_writables))._length; + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, + _ORBIT_user_exceptions, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +ConfigDatabase +ConfigServer_get_default_database(ConfigServer _obj, CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + ConfigDatabase _ORBIT_retval; + + if (_obj->servant && _obj->vepv && ConfigServer__classid) { + _ORBIT_retval = + ((POA_ConfigServer__epv *) _obj->vepv[ConfigServer__classid])-> + get_default_database(_obj->servant, ev); + return _ORBIT_retval; + } + if (0) + return *(&_ORBIT_retval); + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[21]; + } + _ORBIT_operation_name_data = + { + 21, "get_default_database"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 25 }; + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + _ORBIT_retval = + ORBit_demarshal_object(_ORBIT_recv_buffer, + GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection->orb_data); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + } else { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + _ORBIT_retval = + ORBit_demarshal_object(_ORBIT_recv_buffer, + GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection->orb_data); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return _ORBIT_retval; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, NULL, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + } + } +} +ConfigDatabase +ConfigServer_get_database(ConfigServer _obj, const CORBA_char * address, + CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + ConfigDatabase _ORBIT_retval; + + if (_obj->servant && _obj->vepv && ConfigServer__classid) { + _ORBIT_retval = + ((POA_ConfigServer__epv *) _obj->vepv[ConfigServer__classid])-> + get_database(_obj->servant, address, ev); + return _ORBIT_retval; + } + if (0) + return *(&_ORBIT_retval); + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[13]; + } + _ORBIT_operation_name_data = + { + 13, "get_database"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 17 }; + register CORBA_unsigned_long _ORBIT_tmpvar_0; + CORBA_unsigned_long _ORBIT_tmpvar_1; + + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + _ORBIT_tmpvar_1 = strlen(address) + 1; + giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), 4); + { + guchar *_ORBIT_t; + + _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_1)); + memcpy(_ORBIT_t, &(_ORBIT_tmpvar_1), sizeof(_ORBIT_tmpvar_1)); + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER + (_ORBIT_send_buffer), (_ORBIT_t), + sizeof(_ORBIT_tmpvar_1)); + } + giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), + (address), + sizeof(address[_ORBIT_tmpvar_0]) * + _ORBIT_tmpvar_1); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + _ORBIT_retval = + ORBit_demarshal_object(_ORBIT_recv_buffer, + GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection->orb_data); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + } else { + GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur = _ORBIT_curptr; + _ORBIT_retval = + ORBit_demarshal_object(_ORBIT_recv_buffer, + GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer)-> + connection->orb_data); + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return _ORBIT_retval; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, NULL, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + } + } +} +void +ConfigServer_add_client(ConfigServer _obj, const ConfigListener client, + CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigServer__classid) { + ((POA_ConfigServer__epv *) _obj->vepv[ConfigServer__classid])-> + add_client(_obj->servant, client, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[11]; + } + _ORBIT_operation_name_data = + { + 11, "add_client"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 15 }; + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + ORBit_marshal_object(_ORBIT_send_buffer, client); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, NULL, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +void +ConfigServer_remove_client(ConfigServer _obj, const ConfigListener client, + CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigServer__classid) { + ((POA_ConfigServer__epv *) _obj->vepv[ConfigServer__classid])-> + remove_client(_obj->servant, client, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[14]; + } + _ORBIT_operation_name_data = + { + 14, "remove_client"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 18 }; + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + ORBit_marshal_object(_ORBIT_send_buffer, client); + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, NULL, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} +CORBA_long +ConfigServer_ping(ConfigServer _obj, CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + CORBA_long _ORBIT_retval; + + if (_obj->servant && _obj->vepv && ConfigServer__classid) { + _ORBIT_retval = + ((POA_ConfigServer__epv *) _obj->vepv[ConfigServer__classid])-> + ping(_obj->servant, ev); + return _ORBIT_retval; + } + if (0) + return *(&_ORBIT_retval); + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[5]; + } + _ORBIT_operation_name_data = + { + 5, "ping"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 9 }; + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + (*((guint32 *) & (_ORBIT_retval))) = + GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); + } else { + _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); + _ORBIT_retval = *((CORBA_long *) _ORBIT_curptr); + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return _ORBIT_retval; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, NULL, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return _ORBIT_retval; + } + } +} +void +ConfigServer_shutdown(ConfigServer _obj, CORBA_Environment * ev) +{ + register GIOP_unsigned_long _ORBIT_request_id, + _ORBIT_system_exception_minor; + register CORBA_completion_status _ORBIT_completion_status; + register GIOPSendBuffer *_ORBIT_send_buffer; + register GIOPRecvBuffer *_ORBIT_recv_buffer; + register GIOPConnection *_cnx; + + if (_obj->servant && _obj->vepv && ConfigServer__classid) { + ((POA_ConfigServer__epv *) _obj->vepv[ConfigServer__classid])-> + shutdown(_obj->servant, ev); + return; + } + _cnx = ORBit_object_get_connection(_obj); + _ORBIT_retry_request: + _ORBIT_send_buffer = NULL; + _ORBIT_recv_buffer = NULL; + _ORBIT_completion_status = CORBA_COMPLETED_NO; + _ORBIT_request_id = GPOINTER_TO_UINT(alloca(0)); + { /* marshalling */ + static const struct + { + CORBA_unsigned_long len; + char opname[9]; + } + _ORBIT_operation_name_data = + { + 9, "shutdown"}; + static const struct iovec _ORBIT_operation_vec = + { (gpointer) & _ORBIT_operation_name_data, 13 }; + _ORBIT_send_buffer = + giop_send_request_buffer_use(_cnx, NULL, _ORBIT_request_id, + CORBA_TRUE, + &(_obj->active_profile->object_key_vec), + &_ORBIT_operation_vec, + &ORBit_default_principal_iovec); + + _ORBIT_system_exception_minor = ex_CORBA_COMM_FAILURE; + if (!_ORBIT_send_buffer) + goto _ORBIT_system_exception; + giop_send_buffer_write(_ORBIT_send_buffer); + _ORBIT_completion_status = CORBA_COMPLETED_MAYBE; + giop_send_buffer_unuse(_ORBIT_send_buffer); + _ORBIT_send_buffer = NULL; + } + { /* demarshalling */ + register guchar *_ORBIT_curptr; + + _ORBIT_recv_buffer = + giop_recv_reply_buffer_use_2(_cnx, _ORBIT_request_id, TRUE); + if (!_ORBIT_recv_buffer) + goto _ORBIT_system_exception; + _ORBIT_completion_status = CORBA_COMPLETED_YES; + if (_ORBIT_recv_buffer->message.u.reply.reply_status != + GIOP_NO_EXCEPTION) + goto _ORBIT_msg_exception; + _ORBIT_curptr = GIOP_RECV_BUFFER(_ORBIT_recv_buffer)->cur; + if (giop_msg_conversion_needed(GIOP_MESSAGE_BUFFER(_ORBIT_recv_buffer))) { + } else { + } + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + _ORBIT_system_exception: + CORBA_exception_set_system(ev, _ORBIT_system_exception_minor, + _ORBIT_completion_status); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + giop_send_buffer_unuse(_ORBIT_send_buffer); + return; + _ORBIT_msg_exception: + if (_ORBIT_recv_buffer->message.u.reply.reply_status == + GIOP_LOCATION_FORWARD) { + if (_obj->forward_locations != NULL) + ORBit_delete_profiles(_obj->forward_locations); + _obj->forward_locations = ORBit_demarshal_IOR(_ORBIT_recv_buffer); + _cnx = ORBit_object_get_forwarded_connection(_obj); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + + goto _ORBIT_retry_request; + } else { + ORBit_handle_exception(_ORBIT_recv_buffer, ev, NULL, _obj->orb); + giop_recv_buffer_unuse(_ORBIT_recv_buffer); + return; + } + } +} --- gconf-1.0.9.orig/gconf/GConf-common.c +++ gconf-1.0.9/gconf/GConf-common.c @@ -0,0 +1,1455 @@ +/* + * This file was generated by orbit-idl - DO NOT EDIT! + */ + +#include +#include "GConf.h" + +#if ( (TC_IMPL_TC_ConfigBasicValueType_0 == 'G') \ +&& (TC_IMPL_TC_ConfigBasicValueType_1 == 'C') \ +&& (TC_IMPL_TC_ConfigBasicValueType_2 == 'o') \ +&& (TC_IMPL_TC_ConfigBasicValueType_3 == 'n') \ +&& (TC_IMPL_TC_ConfigBasicValueType_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigBasicValueType) +#define TC_DEF_TC_ConfigBasicValueType 1 +static const char *anon_subnames_array1[] = + { "BInvalidVal", "BIntVal", "BStringVal", "BFloatVal", "BBoolVal", +"BSchemaVal" }; +const struct CORBA_TypeCode_struct TC_ConfigBasicValueType_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_enum, "ConfigBasicValueType", "IDL:ConfigBasicValueType:1.0", + 0, 6, + (const char **) anon_subnames_array1, + NULL, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigValueType_0 == 'G') \ +&& (TC_IMPL_TC_ConfigValueType_1 == 'C') \ +&& (TC_IMPL_TC_ConfigValueType_2 == 'o') \ +&& (TC_IMPL_TC_ConfigValueType_3 == 'n') \ +&& (TC_IMPL_TC_ConfigValueType_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigValueType) +#define TC_DEF_TC_ConfigValueType 1 +static const char *anon_subnames_array5[] = + { "InvalidVal", "IntVal", "StringVal", "FloatVal", "BoolVal", "SchemaVal", +"ListVal", "PairVal" }; +const struct CORBA_TypeCode_struct TC_ConfigValueType_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_enum, "ConfigValueType", "IDL:ConfigValueType:1.0", + 0, 8, + (const char **) anon_subnames_array5, + NULL, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigSchema_0 == 'G') \ +&& (TC_IMPL_TC_ConfigSchema_1 == 'C') \ +&& (TC_IMPL_TC_ConfigSchema_2 == 'o') \ +&& (TC_IMPL_TC_ConfigSchema_3 == 'n') \ +&& (TC_IMPL_TC_ConfigSchema_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigSchema) +#define TC_DEF_TC_ConfigSchema 1 +static const char *anon_subnames_array9[] = + { "value_type", "value_list_type", "value_car_type", "value_cdr_type", +"locale", "short_desc", "long_desc", "owner", "encoded_default_value" }; +static const CORBA_TypeCode anon_subtypes_array10[] = + { (CORBA_TypeCode) & TC_ConfigValueType_struct, +(CORBA_TypeCode) & TC_ConfigValueType_struct, (CORBA_TypeCode) & TC_ConfigValueType_struct, +(CORBA_TypeCode) & TC_ConfigValueType_struct, (CORBA_TypeCode) & TC_CORBA_string_struct, +(CORBA_TypeCode) & TC_CORBA_string_struct, (CORBA_TypeCode) & TC_CORBA_string_struct, +(CORBA_TypeCode) & TC_CORBA_string_struct, (CORBA_TypeCode) & TC_CORBA_string_struct }; +const struct CORBA_TypeCode_struct TC_ConfigSchema_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_struct, "ConfigSchema", "IDL:ConfigSchema:1.0", + 0, 9, + (const char **) anon_subnames_array9, + (CORBA_TypeCode *) anon_subtypes_array10, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigBasicValue_0 == 'G') \ +&& (TC_IMPL_TC_ConfigBasicValue_1 == 'C') \ +&& (TC_IMPL_TC_ConfigBasicValue_2 == 'o') \ +&& (TC_IMPL_TC_ConfigBasicValue_3 == 'n') \ +&& (TC_IMPL_TC_ConfigBasicValue_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigBasicValue) +#define TC_DEF_TC_ConfigBasicValue 1 +static const ConfigBasicValueType anon_sublabel_values_array16[] = + { BInvalidVal, BIntVal, BStringVal, BFloatVal, BBoolVal, BSchemaVal }; +static const char *anon_subnames_array13[] = + { "dummy", "int_value", "string_value", "float_value", "bool_value", +"schema_value" }; +static const CORBA_TypeCode anon_subtypes_array14[] = + { (CORBA_TypeCode) & TC_CORBA_long_struct, +(CORBA_TypeCode) & TC_CORBA_long_struct, (CORBA_TypeCode) & TC_CORBA_string_struct, +(CORBA_TypeCode) & TC_CORBA_float_struct, (CORBA_TypeCode) & TC_CORBA_boolean_struct, +(CORBA_TypeCode) & TC_ConfigSchema_struct }; +static const CORBA_any anon_sublabels_array15[] = + { {(CORBA_TypeCode) & TC_ConfigBasicValueType_struct, + (gpointer) & anon_sublabel_values_array16[0], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigBasicValueType_struct, + (gpointer) & anon_sublabel_values_array16[1], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigBasicValueType_struct, + (gpointer) & anon_sublabel_values_array16[2], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigBasicValueType_struct, + (gpointer) & anon_sublabel_values_array16[3], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigBasicValueType_struct, + (gpointer) & anon_sublabel_values_array16[4], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigBasicValueType_struct, + (gpointer) & anon_sublabel_values_array16[5], CORBA_FALSE} }; +const struct CORBA_TypeCode_struct TC_ConfigBasicValue_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_union, "ConfigBasicValue", "IDL:ConfigBasicValue:1.0", + 0, 6, + (const char **) anon_subnames_array13, + (CORBA_TypeCode *) anon_subtypes_array14, + (CORBA_any *) anon_sublabels_array15, + (CORBA_TypeCode) & TC_ConfigBasicValueType_struct, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_ConfigBasicValue) +#define TC_DEF_TC_CORBA_sequence_ConfigBasicValue 1 +static const CORBA_TypeCode anon_subtypes_array19[] = + { (CORBA_TypeCode) & TC_ConfigBasicValue_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_ConfigBasicValue_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array19, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigBasicValue_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_ConfigBasicValue) +#define TC_DEF_TC_CORBA_sequence_ConfigBasicValue 1 +static const CORBA_TypeCode anon_subtypes_array28[] = + { (CORBA_TypeCode) & TC_ConfigBasicValue_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_ConfigBasicValue_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array28, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_BasicValueList_0 == 'G') \ +&& (TC_IMPL_TC_BasicValueList_1 == 'C') \ +&& (TC_IMPL_TC_BasicValueList_2 == 'o') \ +&& (TC_IMPL_TC_BasicValueList_3 == 'n') \ +&& (TC_IMPL_TC_BasicValueList_4 == 'f') \ +) && !defined(TC_DEF_TC_BasicValueList) +#define TC_DEF_TC_BasicValueList 1 +static const CORBA_TypeCode anon_subtypes_array32[] = + { (CORBA_TypeCode) & TC_CORBA_sequence_ConfigBasicValue_struct }; +const struct CORBA_TypeCode_struct TC_BasicValueList_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_alias, "BasicValueList", "IDL:BasicValueList:1.0", + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array32, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigList_0 == 'G') \ +&& (TC_IMPL_TC_ConfigList_1 == 'C') \ +&& (TC_IMPL_TC_ConfigList_2 == 'o') \ +&& (TC_IMPL_TC_ConfigList_3 == 'n') \ +&& (TC_IMPL_TC_ConfigList_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigList) +#define TC_DEF_TC_ConfigList 1 +static const char *anon_subnames_array35[] = { "seq", "list_type" }; +static const CORBA_TypeCode anon_subtypes_array36[] = + { (CORBA_TypeCode) & TC_BasicValueList_struct, +(CORBA_TypeCode) & TC_ConfigBasicValueType_struct }; +const struct CORBA_TypeCode_struct TC_ConfigList_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_struct, "ConfigList", "IDL:ConfigList:1.0", + 0, 2, + (const char **) anon_subnames_array35, + (CORBA_TypeCode *) anon_subtypes_array36, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigValue_0 == 'G') \ +&& (TC_IMPL_TC_ConfigValue_1 == 'C') \ +&& (TC_IMPL_TC_ConfigValue_2 == 'o') \ +&& (TC_IMPL_TC_ConfigValue_3 == 'n') \ +&& (TC_IMPL_TC_ConfigValue_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigValue) +#define TC_DEF_TC_ConfigValue 1 +static const ConfigValueType anon_sublabel_values_array42[] = + { InvalidVal, IntVal, StringVal, FloatVal, BoolVal, SchemaVal, ListVal, +PairVal }; +static const char *anon_subnames_array39[] = + { "dummy", "int_value", "string_value", "float_value", "bool_value", +"schema_value", "list_value", "pair_value" }; +static const CORBA_TypeCode anon_subtypes_array40[] = + { (CORBA_TypeCode) & TC_CORBA_long_struct, +(CORBA_TypeCode) & TC_CORBA_long_struct, (CORBA_TypeCode) & TC_CORBA_string_struct, +(CORBA_TypeCode) & TC_CORBA_float_struct, (CORBA_TypeCode) & TC_CORBA_boolean_struct, +(CORBA_TypeCode) & TC_ConfigSchema_struct, (CORBA_TypeCode) & TC_ConfigList_struct, +(CORBA_TypeCode) & TC_BasicValueList_struct }; +static const CORBA_any anon_sublabels_array41[] = + { {(CORBA_TypeCode) & TC_ConfigValueType_struct, + (gpointer) & anon_sublabel_values_array42[0], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigValueType_struct, + (gpointer) & anon_sublabel_values_array42[1], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigValueType_struct, + (gpointer) & anon_sublabel_values_array42[2], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigValueType_struct, + (gpointer) & anon_sublabel_values_array42[3], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigValueType_struct, + (gpointer) & anon_sublabel_values_array42[4], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigValueType_struct, + (gpointer) & anon_sublabel_values_array42[5], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigValueType_struct, + (gpointer) & anon_sublabel_values_array42[6], CORBA_FALSE}, + {(CORBA_TypeCode) & TC_ConfigValueType_struct, + (gpointer) & anon_sublabel_values_array42[7], CORBA_FALSE} }; +const struct CORBA_TypeCode_struct TC_ConfigValue_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_union, "ConfigValue", "IDL:ConfigValue:1.0", + 0, 8, + (const char **) anon_subnames_array39, + (CORBA_TypeCode *) anon_subtypes_array40, + (CORBA_any *) anon_sublabels_array41, + (CORBA_TypeCode) & TC_ConfigValueType_struct, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigListener_0 == 'G') \ +&& (TC_IMPL_TC_ConfigListener_1 == 'C') \ +&& (TC_IMPL_TC_ConfigListener_2 == 'o') \ +&& (TC_IMPL_TC_ConfigListener_3 == 'n') \ +&& (TC_IMPL_TC_ConfigListener_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigListener) +#define TC_DEF_TC_ConfigListener 1 +const struct CORBA_TypeCode_struct TC_ConfigListener_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_objref, "ConfigListener", "IDL:ConfigListener:1.0", + 0, 0, + NULL, + NULL, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_CORBA_string_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_CORBA_string) +#define TC_DEF_TC_CORBA_sequence_CORBA_string 1 +static const CORBA_TypeCode anon_subtypes_array49[] = + { (CORBA_TypeCode) & TC_CORBA_string_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_CORBA_string_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array49, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_CORBA_string_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_CORBA_string) +#define TC_DEF_TC_CORBA_sequence_CORBA_string 1 +static const CORBA_TypeCode anon_subtypes_array58[] = + { (CORBA_TypeCode) & TC_CORBA_string_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_CORBA_string_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array58, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigListener_KeyList_0 == 'G') \ +&& (TC_IMPL_TC_ConfigListener_KeyList_1 == 'C') \ +&& (TC_IMPL_TC_ConfigListener_KeyList_2 == 'o') \ +&& (TC_IMPL_TC_ConfigListener_KeyList_3 == 'n') \ +&& (TC_IMPL_TC_ConfigListener_KeyList_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigListener_KeyList) +#define TC_DEF_TC_ConfigListener_KeyList 1 +static const CORBA_TypeCode anon_subtypes_array62[] = + { (CORBA_TypeCode) & TC_CORBA_sequence_CORBA_string_struct }; +const struct CORBA_TypeCode_struct TC_ConfigListener_KeyList_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_alias, "KeyList", "IDL:ConfigListener/KeyList:1.0", + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array62, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigErrorType_0 == 'G') \ +&& (TC_IMPL_TC_ConfigErrorType_1 == 'C') \ +&& (TC_IMPL_TC_ConfigErrorType_2 == 'o') \ +&& (TC_IMPL_TC_ConfigErrorType_3 == 'n') \ +&& (TC_IMPL_TC_ConfigErrorType_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigErrorType) +#define TC_DEF_TC_ConfigErrorType 1 +static const char *anon_subnames_array65[] = + { "ConfigFailed", "ConfigNoPermission", "ConfigBadAddress", "ConfigBadKey", +"ConfigParseError", "ConfigCorrupt", "ConfigTypeMismatch", "ConfigIsDir", "ConfigIsKey", "ConfigOverridden", +"ConfigLockFailed", "ConfigNoWritableDatabase", "ConfigInShutdown" }; +const struct CORBA_TypeCode_struct TC_ConfigErrorType_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_enum, "ConfigErrorType", "IDL:ConfigErrorType:1.0", + 0, 13, + (const char **) anon_subnames_array65, + NULL, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigException_0 == 'G') \ +&& (TC_IMPL_TC_ConfigException_1 == 'C') \ +&& (TC_IMPL_TC_ConfigException_2 == 'o') \ +&& (TC_IMPL_TC_ConfigException_3 == 'n') \ +&& (TC_IMPL_TC_ConfigException_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigException) +#define TC_DEF_TC_ConfigException 1 +static const char *anon_subnames_array69[] = { "err_no", "message" }; +static const CORBA_TypeCode anon_subtypes_array70[] = + { (CORBA_TypeCode) & TC_ConfigErrorType_struct, +(CORBA_TypeCode) & TC_CORBA_string_struct }; +const struct CORBA_TypeCode_struct TC_ConfigException_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_except, "ConfigException", "IDL:ConfigException:1.0", + 0, 2, + (const char **) anon_subnames_array69, + (CORBA_TypeCode *) anon_subtypes_array70, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigDatabase_0 == 'G') \ +&& (TC_IMPL_TC_ConfigDatabase_1 == 'C') \ +&& (TC_IMPL_TC_ConfigDatabase_2 == 'o') \ +&& (TC_IMPL_TC_ConfigDatabase_3 == 'n') \ +&& (TC_IMPL_TC_ConfigDatabase_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigDatabase) +#define TC_DEF_TC_ConfigDatabase 1 +const struct CORBA_TypeCode_struct TC_ConfigDatabase_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_objref, "ConfigDatabase", "IDL:ConfigDatabase:1.0", + 0, 0, + NULL, + NULL, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_CORBA_string_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_CORBA_string) +#define TC_DEF_TC_CORBA_sequence_CORBA_string 1 +static const CORBA_TypeCode anon_subtypes_array78[] = + { (CORBA_TypeCode) & TC_CORBA_string_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_CORBA_string_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array78, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_CORBA_string_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_CORBA_string) +#define TC_DEF_TC_CORBA_sequence_CORBA_string 1 +static const CORBA_TypeCode anon_subtypes_array87[] = + { (CORBA_TypeCode) & TC_CORBA_string_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_CORBA_string_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array87, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigDatabase_KeyList_0 == 'G') \ +&& (TC_IMPL_TC_ConfigDatabase_KeyList_1 == 'C') \ +&& (TC_IMPL_TC_ConfigDatabase_KeyList_2 == 'o') \ +&& (TC_IMPL_TC_ConfigDatabase_KeyList_3 == 'n') \ +&& (TC_IMPL_TC_ConfigDatabase_KeyList_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigDatabase_KeyList) +#define TC_DEF_TC_ConfigDatabase_KeyList 1 +static const CORBA_TypeCode anon_subtypes_array91[] = + { (CORBA_TypeCode) & TC_CORBA_sequence_CORBA_string_struct }; +const struct CORBA_TypeCode_struct TC_ConfigDatabase_KeyList_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_alias, "KeyList", "IDL:ConfigDatabase/KeyList:1.0", + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array91, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_ConfigValue_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigValue_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigValue_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigValue_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigValue_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_ConfigValue) +#define TC_DEF_TC_CORBA_sequence_ConfigValue 1 +static const CORBA_TypeCode anon_subtypes_array95[] = + { (CORBA_TypeCode) & TC_ConfigValue_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_ConfigValue_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array95, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_ConfigValue_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigValue_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigValue_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigValue_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_ConfigValue_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_ConfigValue) +#define TC_DEF_TC_CORBA_sequence_ConfigValue 1 +static const CORBA_TypeCode anon_subtypes_array104[] = + { (CORBA_TypeCode) & TC_ConfigValue_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_ConfigValue_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array104, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigDatabase_ValueList_0 == 'G') \ +&& (TC_IMPL_TC_ConfigDatabase_ValueList_1 == 'C') \ +&& (TC_IMPL_TC_ConfigDatabase_ValueList_2 == 'o') \ +&& (TC_IMPL_TC_ConfigDatabase_ValueList_3 == 'n') \ +&& (TC_IMPL_TC_ConfigDatabase_ValueList_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigDatabase_ValueList) +#define TC_DEF_TC_ConfigDatabase_ValueList 1 +static const CORBA_TypeCode anon_subtypes_array108[] = + { (CORBA_TypeCode) & TC_CORBA_sequence_ConfigValue_struct }; +const struct CORBA_TypeCode_struct TC_ConfigDatabase_ValueList_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_alias, "ValueList", "IDL:ConfigDatabase/ValueList:1.0", + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array108, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_CORBA_boolean) +#define TC_DEF_TC_CORBA_sequence_CORBA_boolean 1 +static const CORBA_TypeCode anon_subtypes_array112[] = + { (CORBA_TypeCode) & TC_CORBA_boolean_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_CORBA_boolean_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array112, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_CORBA_boolean) +#define TC_DEF_TC_CORBA_sequence_CORBA_boolean 1 +static const CORBA_TypeCode anon_subtypes_array121[] = + { (CORBA_TypeCode) & TC_CORBA_boolean_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_CORBA_boolean_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array121, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigDatabase_IsDefaultList_0 == 'G') \ +&& (TC_IMPL_TC_ConfigDatabase_IsDefaultList_1 == 'C') \ +&& (TC_IMPL_TC_ConfigDatabase_IsDefaultList_2 == 'o') \ +&& (TC_IMPL_TC_ConfigDatabase_IsDefaultList_3 == 'n') \ +&& (TC_IMPL_TC_ConfigDatabase_IsDefaultList_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigDatabase_IsDefaultList) +#define TC_DEF_TC_ConfigDatabase_IsDefaultList 1 +static const CORBA_TypeCode anon_subtypes_array125[] = + { (CORBA_TypeCode) & TC_CORBA_sequence_CORBA_boolean_struct }; +const struct CORBA_TypeCode_struct TC_ConfigDatabase_IsDefaultList_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_alias, "IsDefaultList", "IDL:ConfigDatabase/IsDefaultList:1.0", + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array125, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_CORBA_boolean) +#define TC_DEF_TC_CORBA_sequence_CORBA_boolean 1 +static const CORBA_TypeCode anon_subtypes_array129[] = + { (CORBA_TypeCode) & TC_CORBA_boolean_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_CORBA_boolean_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array129, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_boolean_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_CORBA_boolean) +#define TC_DEF_TC_CORBA_sequence_CORBA_boolean 1 +static const CORBA_TypeCode anon_subtypes_array138[] = + { (CORBA_TypeCode) & TC_CORBA_boolean_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_CORBA_boolean_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array138, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigDatabase_IsWritableList_0 == 'G') \ +&& (TC_IMPL_TC_ConfigDatabase_IsWritableList_1 == 'C') \ +&& (TC_IMPL_TC_ConfigDatabase_IsWritableList_2 == 'o') \ +&& (TC_IMPL_TC_ConfigDatabase_IsWritableList_3 == 'n') \ +&& (TC_IMPL_TC_ConfigDatabase_IsWritableList_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigDatabase_IsWritableList) +#define TC_DEF_TC_ConfigDatabase_IsWritableList 1 +static const CORBA_TypeCode anon_subtypes_array142[] = + { (CORBA_TypeCode) & TC_CORBA_sequence_CORBA_boolean_struct }; +const struct CORBA_TypeCode_struct TC_ConfigDatabase_IsWritableList_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_alias, "IsWritableList", "IDL:ConfigDatabase/IsWritableList:1.0", + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array142, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigDatabase2_0 == 'G') \ +&& (TC_IMPL_TC_ConfigDatabase2_1 == 'C') \ +&& (TC_IMPL_TC_ConfigDatabase2_2 == 'o') \ +&& (TC_IMPL_TC_ConfigDatabase2_3 == 'n') \ +&& (TC_IMPL_TC_ConfigDatabase2_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigDatabase2) +#define TC_DEF_TC_ConfigDatabase2 1 +const struct CORBA_TypeCode_struct TC_ConfigDatabase2_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_objref, "ConfigDatabase2", "IDL:ConfigDatabase2:1.0", + 0, 0, + NULL, + NULL, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_CORBA_string_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_CORBA_string) +#define TC_DEF_TC_CORBA_sequence_CORBA_string 1 +static const CORBA_TypeCode anon_subtypes_array150[] = + { (CORBA_TypeCode) & TC_CORBA_string_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_CORBA_string_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array150, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_CORBA_sequence_CORBA_string_0 == 'G') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_1 == 'C') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_2 == 'o') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_3 == 'n') \ +&& (TC_IMPL_TC_CORBA_sequence_CORBA_string_4 == 'f') \ +) && !defined(TC_DEF_TC_CORBA_sequence_CORBA_string) +#define TC_DEF_TC_CORBA_sequence_CORBA_string 1 +static const CORBA_TypeCode anon_subtypes_array159[] = + { (CORBA_TypeCode) & TC_CORBA_string_struct }; +const struct CORBA_TypeCode_struct TC_CORBA_sequence_CORBA_string_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_sequence, NULL, NULL, + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array159, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigDatabase2_SchemaNameList_0 == 'G') \ +&& (TC_IMPL_TC_ConfigDatabase2_SchemaNameList_1 == 'C') \ +&& (TC_IMPL_TC_ConfigDatabase2_SchemaNameList_2 == 'o') \ +&& (TC_IMPL_TC_ConfigDatabase2_SchemaNameList_3 == 'n') \ +&& (TC_IMPL_TC_ConfigDatabase2_SchemaNameList_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigDatabase2_SchemaNameList) +#define TC_DEF_TC_ConfigDatabase2_SchemaNameList 1 +static const CORBA_TypeCode anon_subtypes_array163[] = + { (CORBA_TypeCode) & TC_CORBA_sequence_CORBA_string_struct }; +const struct CORBA_TypeCode_struct TC_ConfigDatabase2_SchemaNameList_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_alias, "SchemaNameList", "IDL:ConfigDatabase2/SchemaNameList:1.0", + 0, 1, + NULL, + (CORBA_TypeCode *) anon_subtypes_array163, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +#if ( (TC_IMPL_TC_ConfigServer_0 == 'G') \ +&& (TC_IMPL_TC_ConfigServer_1 == 'C') \ +&& (TC_IMPL_TC_ConfigServer_2 == 'o') \ +&& (TC_IMPL_TC_ConfigServer_3 == 'n') \ +&& (TC_IMPL_TC_ConfigServer_4 == 'f') \ +) && !defined(TC_DEF_TC_ConfigServer) +#define TC_DEF_TC_ConfigServer 1 +const struct CORBA_TypeCode_struct TC_ConfigServer_struct = { + {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, + ORBIT_PSEUDO_TYPECODE}, + CORBA_tk_objref, "ConfigServer", "IDL:ConfigServer:1.0", + 0, 0, + NULL, + NULL, + NULL, + CORBA_OBJECT_NIL, 0, -1, 0, 0 +}; +#endif +gpointer +ConfigSchema__free(gpointer mem, gpointer dat, CORBA_boolean free_strings) +{ + ConfigSchema *var = mem; + + if (free_strings) { + CORBA_string__free(&(var->locale), NULL, free_strings); + } + if (free_strings) { + CORBA_string__free(&(var->short_desc), NULL, free_strings); + } + if (free_strings) { + CORBA_string__free(&(var->long_desc), NULL, free_strings); + } + if (free_strings) { + CORBA_string__free(&(var->owner), NULL, free_strings); + } + if (free_strings) { + CORBA_string__free(&(var->encoded_default_value), NULL, free_strings); + } + return (gpointer) (var + 1); +} + +ConfigSchema * +ConfigSchema__alloc(void) +{ + ConfigSchema *retval; + + retval = + ORBit_alloc(sizeof(ConfigSchema), + (ORBit_free_childvals) ConfigSchema__free, + GUINT_TO_POINTER(1)); + memset(&(retval->locale), '\0', sizeof(retval->locale)); + memset(&(retval->short_desc), '\0', sizeof(retval->short_desc)); + memset(&(retval->long_desc), '\0', sizeof(retval->long_desc)); + memset(&(retval->owner), '\0', sizeof(retval->owner)); + memset(&(retval->encoded_default_value), '\0', + sizeof(retval->encoded_default_value)); + return retval; +} + +gpointer +ConfigBasicValue__free(gpointer mem, gpointer dat, CORBA_boolean free_strings) +{ + ConfigBasicValue *val = mem; + + switch (val->_d) { + case BInvalidVal: + break; + case BIntVal: + break; + case BStringVal: + CORBA_string__free(&(val->_u.string_value), NULL, free_strings); + break; + case BFloatVal: + break; + case BBoolVal: + break; + case BSchemaVal: + ConfigSchema__free(&(val->_u.schema_value), NULL, free_strings); + break; + default: + break; + } + return (gpointer) (val + 1); +} + +ConfigBasicValue * +ConfigBasicValue__alloc(void) +{ + ConfigBasicValue *retval; + + retval = + ORBit_alloc(sizeof(ConfigBasicValue), + (ORBit_free_childvals) ConfigBasicValue__free, + GUINT_TO_POINTER(1)); + memset(retval, '\0', sizeof(ConfigBasicValue)); + return retval; +} + +#if ( (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_0 == 'G') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_1 == 'C') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_2 == 'o') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_3 == 'n') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_4 == 'f') \ +) && !defined(ORBIT_DEF_CORBA_sequence_ConfigBasicValue) +#define ORBIT_DEF_CORBA_sequence_ConfigBasicValue 1 + +gpointer +CORBA_sequence_ConfigBasicValue__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + CORBA_sequence_ConfigBasicValue *val = mem; + + if (val->_release) + ORBit_free(val->_buffer, free_strings); + return (gpointer) (val + 1); +} + +CORBA_sequence_ConfigBasicValue * +CORBA_sequence_ConfigBasicValue__alloc(void) +{ + CORBA_sequence_ConfigBasicValue *retval; + + retval = + ORBit_alloc(sizeof(CORBA_sequence_ConfigBasicValue), + (ORBit_free_childvals) + CORBA_sequence_ConfigBasicValue__free, GUINT_TO_POINTER(1)); + retval->_maximum = 0; + retval->_length = 0; + retval->_buffer = NULL; + retval->_release = CORBA_FALSE; + return retval; +} + +ConfigBasicValue * +CORBA_sequence_ConfigBasicValue_allocbuf(CORBA_unsigned_long len) +{ + ConfigBasicValue *retval = + ORBit_alloc(sizeof(ConfigBasicValue) * len, + (ORBit_free_childvals) ConfigBasicValue__free, + GUINT_TO_POINTER(len)); + memset(retval, '\0', sizeof(ConfigBasicValue) * len); + return retval; +} +#endif + +gpointer +BasicValueList__free(gpointer mem, gpointer dat, CORBA_boolean free_strings) +{ + return CORBA_sequence_ConfigBasicValue__free(mem, dat, free_strings); +} + +BasicValueList * +BasicValueList__alloc(void) +{ + return CORBA_sequence_ConfigBasicValue__alloc(); +} + +#if ( (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_0 == 'G') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_1 == 'C') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_2 == 'o') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_3 == 'n') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_4 == 'f') \ +) && !defined(ORBIT_DEF_CORBA_sequence_ConfigBasicValue) +#define ORBIT_DEF_CORBA_sequence_ConfigBasicValue 1 + +gpointer +CORBA_sequence_ConfigBasicValue__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + CORBA_sequence_ConfigBasicValue *val = mem; + + if (val->_release) + ORBit_free(val->_buffer, free_strings); + return (gpointer) (val + 1); +} + +CORBA_sequence_ConfigBasicValue * +CORBA_sequence_ConfigBasicValue__alloc(void) +{ + CORBA_sequence_ConfigBasicValue *retval; + + retval = + ORBit_alloc(sizeof(CORBA_sequence_ConfigBasicValue), + (ORBit_free_childvals) + CORBA_sequence_ConfigBasicValue__free, GUINT_TO_POINTER(1)); + retval->_maximum = 0; + retval->_length = 0; + retval->_buffer = NULL; + retval->_release = CORBA_FALSE; + return retval; +} + +ConfigBasicValue * +CORBA_sequence_ConfigBasicValue_allocbuf(CORBA_unsigned_long len) +{ + ConfigBasicValue *retval = + ORBit_alloc(sizeof(ConfigBasicValue) * len, + (ORBit_free_childvals) ConfigBasicValue__free, + GUINT_TO_POINTER(len)); + memset(retval, '\0', sizeof(ConfigBasicValue) * len); + return retval; +} +#endif + +gpointer +ConfigList__free(gpointer mem, gpointer dat, CORBA_boolean free_strings) +{ + ConfigList *var = mem; + + { + BasicValueList__free(&(var->seq), NULL, free_strings); + } + return (gpointer) (var + 1); +} + +ConfigList * +ConfigList__alloc(void) +{ + ConfigList *retval; + + retval = + ORBit_alloc(sizeof(ConfigList), (ORBit_free_childvals) ConfigList__free, + GUINT_TO_POINTER(1)); + memset(&(retval->seq), '\0', sizeof(retval->seq)); + return retval; +} + +#if ( (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_0 == 'G') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_1 == 'C') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_2 == 'o') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_3 == 'n') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_4 == 'f') \ +) && !defined(ORBIT_DEF_CORBA_sequence_ConfigBasicValue) +#define ORBIT_DEF_CORBA_sequence_ConfigBasicValue 1 + +gpointer +CORBA_sequence_ConfigBasicValue__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + CORBA_sequence_ConfigBasicValue *val = mem; + + if (val->_release) + ORBit_free(val->_buffer, free_strings); + return (gpointer) (val + 1); +} + +CORBA_sequence_ConfigBasicValue * +CORBA_sequence_ConfigBasicValue__alloc(void) +{ + CORBA_sequence_ConfigBasicValue *retval; + + retval = + ORBit_alloc(sizeof(CORBA_sequence_ConfigBasicValue), + (ORBit_free_childvals) + CORBA_sequence_ConfigBasicValue__free, GUINT_TO_POINTER(1)); + retval->_maximum = 0; + retval->_length = 0; + retval->_buffer = NULL; + retval->_release = CORBA_FALSE; + return retval; +} + +ConfigBasicValue * +CORBA_sequence_ConfigBasicValue_allocbuf(CORBA_unsigned_long len) +{ + ConfigBasicValue *retval = + ORBit_alloc(sizeof(ConfigBasicValue) * len, + (ORBit_free_childvals) ConfigBasicValue__free, + GUINT_TO_POINTER(len)); + memset(retval, '\0', sizeof(ConfigBasicValue) * len); + return retval; +} +#endif + +#if ( (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_0 == 'G') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_1 == 'C') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_2 == 'o') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_3 == 'n') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigBasicValue_4 == 'f') \ +) && !defined(ORBIT_DEF_CORBA_sequence_ConfigBasicValue) +#define ORBIT_DEF_CORBA_sequence_ConfigBasicValue 1 + +gpointer +CORBA_sequence_ConfigBasicValue__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + CORBA_sequence_ConfigBasicValue *val = mem; + + if (val->_release) + ORBit_free(val->_buffer, free_strings); + return (gpointer) (val + 1); +} + +CORBA_sequence_ConfigBasicValue * +CORBA_sequence_ConfigBasicValue__alloc(void) +{ + CORBA_sequence_ConfigBasicValue *retval; + + retval = + ORBit_alloc(sizeof(CORBA_sequence_ConfigBasicValue), + (ORBit_free_childvals) + CORBA_sequence_ConfigBasicValue__free, GUINT_TO_POINTER(1)); + retval->_maximum = 0; + retval->_length = 0; + retval->_buffer = NULL; + retval->_release = CORBA_FALSE; + return retval; +} + +ConfigBasicValue * +CORBA_sequence_ConfigBasicValue_allocbuf(CORBA_unsigned_long len) +{ + ConfigBasicValue *retval = + ORBit_alloc(sizeof(ConfigBasicValue) * len, + (ORBit_free_childvals) ConfigBasicValue__free, + GUINT_TO_POINTER(len)); + memset(retval, '\0', sizeof(ConfigBasicValue) * len); + return retval; +} +#endif + +gpointer +ConfigValue__free(gpointer mem, gpointer dat, CORBA_boolean free_strings) +{ + ConfigValue *val = mem; + + switch (val->_d) { + case InvalidVal: + break; + case IntVal: + break; + case StringVal: + CORBA_string__free(&(val->_u.string_value), NULL, free_strings); + break; + case FloatVal: + break; + case BoolVal: + break; + case SchemaVal: + ConfigSchema__free(&(val->_u.schema_value), NULL, free_strings); + break; + case ListVal: + ConfigList__free(&(val->_u.list_value), NULL, free_strings); + break; + case PairVal: + BasicValueList__free(&(val->_u.pair_value), NULL, free_strings); + break; + default: + break; + } + return (gpointer) (val + 1); +} + +ConfigValue * +ConfigValue__alloc(void) +{ + ConfigValue *retval; + + retval = + ORBit_alloc(sizeof(ConfigValue), + (ORBit_free_childvals) ConfigValue__free, + GUINT_TO_POINTER(1)); + memset(retval, '\0', sizeof(ConfigValue)); + return retval; +} + +#if ( (ORBIT_IMPL_CORBA_sequence_CORBA_string_0 == 'G') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_1 == 'C') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_2 == 'o') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_3 == 'n') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_4 == 'f') \ +) && !defined(ORBIT_DEF_CORBA_sequence_CORBA_string) +#define ORBIT_DEF_CORBA_sequence_CORBA_string 1 + +gpointer +CORBA_sequence_CORBA_string__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + CORBA_sequence_CORBA_string *val = mem; + + if (val->_release) + ORBit_free(val->_buffer, free_strings); + return (gpointer) (val + 1); +} + +CORBA_sequence_CORBA_string * +CORBA_sequence_CORBA_string__alloc(void) +{ + CORBA_sequence_CORBA_string *retval; + + retval = + ORBit_alloc(sizeof(CORBA_sequence_CORBA_string), + (ORBit_free_childvals) CORBA_sequence_CORBA_string__free, + GUINT_TO_POINTER(1)); + retval->_maximum = 0; + retval->_length = 0; + retval->_buffer = NULL; + retval->_release = CORBA_FALSE; + return retval; +} + +CORBA_char ** +CORBA_sequence_CORBA_string_allocbuf(CORBA_unsigned_long len) +{ + CORBA_char **retval = + ORBit_alloc(sizeof(CORBA_char *) * len, + (ORBit_free_childvals) CORBA_string__free, + GUINT_TO_POINTER(len)); + memset(retval, '\0', sizeof(CORBA_char *) * len); + return retval; +} +#endif + +gpointer +ConfigListener_KeyList__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + return CORBA_sequence_CORBA_string__free(mem, dat, free_strings); +} + +ConfigListener_KeyList * +ConfigListener_KeyList__alloc(void) +{ + return CORBA_sequence_CORBA_string__alloc(); +} + +CORBA_unsigned_long ConfigListener__classid = 0; +gpointer +ConfigException__free(gpointer mem, gpointer dat, CORBA_boolean free_strings) +{ + ConfigException *var = mem; + + if (free_strings) { + CORBA_string__free(&(var->message), NULL, free_strings); + } + return (gpointer) (var + 1); +} + +ConfigException * +ConfigException__alloc(void) +{ + ConfigException *retval; + + retval = + ORBit_alloc(sizeof(ConfigException), + (ORBit_free_childvals) ConfigException__free, + GUINT_TO_POINTER(1)); + memset(&(retval->message), '\0', sizeof(retval->message)); + return retval; +} + +#if ( (ORBIT_IMPL_CORBA_sequence_CORBA_string_0 == 'G') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_1 == 'C') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_2 == 'o') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_3 == 'n') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_4 == 'f') \ +) && !defined(ORBIT_DEF_CORBA_sequence_CORBA_string) +#define ORBIT_DEF_CORBA_sequence_CORBA_string 1 + +gpointer +CORBA_sequence_CORBA_string__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + CORBA_sequence_CORBA_string *val = mem; + + if (val->_release) + ORBit_free(val->_buffer, free_strings); + return (gpointer) (val + 1); +} + +CORBA_sequence_CORBA_string * +CORBA_sequence_CORBA_string__alloc(void) +{ + CORBA_sequence_CORBA_string *retval; + + retval = + ORBit_alloc(sizeof(CORBA_sequence_CORBA_string), + (ORBit_free_childvals) CORBA_sequence_CORBA_string__free, + GUINT_TO_POINTER(1)); + retval->_maximum = 0; + retval->_length = 0; + retval->_buffer = NULL; + retval->_release = CORBA_FALSE; + return retval; +} + +CORBA_char ** +CORBA_sequence_CORBA_string_allocbuf(CORBA_unsigned_long len) +{ + CORBA_char **retval = + ORBit_alloc(sizeof(CORBA_char *) * len, + (ORBit_free_childvals) CORBA_string__free, + GUINT_TO_POINTER(len)); + memset(retval, '\0', sizeof(CORBA_char *) * len); + return retval; +} +#endif + +gpointer +ConfigDatabase_KeyList__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + return CORBA_sequence_CORBA_string__free(mem, dat, free_strings); +} + +ConfigDatabase_KeyList * +ConfigDatabase_KeyList__alloc(void) +{ + return CORBA_sequence_CORBA_string__alloc(); +} + +#if ( (ORBIT_IMPL_CORBA_sequence_ConfigValue_0 == 'G') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigValue_1 == 'C') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigValue_2 == 'o') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigValue_3 == 'n') \ +&& (ORBIT_IMPL_CORBA_sequence_ConfigValue_4 == 'f') \ +) && !defined(ORBIT_DEF_CORBA_sequence_ConfigValue) +#define ORBIT_DEF_CORBA_sequence_ConfigValue 1 + +gpointer +CORBA_sequence_ConfigValue__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + CORBA_sequence_ConfigValue *val = mem; + + if (val->_release) + ORBit_free(val->_buffer, free_strings); + return (gpointer) (val + 1); +} + +CORBA_sequence_ConfigValue * +CORBA_sequence_ConfigValue__alloc(void) +{ + CORBA_sequence_ConfigValue *retval; + + retval = + ORBit_alloc(sizeof(CORBA_sequence_ConfigValue), + (ORBit_free_childvals) CORBA_sequence_ConfigValue__free, + GUINT_TO_POINTER(1)); + retval->_maximum = 0; + retval->_length = 0; + retval->_buffer = NULL; + retval->_release = CORBA_FALSE; + return retval; +} + +ConfigValue * +CORBA_sequence_ConfigValue_allocbuf(CORBA_unsigned_long len) +{ + ConfigValue *retval = + ORBit_alloc(sizeof(ConfigValue) * len, + (ORBit_free_childvals) ConfigValue__free, + GUINT_TO_POINTER(len)); + memset(retval, '\0', sizeof(ConfigValue) * len); + return retval; +} +#endif + +gpointer +ConfigDatabase_ValueList__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + return CORBA_sequence_ConfigValue__free(mem, dat, free_strings); +} + +ConfigDatabase_ValueList * +ConfigDatabase_ValueList__alloc(void) +{ + return CORBA_sequence_ConfigValue__alloc(); +} + +#if ( (ORBIT_IMPL_CORBA_sequence_CORBA_boolean_0 == 'G') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_boolean_1 == 'C') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_boolean_2 == 'o') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_boolean_3 == 'n') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_boolean_4 == 'f') \ +) && !defined(ORBIT_DEF_CORBA_sequence_CORBA_boolean) +#define ORBIT_DEF_CORBA_sequence_CORBA_boolean 1 + +gpointer +CORBA_sequence_CORBA_boolean__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + CORBA_sequence_CORBA_boolean *val = mem; + + if (val->_release) + ORBit_free(val->_buffer, free_strings); + return (gpointer) (val + 1); +} + +CORBA_sequence_CORBA_boolean * +CORBA_sequence_CORBA_boolean__alloc(void) +{ + CORBA_sequence_CORBA_boolean *retval; + + retval = + ORBit_alloc(sizeof(CORBA_sequence_CORBA_boolean), + (ORBit_free_childvals) CORBA_sequence_CORBA_boolean__free, + GUINT_TO_POINTER(1)); + retval->_maximum = 0; + retval->_length = 0; + retval->_buffer = NULL; + retval->_release = CORBA_FALSE; + return retval; +} + +CORBA_boolean * +CORBA_sequence_CORBA_boolean_allocbuf(CORBA_unsigned_long len) +{ + CORBA_boolean *retval = + ORBit_alloc(sizeof(CORBA_boolean) * len, (ORBit_free_childvals) NULL, + GUINT_TO_POINTER(len)); + return retval; +} +#endif + +gpointer +ConfigDatabase_IsDefaultList__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + return CORBA_sequence_CORBA_boolean__free(mem, dat, free_strings); +} + +ConfigDatabase_IsDefaultList * +ConfigDatabase_IsDefaultList__alloc(void) +{ + return CORBA_sequence_CORBA_boolean__alloc(); +} + +#if ( (ORBIT_IMPL_CORBA_sequence_CORBA_boolean_0 == 'G') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_boolean_1 == 'C') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_boolean_2 == 'o') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_boolean_3 == 'n') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_boolean_4 == 'f') \ +) && !defined(ORBIT_DEF_CORBA_sequence_CORBA_boolean) +#define ORBIT_DEF_CORBA_sequence_CORBA_boolean 1 + +gpointer +CORBA_sequence_CORBA_boolean__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + CORBA_sequence_CORBA_boolean *val = mem; + + if (val->_release) + ORBit_free(val->_buffer, free_strings); + return (gpointer) (val + 1); +} + +CORBA_sequence_CORBA_boolean * +CORBA_sequence_CORBA_boolean__alloc(void) +{ + CORBA_sequence_CORBA_boolean *retval; + + retval = + ORBit_alloc(sizeof(CORBA_sequence_CORBA_boolean), + (ORBit_free_childvals) CORBA_sequence_CORBA_boolean__free, + GUINT_TO_POINTER(1)); + retval->_maximum = 0; + retval->_length = 0; + retval->_buffer = NULL; + retval->_release = CORBA_FALSE; + return retval; +} + +CORBA_boolean * +CORBA_sequence_CORBA_boolean_allocbuf(CORBA_unsigned_long len) +{ + CORBA_boolean *retval = + ORBit_alloc(sizeof(CORBA_boolean) * len, (ORBit_free_childvals) NULL, + GUINT_TO_POINTER(len)); + return retval; +} +#endif + +gpointer +ConfigDatabase_IsWritableList__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + return CORBA_sequence_CORBA_boolean__free(mem, dat, free_strings); +} + +ConfigDatabase_IsWritableList * +ConfigDatabase_IsWritableList__alloc(void) +{ + return CORBA_sequence_CORBA_boolean__alloc(); +} + +CORBA_unsigned_long ConfigDatabase__classid = 0; + +#if ( (ORBIT_IMPL_CORBA_sequence_CORBA_string_0 == 'G') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_1 == 'C') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_2 == 'o') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_3 == 'n') \ +&& (ORBIT_IMPL_CORBA_sequence_CORBA_string_4 == 'f') \ +) && !defined(ORBIT_DEF_CORBA_sequence_CORBA_string) +#define ORBIT_DEF_CORBA_sequence_CORBA_string 1 + +gpointer +CORBA_sequence_CORBA_string__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + CORBA_sequence_CORBA_string *val = mem; + + if (val->_release) + ORBit_free(val->_buffer, free_strings); + return (gpointer) (val + 1); +} + +CORBA_sequence_CORBA_string * +CORBA_sequence_CORBA_string__alloc(void) +{ + CORBA_sequence_CORBA_string *retval; + + retval = + ORBit_alloc(sizeof(CORBA_sequence_CORBA_string), + (ORBit_free_childvals) CORBA_sequence_CORBA_string__free, + GUINT_TO_POINTER(1)); + retval->_maximum = 0; + retval->_length = 0; + retval->_buffer = NULL; + retval->_release = CORBA_FALSE; + return retval; +} + +CORBA_char ** +CORBA_sequence_CORBA_string_allocbuf(CORBA_unsigned_long len) +{ + CORBA_char **retval = + ORBit_alloc(sizeof(CORBA_char *) * len, + (ORBit_free_childvals) CORBA_string__free, + GUINT_TO_POINTER(len)); + memset(retval, '\0', sizeof(CORBA_char *) * len); + return retval; +} +#endif + +gpointer +ConfigDatabase2_SchemaNameList__free(gpointer mem, gpointer dat, + CORBA_boolean free_strings) +{ + return CORBA_sequence_CORBA_string__free(mem, dat, free_strings); +} + +ConfigDatabase2_SchemaNameList * +ConfigDatabase2_SchemaNameList__alloc(void) +{ + return CORBA_sequence_CORBA_string__alloc(); +} + +CORBA_unsigned_long ConfigDatabase2__classid = 0; +CORBA_unsigned_long ConfigServer__classid = 0; --- gconf-1.0.9.orig/backends/Makefile.in +++ gconf-1.0.9/backends/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -96,6 +96,7 @@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_LIBS = @GUILE_LIBS@ +HAVE_LIB = @HAVE_LIB@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTALL_GCONF_CONFIG_SOURCE = @INSTALL_GCONF_CONFIG_SOURCE@ INSTOBJEXT = @INSTOBJEXT@ @@ -103,8 +104,10 @@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ LDFLAGS = @LDFLAGS@ +LIB = @LIB@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ +LTLIB = @LTLIB@ MAINT = @MAINT@ MAJOR_VERSION = @MAJOR_VERSION@ MAKEINFO = @MAKEINFO@ @@ -136,27 +139,18 @@ gconflocaledir = @gconflocaledir@ l = @l@ -INCLUDES = -I$(top_srcdir) -I$(top_builddir) -I$(top_builddir)/gconf \ - $(GLIB_CFLAGS) $(OAF_CFLAGS) $(ORBIT_CFLAGS) $(XML_CFLAGS) \ - -DGCONF_ENABLE_INTERNALS=1 -DG_LOG_DOMAIN=\"GConf-Backends\" +INCLUDES = -I$(top_srcdir) -I$(top_builddir) -I$(top_builddir)/gconf $(GLIB_CFLAGS) $(OAF_CFLAGS) $(ORBIT_CFLAGS) $(XML_CFLAGS) -DGCONF_ENABLE_INTERNALS=1 -DG_LOG_DOMAIN=\"GConf-Backends\" EXTRA_DIST = README.bdb backenddir = $(pkglibdir)/$(MAJOR_VERSION) -@BDB_TRUE@BDBBACKEND = @BDB_TRUE@libgconfbackend-bdb.la +@BDB_TRUE@BDBBACKEND = libgconfbackend-bdb.la @BDB_FALSE@BDBBACKEND = backend_LTLIBRARIES = libgconfbackend-xml.la $(BDBBACKEND) -libgconfbackend_xml_la_SOURCES = \ - xml-cache.h \ - xml-cache.c \ - xml-dir.h \ - xml-dir.c \ - xml-entry.h \ - xml-entry.c \ - xml-backend.c +libgconfbackend_xml_la_SOURCES = xml-cache.h xml-cache.c xml-dir.h xml-dir.c xml-entry.h xml-entry.c xml-backend.c libgconfbackend_xml_la_LDFLAGS = -avoid-version -module @@ -189,8 +183,11 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best +DEP_FILES = .deps/bdb-backend.P .deps/bdb.P .deps/dir-utils.P \ +.deps/val-encode.P .deps/xml-backend.P .deps/xml-cache.P \ +.deps/xml-dir.P .deps/xml-entry.P SOURCES = $(libgconfbackend_xml_la_SOURCES) $(libgconfbackend_bdb_la_SOURCES) OBJECTS = $(libgconfbackend_xml_la_OBJECTS) $(libgconfbackend_bdb_la_OBJECTS) @@ -198,9 +195,9 @@ .SUFFIXES: .SUFFIXES: .S .c .lo .o .obj .s $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps backends/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu backends/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -230,9 +227,6 @@ $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(backenddir)/$$p; \ done -.c.o: - $(COMPILE) -c $< - # FIXME: We should only use cygpath when building on Windows, # and only if it is available. .c.obj: @@ -255,9 +249,6 @@ maintainer-clean-compile: -.c.lo: - $(LIBTOOL) --mode=compile $(COMPILE) -c $< - .s.lo: $(LIBTOOL) --mode=compile $(COMPILE) -c $< @@ -298,7 +289,7 @@ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: @@ -314,6 +305,11 @@ subdir = backends distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu backends/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ @@ -324,49 +320,38 @@ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -bdb-backend.lo bdb-backend.o : bdb-backend.c ../gconf/gconf-backend.h \ - ../gconf/gconf-internals.h ../gconf/gconf-error.h \ - ../gconf/gconf-glib-public.h ../gconf/gconf-value.h \ - ../gconf/GConf.h ../gconf/gconf-sources.h ../gconf/gconf.h \ - ../gconf/gconf-schema.h ../gconf/gconf-engine.h bdb.h \ - dir-utils.h -bdb.lo bdb.o : bdb.c ../gconf/gconf.h ../gconf/gconf-schema.h \ - ../gconf/gconf-value.h ../gconf/gconf-error.h \ - ../gconf/gconf-glib-public.h ../gconf/gconf-engine.h \ - ../gconf/gconf-internals.h ../gconf/GConf.h ../config.h bdb.h \ - dir-utils.h val-encode.h -dir-utils.lo dir-utils.o : dir-utils.c ../gconf/gconf-backend.h \ - ../gconf/gconf-internals.h ../gconf/gconf-error.h \ - ../gconf/gconf-glib-public.h ../gconf/gconf-value.h \ - ../gconf/GConf.h ../gconf/gconf-sources.h ../gconf/gconf.h \ - ../gconf/gconf-schema.h ../gconf/gconf-engine.h -val-encode.lo val-encode.o : val-encode.c ../gconf/gconf.h \ - ../gconf/gconf-schema.h ../gconf/gconf-value.h \ - ../gconf/gconf-error.h ../gconf/gconf-glib-public.h \ - ../gconf/gconf-engine.h ../gconf/gconf-internals.h \ - ../gconf/GConf.h dir-utils.h -xml-backend.lo xml-backend.o : xml-backend.c ../gconf/gconf-backend.h \ - ../gconf/gconf-internals.h ../gconf/gconf-error.h \ - ../gconf/gconf-glib-public.h ../gconf/gconf-value.h \ - ../gconf/GConf.h ../gconf/gconf-sources.h ../gconf/gconf.h \ - ../gconf/gconf-schema.h ../gconf/gconf-engine.h xml-cache.h \ - xml-dir.h -xml-cache.lo xml-cache.o : xml-cache.c xml-cache.h ../gconf/gconf.h \ - ../gconf/gconf-schema.h ../gconf/gconf-value.h \ - ../gconf/gconf-error.h ../gconf/gconf-glib-public.h \ - ../gconf/gconf-engine.h xml-dir.h ../gconf/gconf-internals.h \ - ../gconf/GConf.h -xml-dir.lo xml-dir.o : xml-dir.c xml-dir.h ../gconf/gconf.h \ - ../gconf/gconf-schema.h ../gconf/gconf-value.h \ - ../gconf/gconf-error.h ../gconf/gconf-glib-public.h \ - ../gconf/gconf-engine.h xml-entry.h ../gconf/gconf-internals.h \ - ../gconf/GConf.h -xml-entry.lo xml-entry.o : xml-entry.c xml-entry.h ../gconf/gconf.h \ - ../gconf/gconf-schema.h ../gconf/gconf-value.h \ - ../gconf/gconf-error.h ../gconf/gconf-glib-public.h \ - ../gconf/gconf-engine.h ../gconf/gconf-internals.h \ - ../gconf/GConf.h +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: @@ -404,27 +389,27 @@ maintainer-clean-generic: mostlyclean-am: mostlyclean-backendLTLIBRARIES mostlyclean-compile \ - mostlyclean-libtool mostlyclean-tags \ + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \ mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-backendLTLIBRARIES clean-compile clean-libtool \ - clean-tags clean-generic mostlyclean-am + clean-tags clean-depend clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-backendLTLIBRARIES distclean-compile \ - distclean-libtool distclean-tags distclean-generic \ - clean-am + distclean-libtool distclean-tags distclean-depend \ + distclean-generic clean-am -rm -f libtool distclean: distclean-am maintainer-clean-am: maintainer-clean-backendLTLIBRARIES \ maintainer-clean-compile maintainer-clean-libtool \ - maintainer-clean-tags maintainer-clean-generic \ - distclean-am + maintainer-clean-tags maintainer-clean-depend \ + maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." @@ -436,12 +421,14 @@ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile mostlyclean-libtool distclean-libtool \ clean-libtool maintainer-clean-libtool tags mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +distclean-tags clean-tags maintainer-clean-tags distdir \ +mostlyclean-depend distclean-depend clean-depend \ +maintainer-clean-depend info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. --- gconf-1.0.9.orig/backends/xml-dir.c +++ gconf-1.0.9/backends/xml-dir.c @@ -666,7 +666,15 @@ return NULL; len = strlen(d->fs_dirname); +#ifdef PATH_MAX subdir_len = PATH_MAX - len; +#else + { + glong path_max = pathconf (d->fs_dirname, _PC_PATH_MAX); + if (path_max <= 0) path_max = 4096; + subdir_len = path_max - len; + } +#endif fullpath = g_malloc0(subdir_len + len + 20); /* ensure null termination */ strcpy(fullpath, d->fs_dirname); --- gconf-1.0.9.orig/backends/bdb.c +++ gconf-1.0.9/backends/bdb.c @@ -331,7 +331,7 @@ /* } */ -static guint32 +guint32 get_dir_id (BDB_Store * bdb, const char *dir) { int ret; @@ -405,7 +405,7 @@ /* { Functions to create directories and maintain the dir hierarchy */ -static guint32 +guint32 get_or_create_dir (BDB_Store * bdb, const char *dir) { guint32 parent_id; --- gconf-1.0.9.orig/wrappers/Makefile.in +++ gconf-1.0.9/wrappers/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -96,6 +96,7 @@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_LIBS = @GUILE_LIBS@ +HAVE_LIB = @HAVE_LIB@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTALL_GCONF_CONFIG_SOURCE = @INSTALL_GCONF_CONFIG_SOURCE@ INSTOBJEXT = @INSTOBJEXT@ @@ -103,8 +104,10 @@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ LDFLAGS = @LDFLAGS@ +LIB = @LIB@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ +LTLIB = @LTLIB@ MAINT = @MAINT@ MAJOR_VERSION = @MAJOR_VERSION@ MAKEINFO = @MAKEINFO@ @@ -137,7 +140,7 @@ l = @l@ @GUILE_TRUE@GUILE_SUBDIRS = @GUILE_FALSE@GUILE_SUBDIRS = -@GTK_TRUE@GTK_SUBDIRS = @GTK_TRUE@gtk +@GTK_TRUE@GTK_SUBDIRS = gtk @GTK_FALSE@GTK_SUBDIRS = SUBDIRS = $(GTK_SUBDIRS) $(GUILE_SUBDIRS) @@ -149,15 +152,15 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best DIST_SUBDIRS = gtk all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps wrappers/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu wrappers/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -240,7 +243,7 @@ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: @@ -256,6 +259,11 @@ subdir = wrappers distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu wrappers/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ --- gconf-1.0.9.orig/wrappers/gtk/Makefile.in +++ gconf-1.0.9/wrappers/gtk/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -96,6 +96,7 @@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_LIBS = @GUILE_LIBS@ +HAVE_LIB = @HAVE_LIB@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTALL_GCONF_CONFIG_SOURCE = @INSTALL_GCONF_CONFIG_SOURCE@ INSTOBJEXT = @INSTOBJEXT@ @@ -103,8 +104,10 @@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ LDFLAGS = @LDFLAGS@ +LIB = @LIB@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ +LTLIB = @LTLIB@ MAINT = @MAINT@ MAJOR_VERSION = @MAJOR_VERSION@ MAKEINFO = @MAKEINFO@ @@ -136,25 +139,21 @@ gconflocaledir = @gconflocaledir@ l = @l@ -INCLUDES = -I$(top_srcdir) -I$(top_builddir) -I$(top_builddir)/gconf \ - -DGCONF_LOCALE_DIR=\""$(gconflocaledir)"\" $(GLIB_CFLAGS) $(OAF_CFLAGS) $(GMODULE_CFLAGS) $(ORBIT_CFLAGS) $(GTK_CFLAGS) \ - -DGCONF_SRCDIR=\""$(absolute_top_srcdir)"\" -DGCONF_SYSCONFDIR=\""$(sysconfdir)/$(MAJOR_VERSION)"\" -DGCONF_BACKEND_DIR=\""$(pkglibdir)/$(MAJOR_VERSION)"\" -DGCONF_ENABLE_INTERNALS=1 -DG_LOG_DOMAIN=\"GConfClient\" +INCLUDES = -I$(top_srcdir) -I$(top_builddir) -I$(top_builddir)/gconf -DGCONF_LOCALE_DIR=\""$(gconflocaledir)"\" $(GLIB_CFLAGS) $(OAF_CFLAGS) $(GMODULE_CFLAGS) $(ORBIT_CFLAGS) $(GTK_CFLAGS) -DGCONF_SRCDIR=\""$(absolute_top_srcdir)"\" -DGCONF_SYSCONFDIR=\""$(sysconfdir)/$(MAJOR_VERSION)"\" -DGCONF_BACKEND_DIR=\""$(pkglibdir)/$(MAJOR_VERSION)"\" -DGCONF_ENABLE_INTERNALS=1 -DG_LOG_DOMAIN=\"GConfClient\" lib_LTLIBRARIES = libgconf-gtk-1.la gconfincludedir = $(includedir)/gconf/$(MAJOR_VERSION)/gconf -gconfinclude_HEADERS = \ - gconf-client.h +gconfinclude_HEADERS = gconf-client.h -libgconf_gtk_1_la_SOURCES = \ - gconf-client.c +libgconf_gtk_1_la_SOURCES = gconf-client.c libgconf_gtk_1_la_LDFLAGS = -version-info $(GCONFGTK_CURRENT):$(GCONFGTK_REVISION):$(GCONFGTK_AGE) -libgconf_gtk_1_la_LIBADD = $(INTLLIBS) $(OAF_LIBS) $(GTK_LIBS) +libgconf_gtk_1_la_LIBADD = $(INTLLIBS) $(OAF_LIBS) $(GTK_LIBS) ../../gconf/libgconf-1.la noinst_PROGRAMS = testgconfclient @@ -170,7 +169,7 @@ DEFS = @DEFS@ -I. -I$(srcdir) -I../.. LIBS = @LIBS@ -libgconf_gtk_1_la_DEPENDENCIES = +libgconf_gtk_1_la_DEPENDENCIES = ../../gconf/libgconf-1.la libgconf_gtk_1_la_OBJECTS = gconf-client.lo noinst_PROGRAMS = testgconfclient$(EXEEXT) PROGRAMS = $(noinst_PROGRAMS) @@ -191,8 +190,9 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best +DEP_FILES = .deps/gconf-client.P .deps/testgconfclient.P SOURCES = $(libgconf_gtk_1_la_SOURCES) $(testgconfclient_SOURCES) OBJECTS = $(libgconf_gtk_1_la_OBJECTS) $(testgconfclient_OBJECTS) @@ -200,9 +200,9 @@ .SUFFIXES: .SUFFIXES: .S .c .lo .o .obj .s $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps wrappers/gtk/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu wrappers/gtk/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -232,9 +232,6 @@ $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ done -.c.o: - $(COMPILE) -c $< - # FIXME: We should only use cygpath when building on Windows, # and only if it is available. .c.obj: @@ -257,9 +254,6 @@ maintainer-clean-compile: -.c.lo: - $(LIBTOOL) --mode=compile $(COMPILE) -c $< - .s.lo: $(LIBTOOL) --mode=compile $(COMPILE) -c $< @@ -325,7 +319,7 @@ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: @@ -341,6 +335,11 @@ subdir = wrappers/gtk distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu wrappers/gtk/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ @@ -351,18 +350,38 @@ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -gconf-client.lo gconf-client.o : gconf-client.c gconf-client.h \ - ../../gconf/gconf.h ../../gconf/gconf-schema.h \ - ../../gconf/gconf-value.h ../../gconf/gconf-error.h \ - ../../gconf/gconf-glib-public.h ../../gconf/gconf-engine.h \ - ../../gconf/gconf-listeners.h ../../gconf/gconf-changeset.h \ - ../../gconf/gconf-internals.h ../../gconf/GConf.h -testgconfclient.o: testgconfclient.c gconf-client.h ../../gconf/gconf.h \ - ../../gconf/gconf-schema.h ../../gconf/gconf-value.h \ - ../../gconf/gconf-error.h ../../gconf/gconf-glib-public.h \ - ../../gconf/gconf-engine.h ../../gconf/gconf-listeners.h \ - ../../gconf/gconf-changeset.h +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: @@ -401,19 +420,20 @@ maintainer-clean-generic: mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \ mostlyclean-libtool mostlyclean-noinstPROGRAMS \ - mostlyclean-tags mostlyclean-generic + mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-libLTLIBRARIES clean-compile clean-libtool \ - clean-noinstPROGRAMS clean-tags clean-generic \ - mostlyclean-am + clean-noinstPROGRAMS clean-tags clean-depend \ + clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-libLTLIBRARIES distclean-compile \ distclean-libtool distclean-noinstPROGRAMS \ - distclean-tags distclean-generic clean-am + distclean-tags distclean-depend distclean-generic \ + clean-am -rm -f libtool distclean: distclean-am @@ -421,7 +441,8 @@ maintainer-clean-am: maintainer-clean-libLTLIBRARIES \ maintainer-clean-compile maintainer-clean-libtool \ maintainer-clean-noinstPROGRAMS maintainer-clean-tags \ - maintainer-clean-generic distclean-am + maintainer-clean-depend maintainer-clean-generic \ + distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." @@ -436,12 +457,13 @@ distclean-noinstPROGRAMS clean-noinstPROGRAMS \ maintainer-clean-noinstPROGRAMS uninstall-gconfincludeHEADERS \ install-gconfincludeHEADERS tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ -check-am installcheck-am installcheck install-exec-am install-exec \ -install-data-am install-data install-am install uninstall-am uninstall \ -all-redirect all-am all installdirs mostlyclean-generic \ -distclean-generic clean-generic maintainer-clean-generic clean \ -mostlyclean distclean maintainer-clean +clean-tags maintainer-clean-tags distdir mostlyclean-depend \ +distclean-depend clean-depend maintainer-clean-depend info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs \ +mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. --- gconf-1.0.9.orig/wrappers/gtk/Makefile.am +++ gconf-1.0.9/wrappers/gtk/Makefile.am @@ -13,7 +13,7 @@ libgconf_gtk_1_la_LDFLAGS=-version-info $(GCONFGTK_CURRENT):$(GCONFGTK_REVISION):$(GCONFGTK_AGE) -libgconf_gtk_1_la_LIBADD= $(INTLLIBS) $(OAF_LIBS) $(GTK_LIBS) +libgconf_gtk_1_la_LIBADD= $(INTLLIBS) $(OAF_LIBS) $(GTK_LIBS) ../../gconf/libgconf-1.la noinst_PROGRAMS= testgconfclient --- gconf-1.0.9.orig/po/GConf.pot +++ gconf-1.0.9/po/GConf.pot @@ -1,12 +1,13 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Free Software Foundation, Inc. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-03-14 23:10-0500\n" +"POT-Creation-Date: 2002-08-23 17:30+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -32,7 +33,7 @@ msgid "Couldn't find the %s root directory in the address `%s'" msgstr "" -#: backends/dir-utils.c:124 backends/xml-backend.c:304 backends/xml-dir.c:1050 +#: backends/dir-utils.c:124 backends/xml-backend.c:304 backends/xml-dir.c:1058 #, c-format msgid "Could not make directory `%s': %s" msgstr "" @@ -129,32 +130,32 @@ msgstr "" #. These are all fatal errors -#: backends/xml-dir.c:803 +#: backends/xml-dir.c:811 #, c-format msgid "Failed to stat `%s': %s" msgstr "" -#: backends/xml-dir.c:947 +#: backends/xml-dir.c:955 #, c-format msgid "Duplicate entry `%s' in `%s', ignoring" msgstr "" -#: backends/xml-dir.c:969 +#: backends/xml-dir.c:977 #, c-format msgid "Entry with no name in XML file `%s', ignoring" msgstr "" -#: backends/xml-dir.c:977 +#: backends/xml-dir.c:985 #, c-format msgid "A toplevel node in XML file `%s' is <%s> rather than , ignoring" msgstr "" -#: backends/xml-dir.c:1066 +#: backends/xml-dir.c:1074 #, c-format msgid "Failed to create file `%s': %s" msgstr "" -#: backends/xml-dir.c:1074 +#: backends/xml-dir.c:1082 #, c-format msgid "Failed to close file `%s': %s" msgstr "" @@ -646,12 +647,12 @@ msgid "Failed to create pipe for communicating with spawned gconf daemon: %s\n" msgstr "" -#: gconf/gconf-internals.c:3064 +#: gconf/gconf-internals.c:3069 #, c-format msgid "Failed to launch configuration server: %s\n" msgstr "" -#: gconf/gconf-internals.c:3088 +#: gconf/gconf-internals.c:3093 msgid "" "Failed to contact configuration server (a likely cause of this is that you " "have an existing configuration server (gconfd) running, but it isn't " @@ -659,46 +660,46 @@ "need to enable TCP networking for ORBit)\n" msgstr "" -#: gconf/gconf-internals.c:3724 +#: gconf/gconf-internals.c:3729 #, c-format msgid "Failed to read from child pipe (%s)" msgstr "" -#: gconf/gconf-internals.c:3789 +#: gconf/gconf-internals.c:3794 #, c-format msgid "Failed to fork (%s)" msgstr "" -#: gconf/gconf-internals.c:3929 +#: gconf/gconf-internals.c:3934 #, c-format msgid "Failed to change to directory '%s' (%s)" msgstr "" -#: gconf/gconf-internals.c:3939 +#: gconf/gconf-internals.c:3944 #, c-format msgid "Failed to execute child process (%s)" msgstr "" -#: gconf/gconf-internals.c:3948 +#: gconf/gconf-internals.c:3953 #, c-format msgid "Failed to redirect output or input of child process (%s)" msgstr "" -#: gconf/gconf-internals.c:3957 +#: gconf/gconf-internals.c:3962 #, c-format msgid "Failed to fork child process (%s)" msgstr "" -#: gconf/gconf-internals.c:3965 +#: gconf/gconf-internals.c:3970 msgid "Unknown error executing child process" msgstr "" -#: gconf/gconf-internals.c:3986 +#: gconf/gconf-internals.c:3991 #, c-format msgid "Failed to read enough data from child pid pipe (%s)" msgstr "" -#: gconf/gconf-internals.c:4036 +#: gconf/gconf-internals.c:4041 #, c-format msgid "Failed to create pipe for communicating with child process (%s)" msgstr "" --- gconf-1.0.9.orig/po/cat-id-tbl.c +++ gconf-1.0.9/po/cat-id-tbl.c @@ -1,12 +1,13 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Free Software Foundation, Inc. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-03-14 23:10-0500\n" +"POT-Creation-Date: 2002-08-23 17:30+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -32,7 +33,7 @@ msgid "Couldn't find the %s root directory in the address `%s'" msgstr "" -#: backends/dir-utils.c:124 backends/xml-backend.c:304 backends/xml-dir.c:1050 +#: backends/dir-utils.c:124 backends/xml-backend.c:304 backends/xml-dir.c:1058 #, c-format msgid "Could not make directory `%s': %s" msgstr "" @@ -129,32 +130,32 @@ msgstr "" #. These are all fatal errors -#: backends/xml-dir.c:803 +#: backends/xml-dir.c:811 #, c-format msgid "Failed to stat `%s': %s" msgstr "" -#: backends/xml-dir.c:947 +#: backends/xml-dir.c:955 #, c-format msgid "Duplicate entry `%s' in `%s', ignoring" msgstr "" -#: backends/xml-dir.c:969 +#: backends/xml-dir.c:977 #, c-format msgid "Entry with no name in XML file `%s', ignoring" msgstr "" -#: backends/xml-dir.c:977 +#: backends/xml-dir.c:985 #, c-format msgid "A toplevel node in XML file `%s' is <%s> rather than , ignoring" msgstr "" -#: backends/xml-dir.c:1066 +#: backends/xml-dir.c:1074 #, c-format msgid "Failed to create file `%s': %s" msgstr "" -#: backends/xml-dir.c:1074 +#: backends/xml-dir.c:1082 #, c-format msgid "Failed to close file `%s': %s" msgstr "" @@ -646,12 +647,12 @@ msgid "Failed to create pipe for communicating with spawned gconf daemon: %s\n" msgstr "" -#: gconf/gconf-internals.c:3064 +#: gconf/gconf-internals.c:3069 #, c-format msgid "Failed to launch configuration server: %s\n" msgstr "" -#: gconf/gconf-internals.c:3088 +#: gconf/gconf-internals.c:3093 msgid "" "Failed to contact configuration server (a likely cause of this is that you " "have an existing configuration server (gconfd) running, but it isn't " @@ -659,46 +660,46 @@ "need to enable TCP networking for ORBit)\n" msgstr "" -#: gconf/gconf-internals.c:3724 +#: gconf/gconf-internals.c:3729 #, c-format msgid "Failed to read from child pipe (%s)" msgstr "" -#: gconf/gconf-internals.c:3789 +#: gconf/gconf-internals.c:3794 #, c-format msgid "Failed to fork (%s)" msgstr "" -#: gconf/gconf-internals.c:3929 +#: gconf/gconf-internals.c:3934 #, c-format msgid "Failed to change to directory '%s' (%s)" msgstr "" -#: gconf/gconf-internals.c:3939 +#: gconf/gconf-internals.c:3944 #, c-format msgid "Failed to execute child process (%s)" msgstr "" -#: gconf/gconf-internals.c:3948 +#: gconf/gconf-internals.c:3953 #, c-format msgid "Failed to redirect output or input of child process (%s)" msgstr "" -#: gconf/gconf-internals.c:3957 +#: gconf/gconf-internals.c:3962 #, c-format msgid "Failed to fork child process (%s)" msgstr "" -#: gconf/gconf-internals.c:3965 +#: gconf/gconf-internals.c:3970 msgid "Unknown error executing child process" msgstr "" -#: gconf/gconf-internals.c:3986 +#: gconf/gconf-internals.c:3991 #, c-format msgid "Failed to read enough data from child pid pipe (%s)" msgstr "" -#: gconf/gconf-internals.c:4036 +#: gconf/gconf-internals.c:4041 #, c-format msgid "Failed to create pipe for communicating with child process (%s)" msgstr "" --- gconf-1.0.9.orig/doc/Makefile.in +++ gconf-1.0.9/doc/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -96,6 +96,7 @@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_LIBS = @GUILE_LIBS@ +HAVE_LIB = @HAVE_LIB@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTALL_GCONF_CONFIG_SOURCE = @INSTALL_GCONF_CONFIG_SOURCE@ INSTOBJEXT = @INSTOBJEXT@ @@ -103,8 +104,10 @@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ LDFLAGS = @LDFLAGS@ +LIB = @LIB@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ +LTLIB = @LTLIB@ MAINT = @MAINT@ MAJOR_VERSION = @MAJOR_VERSION@ MAKEINFO = @MAKEINFO@ @@ -145,14 +148,14 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -235,7 +238,7 @@ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: @@ -251,6 +254,11 @@ subdir = doc distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ --- gconf-1.0.9.orig/doc/gconf/Makefile.in +++ gconf-1.0.9/doc/gconf/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -95,14 +95,17 @@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_LIBS = @GUILE_LIBS@ +HAVE_LIB = @HAVE_LIB@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTALL_GCONF_CONFIG_SOURCE = @INSTALL_GCONF_CONFIG_SOURCE@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ +LIB = @LIB@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ +LTLIB = @LTLIB@ MAINT = @MAINT@ MAJOR_VERSION = @MAJOR_VERSION@ MAKEINFO = @MAKEINFO@ @@ -151,10 +154,7 @@ CFLAGS = $(GMODULE_CFLAGS) $(ORBIT_CFLAGS) $(GTK_CFLAGS) $(OAF_CFLAGS) -I$(top_srcdir)/wrappers/gtk -I$(top_srcdir) -EXTRA_DIST = \ - $(DOC_MAIN_SGML_FILE) \ - $(DOC_MODULE)-sections.txt \ - gconf-decl.txt +EXTRA_DIST = $(DOC_MAIN_SGML_FILE) $(DOC_MODULE)-sections.txt gconf-decl.txt mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h @@ -164,14 +164,14 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/gconf/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/gconf/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -184,6 +184,11 @@ subdir = doc/gconf distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/gconf/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ --- gconf-1.0.9.orig/examples/Makefile.in +++ gconf-1.0.9/examples/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -96,6 +96,7 @@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_LIBS = @GUILE_LIBS@ +HAVE_LIB = @HAVE_LIB@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTALL_GCONF_CONFIG_SOURCE = @INSTALL_GCONF_CONFIG_SOURCE@ INSTOBJEXT = @INSTOBJEXT@ @@ -103,8 +104,10 @@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ LDFLAGS = @LDFLAGS@ +LIB = @LIB@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ +LTLIB = @LTLIB@ MAINT = @MAINT@ MAJOR_VERSION = @MAJOR_VERSION@ MAKEINFO = @MAKEINFO@ @@ -136,14 +139,11 @@ gconflocaledir = @gconflocaledir@ l = @l@ -INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gconf -I$(top_builddir)/gconf \ - -I$(top_srcdir)/wrappers/gtk -I$(top_builddir)/wrappers/gtk \ - $(GLIB_CFLAGS) $(OAF_CFLAGS) $(GMODULE_CFLAGS) $(ORBIT_CFLAGS) $(GTK_CFLAGS) \ - -DGCONF_SRCDIR=\""$(absolute_top_srcdir)"\" -DGCONF_SYSCONFDIR=\""$(sysconfdir)"\" +INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gconf -I$(top_builddir)/gconf -I$(top_srcdir)/wrappers/gtk -I$(top_builddir)/wrappers/gtk $(GLIB_CFLAGS) $(OAF_CFLAGS) $(GMODULE_CFLAGS) $(ORBIT_CFLAGS) $(GTK_CFLAGS) -DGCONF_SRCDIR=\""$(absolute_top_srcdir)"\" -DGCONF_SYSCONFDIR=\""$(sysconfdir)"\" EFENCE = -@GTK_TRUE@GTK_EXAMPLES = @GTK_TRUE@basic-gconf-app simple-view simple-controller +@GTK_TRUE@GTK_EXAMPLES = basic-gconf-app simple-view simple-controller @GTK_FALSE@GTK_EXAMPLES = noinst_PROGRAMS = $(GTK_EXAMPLES) @@ -196,8 +196,10 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best +DEP_FILES = .deps/basic-gconf-app.P .deps/simple-controller.P \ +.deps/simple-view.P SOURCES = $(basic_gconf_app_SOURCES) $(simple_view_SOURCES) $(simple_controller_SOURCES) OBJECTS = $(basic_gconf_app_OBJECTS) $(simple_view_OBJECTS) $(simple_controller_OBJECTS) @@ -205,9 +207,9 @@ .SUFFIXES: .SUFFIXES: .S .c .lo .o .obj .s $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -221,9 +223,6 @@ maintainer-clean-noinstPROGRAMS: -.c.o: - $(COMPILE) -c $< - # FIXME: We should only use cygpath when building on Windows, # and only if it is available. .c.obj: @@ -246,9 +245,6 @@ maintainer-clean-compile: -.c.lo: - $(LIBTOOL) --mode=compile $(COMPILE) -c $< - .s.lo: $(LIBTOOL) --mode=compile $(COMPILE) -c $< @@ -295,7 +291,7 @@ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: @@ -311,6 +307,11 @@ subdir = examples distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu examples/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ @@ -321,22 +322,38 @@ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -basic-gconf-app.o: basic-gconf-app.c ../wrappers/gtk/gconf-client.h \ - ../gconf/gconf.h ../gconf/gconf-schema.h ../gconf/gconf-value.h \ - ../gconf/gconf-error.h ../gconf/gconf-glib-public.h \ - ../gconf/gconf-engine.h ../gconf/gconf-listeners.h \ - ../gconf/gconf-changeset.h -simple-controller.o: simple-controller.c ../wrappers/gtk/gconf-client.h \ - ../gconf/gconf.h ../gconf/gconf-schema.h ../gconf/gconf-value.h \ - ../gconf/gconf-error.h ../gconf/gconf-glib-public.h \ - ../gconf/gconf-engine.h ../gconf/gconf-listeners.h \ - ../gconf/gconf-changeset.h -simple-view.o: simple-view.c ../wrappers/gtk/gconf-client.h \ - ../gconf/gconf.h ../gconf/gconf-schema.h ../gconf/gconf-value.h \ - ../gconf/gconf-error.h ../gconf/gconf-glib-public.h \ - ../gconf/gconf-engine.h ../gconf/gconf-listeners.h \ - ../gconf/gconf-changeset.h +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: @@ -373,27 +390,27 @@ maintainer-clean-generic: mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ - mostlyclean-libtool mostlyclean-tags \ + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \ mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \ - clean-generic mostlyclean-am + clean-depend clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-noinstPROGRAMS distclean-compile \ - distclean-libtool distclean-tags distclean-generic \ - clean-am + distclean-libtool distclean-tags distclean-depend \ + distclean-generic clean-am -rm -f libtool distclean: distclean-am maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ maintainer-clean-compile maintainer-clean-libtool \ - maintainer-clean-tags maintainer-clean-generic \ - distclean-am + maintainer-clean-tags maintainer-clean-depend \ + maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." @@ -404,12 +421,14 @@ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile mostlyclean-libtool distclean-libtool \ clean-libtool maintainer-clean-libtool tags mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +distclean-tags clean-tags maintainer-clean-tags distdir \ +mostlyclean-depend distclean-depend clean-depend \ +maintainer-clean-depend info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. --- gconf-1.0.9.orig/standard-schemas/Makefile.in +++ gconf-1.0.9/standard-schemas/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -96,6 +96,7 @@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_LIBS = @GUILE_LIBS@ +HAVE_LIB = @HAVE_LIB@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTALL_GCONF_CONFIG_SOURCE = @INSTALL_GCONF_CONFIG_SOURCE@ INSTOBJEXT = @INSTOBJEXT@ @@ -103,8 +104,10 @@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ LDFLAGS = @LDFLAGS@ +LIB = @LIB@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ +LTLIB = @LTLIB@ MAINT = @MAINT@ MAJOR_VERSION = @MAJOR_VERSION@ MAKEINFO = @MAKEINFO@ @@ -150,14 +153,14 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps standard-schemas/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu standard-schemas/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -189,6 +192,11 @@ subdir = standard-schemas distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu standard-schemas/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ --- gconf-1.0.9.orig/gconf-1.0.9/debian/libgconf11.files +++ gconf-1.0.9/gconf-1.0.9/debian/libgconf11.files @@ -0,0 +1,2 @@ +usr/lib/*.{so,a,la}.* +usr/lib/GConf/1/*.{so,a,la} --- gconf-1.0.9.orig/debian/changelog +++ gconf-1.0.9/debian/changelog @@ -0,0 +1,287 @@ +gconf (1.0.9-7.2) unstable; urgency=low + + * NMU. + * debian/control: Remove unneccesary Build-Depends on automake. (Closes: + #376441) + + -- Eric Dorland Sat, 19 Aug 2006 03:00:37 -0400 + +gconf (1.0.9-7.1) unstable; urgency=low + + * NMU during bugsquash party. + * Fix FTBFS with gcc-4.0. Closes: #305524. + + -- Daniel Schepler Sat, 3 Sep 2005 16:31:15 -0700 + +gconf (1.0.9-7) unstable; urgency=low + + * GNOME Team Upload. + * gconf/gconf-internals.c: + - update to work fine with gconf2, patch from + http://mail.gnome.org/archives/gconf-list/2003-April/msg00033.html. + + -- Sebastien Bacher Thu, 7 Apr 2005 13:30:53 +0200 + +gconf (1.0.9-6) unstable; urgency=medium + + * GNOME Team Upload + Goswin von Brederlow : + * [debian/rules] Don't ignore errors on dh_movefiles + * [debian/rules] Move usr/lib/*.{so,a,la}.* pattern into libgconf11.files + - shell pattern matching fails in debian/rules (Closes: #240971). + + -- Sebastien Bacher Tue, 22 Jun 2004 01:47:37 +0200 + +gconf (1.0.9-5.1) unstable; urgency=medium + + * NMU + * [config.guess, config.sub] Updated. + * Fixed inter-library dependencies: (Closes: #215967) + * [wrappers/gtk/Makefile] Add ../../gconf/libgconf.la to + libgconf_gtk_1_la_LIBADD . + * Regenerated auto*. + * [debian/control] Dropped superfluous guile build dependencies. + * [debian/rules] Changed dh_shlibdeps so as not to have a self-dependency + for libgconf11. + + -- J.H.M. Dassen (Ray) Sat, 18 Oct 2003 14:34:38 +0200 + +gconf (1.0.9-5) unstable; urgency=low + + * update autotools files (closes: #206540) + + -- Takuo KITAME Tue, 26 Aug 2003 11:27:20 +0900 + +gconf (1.0.9-4) unstable; urgency=low + + * Fix gconf.pc (closes: #178872) + * Fix incorrectly link of libgconf-gtk-1.so.1 (closes: #187362, #175059) + * not provides gconftool manpage alternatives. (closes: #203979) + * Fix URL in README (closes: #150248) + + -- Takuo KITAME Thu, 21 Aug 2003 13:21:07 +0900 + +gconf (1.0.9-3) unstable; urgency=low + + * Maintainer upload (closes: #157937) + * change Maintainer address to @debian.org + + -- Takuo KITAME Wed, 13 Nov 2002 13:29:29 +0900 + +gconf (1.0.9-2.1) unstable; urgency=low + + * NMU + * Update path to gconfd-2 to /usr/lib/gconf2. (closes: #157937) + * Conflict with older gconf2 versions which provided gconfd-2 in /usr/bin. + + -- Michael Fedrowitz Fri, 23 Aug 2002 18:01:56 +0200 + +gconf (1.0.9-2) unstable; urgency=low + + * includes README.Debian (just pointer to http://www.gnome.org/projects/gconf/) and FAQ (closes: #108277) + + -- Takuo KITAME Tue, 23 Apr 2002 12:27:14 +0900 + +gconf (1.0.9-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Sun, 17 Mar 2002 01:51:39 +0900 + +gconf (1.0.8-2) unstable; urgency=low + + * Suggests: nfs-common. It's needed under using NFS. (closes: #117172) + + -- Takuo KITAME Fri, 15 Feb 2002 18:08:32 +0900 + +gconf (1.0.8-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Wed, 6 Feb 2002 01:30:29 +0900 + +gconf (1.0.7-3) unstable; urgency=low + + * bacends/xml-dir.c: + use pathconf(3) if PATH_MAX isn't available (closes: #105434) + + -- Takuo KITAME Wed, 9 Jan 2002 06:44:24 +0000 + +gconf (1.0.7-2) unstable; urgency=low + + * debian/control: + - fixed typo in description (closes: #124951) + + -- Takuo KITAME Tue, 18 Dec 2001 08:46:45 +0900 + +gconf (1.0.7-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Wed, 31 Oct 2001 02:08:46 +0000 + +gconf (1.0.6-4) unstable; urgency=low + + * remove dangerous rm -rf in postrm. + it's shold be removed by client packages. (such as galeon) + * gconftool use alternatives system + + -- Takuo KITAME Fri, 26 Oct 2001 16:26:34 +0900 + +gconf (1.0.6-3) unstable; urgency=low + + * g_utf8_validate renamed to gconf_g_utf8_validate (It is internal!!) + comment out unused g_utf8_skip + It'll fix Evolution(Summary) with gconf 1.0.6. (closes: #116423) + + -- Takuo KITAME Mon, 22 Oct 2001 19:39:59 +0900 + +gconf (1.0.6-2) unstable; urgency=low + + * Fixed postinst (closes: #116176, #116177, #116178, #116179) + + -- Takuo KITAME Fri, 19 Oct 2001 12:25:55 +0900 + +gconf (1.0.6-1) unstable; urgency=low + + * New upstream release + * fixed wrong URL in README (closes: #112000) + * fix permission of /etc/gconf/gconf.xml.defaults (closes: #112875, #115920) + + -- Takuo KITAME Thu, 18 Oct 2001 10:01:17 +0900 + +gconf (1.0.5-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Mon, 15 Oct 2001 13:35:23 +0900 + +gconf (1.0.4-3) unstable; urgency=low + + * libgconf-dev: depends liboaf-dev (closes: #111251) + + -- Takuo KITAME Fri, 7 Sep 2001 21:35:36 +0900 + +gconf (1.0.4-2) unstable; urgency=low + + * rebuild with latest oaf. It will be fix Bug#110874. (closes: Bug#110874) + + -- Takuo KITAME Sun, 2 Sep 2001 01:20:31 +0900 + +gconf (1.0.4-1) unstable; urgency=low + + * New upstream release (closes: Bug#109689) + + -- Takuo KITAME Fri, 24 Aug 2001 02:30:51 +0900 + +gconf (1.0.3-2) unstable; urgency=low + + * install /etc/gconf/gconf.xml.mandatory (closes: Bug#108054) + + -- Takuo KITAME Thu, 9 Aug 2001 00:48:00 +0900 + +gconf (1.0.3-1) unstable; urgency=low + + * New upstream release + * include gconf.xml.defaults (closes: Bug#105894) + * include /etc/gconf/1/ (closes: Bug#105896) + * rm -rf /etc/gconf when purge gconf (closes: Bug#104415) + + -- Takuo KITAME Tue, 7 Aug 2001 03:55:17 +0900 + +gconf (1.0.1-3) unstable; urgency=low + + * update config.{guess,sub} (closes: Bug#103376) + + -- Takuo KITAME Sun, 8 Jul 2001 19:06:37 +0900 + +gconf (1.0.1-2) unstable; urgency=low + + * escape gnome-config checks in configure.in. + It's not needed, I think. (closes: Bug#98350) + + -- Takuo KITAME Sun, 27 May 2001 16:50:45 +0900 + +gconf (1.0.1-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Sun, 20 May 2001 04:16:32 +0900 + +gconf (1.0.0-4) unstable; urgency=low + + * debian/control: fix description. (closes: Bug#94179) + + -- Takuo KITAME Thu, 19 Apr 2001 03:07:13 +0900 + +gconf (1.0.0-3) unstable; urgency=low + + * Build-Depends: added versionned libguile-dev (>= 1:1.4-10) (closes: Bug#93101) + * Built with libdb3 (closes: Bug#93192, Bug#93185) + + -- Takuo KITAME Sun, 8 Apr 2001 13:59:35 +0900 + +gconf (1.0.0-2) unstable; urgency=low + + * fix Build-Depends zlib1g-dev (closes: Bug#90380) + + -- Takuo KITAME Thu, 22 Mar 2001 13:12:36 +0900 + +gconf (1.0.0-1) unstable; urgency=low + + * New upstream release + * fix Build-Depends libgtk1.2-dev. (closes: Bug#89567) + + -- Takuo KITAME Wed, 14 Mar 2001 12:07:30 +0900 + +gconf (0.50-2) unstable; urgency=low + + * libgconf-dev: Depends on gconf (= ${Source-Version}) (closes: Bug#89309) + * --disable-debug (closes: Bug#81210) + + -- Takuo KITAME Tue, 13 Mar 2001 19:00:54 +0900 + +gconf (0.50-1) unstable; urgency=low + + * New upstream release + * libguile-dev is now availeable, Build-Depends: libguile-dev is right. (closes: Bug#84454) + * gconf binaries are now in own package 'gconf'. + + -- Takuo KITAME Wed, 28 Feb 2001 12:11:35 +0900 + +gconf (0.12-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Thu, 1 Feb 2001 13:13:38 +0900 + +gconf (0.11-2) unstable; urgency=low + + * debian/control: Build-Depends (closes: Bug#77623) + + -- Takuo KITAME Wed, 22 Nov 2000 09:02:56 +0900 + +gconf (0.11-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Sun, 29 Oct 2000 03:54:31 +0900 + +gconf (0.10-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Wed, 11 Oct 2000 09:47:19 +0900 + +gconf (0.8-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Fri, 18 Aug 2000 05:47:20 +0900 + +gconf (0.5.000512-1) unstable; urgency=low + + * Initial Release. + + -- Vincent Renardias Mon, 15 May 2000 17:43:46 +0200 + --- gconf-1.0.9.orig/debian/control +++ gconf-1.0.9/debian/control @@ -0,0 +1,48 @@ +Source: gconf +Section: libs +Priority: optional +Maintainer: Takuo KITAME +Build-Depends: libgtk1.2-dev, gtk-doc-tools, liborbit-dev, libpopt-dev, liboaf-dev (>= 0.3.0), libxml-dev, zlib1g-dev, gettext, debhelper (>> 3.0.0), libdb3-dev +Standards-Version: 3.5.2 + +Package: gconf +Section: admin +Priority: optional +Architecture: any +Depends: ${shlibs:Depends} +Suggests: nfs-common +Conflicts: libgconf10 +Replaces: libgconf10, libgconf11 (<< 1.0.7) +Description: GNOME configuration database system. (daemon and tools) + GConf is a configuration database system, functionally similar to the + Windows registry but lots better. :-) It's being written for the GNOME + desktop but does not require GNOME. + . + This package contain gconfd daemon and gconf tools binaries. + +Package: libgconf11 +Section: libs +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, gconf +Conflicts: libgconf10, gconf2 (<< 1.2.1-2.1) +Replaces: libgconf10 +Description: GNOME configuration database system libraries + GConf is a configuration database system, functionally similar to the + Windows registry but lots better. :-) It's being written for the GNOME + desktop but does not require GNOME. + . + This package contain shared libraries. + +Package: libgconf-dev +Section: devel +Priority: optional +Architecture: any +Depends: libgconf11 (= ${Source-Version}), gconf (= ${Source-Version}), liboaf-dev +Replaces: gconf (<< 1.0.6) +Description: GNOME configuration database system development files. + GConf is a configuration database system, functionally similar to the + Windows registry but lots better. :-) It's being written for the GNOME + desktop but does not require GNOME + . + This package contain development files. --- gconf-1.0.9.orig/debian/libgconf11.files +++ gconf-1.0.9/debian/libgconf11.files @@ -0,0 +1,3 @@ +usr/lib/*.so.1 +usr/lib/*.so.1.* + --- gconf-1.0.9.orig/debian/FAQ +++ gconf-1.0.9/debian/FAQ @@ -0,0 +1,122 @@ +FAQ/Troubleshooting + +This section assumes the background information in the Introduction to GConf +section above. + +How do I use GConf 1 and 2 at the same time? + +Things should just work - GConf 1 apps can talk to the GConf 2 daemon, and vice +versa. + +The tricky part is if you install GConf 1 and 2 to different prefixes. This +means that by default they will use different sources to find schemas. You can +fix this in several ways; one is to install the schemas for each application to +both source locations, another is to edit prefix/etc/gconf/2/path to point at +the same sources as prefix/etc/gconf/1/path and then create a file prefix/etc/ +gconf/schema-install-source containing the address of the source where you want +newly-installed applications to install their schemas. + +I'm having a lock file problem. What do I do? + +Usually a problem here involves either NFS, or a kernel bug. + +The per-user daemon locks two files in the default configuration: + ~/.gconfd/lock/ior + ~/.gconf/%gconf-xml-backend.lock/ior +The first lock is to ensure that only one gconfd is running. The second lock is +to ensure only one program accesses the XML config source at a time. + +If you have an NFS-mounted home directory, you must be running an rpc.statd/ +rpc.lockd setup on both NFS client and NFS server, so that file locking works. +On Red Hat Linux, this means the "nfslock" service must be running. Enable it +permanently with the chkconfig tool - see its manual page. Turn it on or off at +any given time with service nfslock start or service nfslock stop. You must be +root to do this. + +If the kernel crashes (or the power cord gets pulled) on an NFS client machine, +theoretically when you reboot the client machine it will notify the NFS server +that it has rebooted and all previously-held locks should be released. However, +many operating systems including Red Hat Linux 7.2 do not properly do this; so +you will have stale locks after a crash. If no gconfd is running, these locks +may safely be removed. If gconfd is running though, DO NOT remove them; if you +have two gconfd processes for a single user, very bad things will happen to +that user's preferences. + +How do I log in from two machines at once? + +You can only have one gconfd accessing a given configuration source at the same +time. This means you need to share the same gconfd between the two machines. + +This Just Works, with two common catches: + + ・ You have a firewall between the machines. + ・ For security reasons, remote CORBA connections are normally disabled by + default. + +To enable remote CORBA connections, add the line "ORBIIOPIPv4=1" to /etc/ +orbitrc and then restart gconfd using gconftool-2 --shutdown. + +How can I see log messages from gconfd? + +If you're having gconf problems, the first step is to see if gconfd is printing +error messages. To do this, you need to look at the user.* level of syslog. Red +Hat Linux has this level of logging turned off by default, other systems have +it enabled. If you don't have it by default, add a line like this to /etc/ +syslog.conf: + user.* /var/log/user +Then run a command such as service syslog restart to reload the config file. At +that point /var/log/user will begin to log gconfd messages. + +To put gconfd in hugely verbose mode, you can send it the USR1 signal with kill +-USR1 or killall -USR1 gconfd-2. Send USR1 a second time to toggle +huge verbosity back off. Note that GConf will get really, really slow when in +verbose mode; syslog is not efficient. + +How can I turn off log messages from gconfd? + +Change where user.* messages end up. Syslog unfortunately does not let you +redirect messages according to which daemon sends them, but very little other +than gconfd uses user.*. + +gconfd keeps me from unmounting my home directory, how can I get it to exit? + +It should exit a couple of minutes after the last application using GConf has +exited. You could put a "gconftool --shutdown" in your .logout script or the +like, if you want it to exit sooner. + +GConf should really be enhanced in the future to exit immediately when all apps +using it have exited. This can only be done in GConf 2 since ORBit 2 has the +required features. Patches are welcome, otherwise I'll get to it eventually. + +What are some tools for debugging/profiling gconf or apps that use it? + +One handy trick is to set the GCONF_DEBUG_TRACE_CLIENT environment variable +when running a GConf client application. This will give copious debug output +about what that client is doing. + +Some other weird thing is wrong with my gconf!!! + +Try shutting down gconfd (gconftool-2 --shutdown) and running the +gconf-sanity-check-1 or gconf-sanity-check-2 applications - these will tell you +about common problems. Also, be sure you have the latest GConf version. + +If you can't figure out what's going on, mail gconf-list@gnome.org with the +following information: + + ・ Exact error messages from any applications. + ・ Exact version of GConf 1 and GConf 2 that you have installed. + ・ Output of ps jaxwww | grep gconf. + ・ Output of gconf-sanity-check-1 or gconf-sanity-check-2 if any. + ・ What operating system are you using, and what version of it. + ・ What appears in the user.* syslog (see above for how to turn on user.* + syslog). + +Before you mail, please read this whole web page. + +Where do I report bugs or make suggestions? + +Go to http://bugzilla.gnome.org and enter a new bug, or run the GNOME +"bug-buddy" application. + +DO NOT put support requests in bugzilla; mail gconf-list as noted in the +previous question. --- gconf-1.0.9.orig/debian/rules +++ gconf-1.0.9/debian/rules @@ -0,0 +1,113 @@ +#!/usr/bin/make -f +# MAde with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Cristoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + +VERSION := $(shell dpkg-parsechangelog | grep Version | sed -e 's/Version: //g' -e 's/-[A-Za-z0-9\.]*$$//g') + +# SHLIBDEPS=$(VERSION) +SHLIBDEPS=1.0.7 + +CFLAGS=-g -O2 -DGCONF2_DIR=\"\\\"/usr/lib/gconf2\\\"\" + +update: + dh_testdir + @chmod +x debian/uupdate + uscan + +configure: configure-stamp +configure-stamp: + dh_testdir + + @echo + @echo "*** VERSION = ${VERSION} ***" + @echo + @sleep 1 + + chmod +x debian/gnome-config + + PATH=$(CURDIR)/debian:$(PATH) CFLAGS="$(CFLAGS)" \ + ./configure --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --sysconfdir=/etc --disable-debug + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + -rm -f `find -name Makefile` + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/gconf. + $(MAKE) install prefix=`pwd`/debian/gconf/usr sysconfdir=`pwd`/debian/gconf/etc + rm -f `pwd`/debian/gconf/usr/bin/gconftool +# mv `pwd`/debian/gconf/etc/gconf/1/path.example \ +# `pwd`/debian/gconf/etc/gconf/1/path + + dh_movefiles -plibgconf11 --sourcedir=debian/gconf + dh_movefiles -plibgconf-dev --sourcedir=debian/gconf + -find debian/ -type d -empty | sort -r | xargs rmdir -p > /dev/null 2>&1 + install -m 755 -d `pwd`/debian/gconf/etc/gconf/gconf.xml.defaults + install -m 755 -d `pwd`/debian/gconf/etc/gconf/gconf.xml.mandatory + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot + + dh_installdocs + dh_installexamples + dh_installmenu + dh_installmanpages + dh_undocumented -plibgconf-dev gconf-config.1 + dh_undocumented -pgconf gconftool-1.1 gconfd-1.1 + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + chmod go=rX -R $(CURDIR)/debian/gconf/etc/gconf/gconf.xml.defaults + dh_makeshlibs -plibgconf11 -V'libgconf11 (>= ${SHLIBDEPS})' + dh_installdeb + dh_shlibdeps --libpackage=libgconf11 -ldebian/libgconf11/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary update --- gconf-1.0.9.orig/debian/docs +++ gconf-1.0.9/debian/docs @@ -0,0 +1,2 @@ +NEWS README TODO debian/FAQ + --- gconf-1.0.9.orig/debian/prerm +++ gconf-1.0.9/debian/prerm @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +update-alternatives --remove gconftool /usr/bin/gconftool-1 + +#DEBHELPER# --- gconf-1.0.9.orig/debian/watch +++ gconf-1.0.9/debian/watch @@ -0,0 +1 @@ +ftp.gnome.org /pub/GNOME/stable/sources/GConf/ GConf-(1\.0\..*)\.tar\.gz debian debian/uupdate --- gconf-1.0.9.orig/debian/gnome-config +++ gconf-1.0.9/debian/gnome-config @@ -0,0 +1,4 @@ +#!/bin/sh + + +exit 0 --- gconf-1.0.9.orig/debian/conffiles +++ gconf-1.0.9/debian/conffiles @@ -0,0 +1,2 @@ +/etc/gconf/1/path +/etc/gconf/schemas/desktop.schemas --- gconf-1.0.9.orig/debian/shlibs.local +++ gconf-1.0.9/debian/shlibs.local @@ -0,0 +1,2 @@ +libgconf-1 1 libgconf11 (>= 1.0.7) +libgconf-gtk-1 1 libgconf11 (>= 1.0.7) --- gconf-1.0.9.orig/debian/postinst +++ gconf-1.0.9/debian/postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +find /etc/gconf/gconf.xml.defaults -type d | xargs chmod go=rX + +update-alternatives --install \ + /usr/bin/gconftool gconftool /usr/bin/gconftool-1 50 + +#DEBHELPER# --- gconf-1.0.9.orig/debian/README.Debian +++ gconf-1.0.9/debian/README.Debian @@ -0,0 +1,3 @@ + +You can find more documents at + http://www.gnome.org/projects/gconf/ --- gconf-1.0.9.orig/debian/uupdate +++ gconf-1.0.9/debian/uupdate @@ -0,0 +1,3 @@ +#!/bin/sh +set -e +uupdate -u $* --- gconf-1.0.9.orig/debian/copyright +++ gconf-1.0.9/debian/copyright @@ -0,0 +1,23 @@ +This package was debianized by Vincent Renardias on +Fri, 12 May 2000 20:53:21 +0200. + +It was downloaded from the ftp.gnome.org. + +/* GConf + * Copyright (C) 1999, 2000 Red Hat Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ --- gconf-1.0.9.orig/debian/libgconf-dev.files +++ gconf-1.0.9/debian/libgconf-dev.files @@ -0,0 +1,6 @@ +usr/include +usr/bin/gconf-config* +usr/lib/*.{so,a,la} +usr/share/aclocal +usr/lib/GConf/1/*.{a,la} +usr/lib/pkgconfig