diff options
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/Evolution-Composer-common.c | 331 | ||||
-rw-r--r-- | calendar/gui/Evolution-Composer-skels.c | 689 | ||||
-rw-r--r-- | calendar/gui/Evolution-Composer-stubs.c | 846 | ||||
-rw-r--r-- | calendar/gui/e-meeting-edit.c | 6 |
5 files changed, 9 insertions, 1868 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 85faeb2ec3..9039634f44 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,4 +1,9 @@ 2000-10-25 Jesse Pavel <jpavel@helixcode.com> + + * removed the Evolution-Composer generated files, due + to a tip on how we do things. + +2000-10-25 Jesse Pavel <jpavel@helixcode.com> * gui/Evolution-Composer.idl: added this from the composer IDL sources diff --git a/calendar/gui/Evolution-Composer-common.c b/calendar/gui/Evolution-Composer-common.c deleted file mode 100644 index 971d8f1320..0000000000 --- a/calendar/gui/Evolution-Composer-common.c +++ /dev/null @@ -1,331 +0,0 @@ -/* - * This file was generated by orbit-idl - DO NOT EDIT! - */ - -#include <string.h> -#include "Evolution-Composer.h" - -#if ( (TC_IMPL_TC_Evolution_Composer_0 == 'E') \ -&& (TC_IMPL_TC_Evolution_Composer_1 == 'v') \ -&& (TC_IMPL_TC_Evolution_Composer_2 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_3 == 'l') \ -&& (TC_IMPL_TC_Evolution_Composer_4 == 'u') \ -&& (TC_IMPL_TC_Evolution_Composer_5 == 't') \ -&& (TC_IMPL_TC_Evolution_Composer_6 == 'i') \ -&& (TC_IMPL_TC_Evolution_Composer_7 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_8 == 'n') \ -&& (TC_IMPL_TC_Evolution_Composer_9 == '_') \ -&& (TC_IMPL_TC_Evolution_Composer_10 == 'C') \ -&& (TC_IMPL_TC_Evolution_Composer_11 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_12 == 'm') \ -&& (TC_IMPL_TC_Evolution_Composer_13 == 'p') \ -&& (TC_IMPL_TC_Evolution_Composer_14 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_15 == 's') \ -&& (TC_IMPL_TC_Evolution_Composer_16 == 'e') \ -&& (TC_IMPL_TC_Evolution_Composer_17 == 'r') \ -) && !defined(TC_DEF_TC_Evolution_Composer) -#define TC_DEF_TC_Evolution_Composer 1 -const struct CORBA_TypeCode_struct TC_Evolution_Composer_struct = { - - {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, - ORBIT_PSEUDO_TYPECODE}, - - CORBA_tk_objref, "Composer", "IDL:Evolution/Composer:1.0", - 0, 0, - NULL, - NULL, - NULL, - CORBA_OBJECT_NIL, 0, -1, 0, 0 -}; -#endif -#if ( (TC_IMPL_TC_Evolution_Composer_Recipient_0 == 'E') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_1 == 'v') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_2 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_3 == 'l') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_4 == 'u') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_5 == 't') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_6 == 'i') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_7 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_8 == 'n') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_9 == '_') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_10 == 'C') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_11 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_12 == 'm') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_13 == 'p') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_14 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_15 == 's') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_16 == 'e') \ -&& (TC_IMPL_TC_Evolution_Composer_Recipient_17 == 'r') \ -) && !defined(TC_DEF_TC_Evolution_Composer_Recipient) -#define TC_DEF_TC_Evolution_Composer_Recipient 1 -static const char *anon_subnames_array5[] = { "name", "address" }; -static const CORBA_TypeCode anon_subtypes_array6[] = - { (CORBA_TypeCode) & TC_CORBA_string_struct, - (CORBA_TypeCode) & TC_CORBA_string_struct }; -const struct CORBA_TypeCode_struct TC_Evolution_Composer_Recipient_struct = { - - {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, - ORBIT_PSEUDO_TYPECODE}, - - CORBA_tk_struct, "Recipient", "IDL:Evolution/Composer/Recipient:1.0", - 0, 2, - (const char **) anon_subnames_array5, - (CORBA_TypeCode *) anon_subtypes_array6, - NULL, - CORBA_OBJECT_NIL, 0, -1, 0, 0 -}; -#endif -#if ( (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_0 == 'E') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_1 == 'v') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_2 == 'o') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_3 == 'l') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_4 == 'u') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_5 == 't') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_6 == 'i') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_7 == 'o') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_8 == 'n') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_9 == '_') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_10 == 'C') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_11 == 'o') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_12 == 'm') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_13 == 'p') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_14 == 'o') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_15 == 's') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_16 == 'e') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_17 == 'r') \ -) && !defined(TC_DEF_TC_CORBA_sequence_Evolution_Composer_Recipient) -#define TC_DEF_TC_CORBA_sequence_Evolution_Composer_Recipient 1 -static const CORBA_TypeCode anon_subtypes_array10[] = - { (CORBA_TypeCode) & TC_Evolution_Composer_Recipient_struct }; -const struct CORBA_TypeCode_struct - TC_CORBA_sequence_Evolution_Composer_Recipient_struct = { - {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, - ORBIT_PSEUDO_TYPECODE}, - CORBA_tk_sequence, NULL, NULL, - 0, 1, - NULL, - (CORBA_TypeCode *) anon_subtypes_array10, - NULL, - CORBA_OBJECT_NIL, 0, -1, 0, 0 -}; -#endif -#if ( (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_0 == 'E') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_1 == 'v') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_2 == 'o') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_3 == 'l') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_4 == 'u') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_5 == 't') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_6 == 'i') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_7 == 'o') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_8 == 'n') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_9 == '_') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_10 == 'C') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_11 == 'o') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_12 == 'm') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_13 == 'p') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_14 == 'o') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_15 == 's') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_16 == 'e') \ -&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_17 == 'r') \ -) && !defined(TC_DEF_TC_CORBA_sequence_Evolution_Composer_Recipient) -#define TC_DEF_TC_CORBA_sequence_Evolution_Composer_Recipient 1 -static const CORBA_TypeCode anon_subtypes_array19[] = - { (CORBA_TypeCode) & TC_Evolution_Composer_Recipient_struct }; -const struct CORBA_TypeCode_struct - TC_CORBA_sequence_Evolution_Composer_Recipient_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_Evolution_Composer_RecipientList_0 == 'E') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_1 == 'v') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_2 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_3 == 'l') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_4 == 'u') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_5 == 't') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_6 == 'i') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_7 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_8 == 'n') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_9 == '_') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_10 == 'C') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_11 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_12 == 'm') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_13 == 'p') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_14 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_15 == 's') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_16 == 'e') \ -&& (TC_IMPL_TC_Evolution_Composer_RecipientList_17 == 'r') \ -) && !defined(TC_DEF_TC_Evolution_Composer_RecipientList) -#define TC_DEF_TC_Evolution_Composer_RecipientList 1 -static const CORBA_TypeCode anon_subtypes_array23[] = - { (CORBA_TypeCode) & TC_CORBA_sequence_Evolution_Composer_Recipient_struct - - }; -const struct CORBA_TypeCode_struct TC_Evolution_Composer_RecipientList_struct - = { - {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, - ORBIT_PSEUDO_TYPECODE}, - CORBA_tk_alias, "RecipientList", - "IDL:Evolution/Composer/RecipientList:1.0", - - 0, 1, - NULL, - (CORBA_TypeCode *) anon_subtypes_array23, - NULL, - CORBA_OBJECT_NIL, 0, -1, 0, 0 -}; -#endif -#if ( (TC_IMPL_TC_Evolution_Composer_CouldNotParse_0 == 'E') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_1 == 'v') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_2 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_3 == 'l') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_4 == 'u') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_5 == 't') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_6 == 'i') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_7 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_8 == 'n') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_9 == '_') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_10 == 'C') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_11 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_12 == 'm') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_13 == 'p') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_14 == 'o') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_15 == 's') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_16 == 'e') \ -&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_17 == 'r') \ -) && !defined(TC_DEF_TC_Evolution_Composer_CouldNotParse) -#define TC_DEF_TC_Evolution_Composer_CouldNotParse 1 -const struct CORBA_TypeCode_struct TC_Evolution_Composer_CouldNotParse_struct - = { - {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1}, - ORBIT_PSEUDO_TYPECODE}, - CORBA_tk_except, "CouldNotParse", - "IDL:Evolution/Composer/CouldNotParse:1.0", - 0, 0, - NULL, - NULL, - NULL, - CORBA_OBJECT_NIL, 0, -1, 0, 0 -}; -#endif -gpointer -Evolution_Composer_Recipient__free(gpointer mem, gpointer dat, - CORBA_boolean free_strings) -{ - Evolution_Composer_Recipient *var = mem; - - if (free_strings) { - CORBA_string__free(&(var->name), NULL, free_strings); - } - if (free_strings) { - CORBA_string__free(&(var->address), NULL, free_strings); - } - return (gpointer) (var + 1); -} - -Evolution_Composer_Recipient * -Evolution_Composer_Recipient__alloc(void) -{ - Evolution_Composer_Recipient *retval; - - retval = - ORBit_alloc(sizeof(Evolution_Composer_Recipient), - (ORBit_free_childvals) Evolution_Composer_Recipient__free, - GUINT_TO_POINTER(1)); - memset(&(retval->name), '\0', sizeof(retval->name)); - memset(&(retval->address), '\0', sizeof(retval->address)); - return retval; -} - -#if ( (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_0 == 'E') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_1 == 'v') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_2 == 'o') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_3 == 'l') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_4 == 'u') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_5 == 't') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_6 == 'i') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_7 == 'o') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_8 == 'n') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_9 == '_') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_10 == 'C') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_11 == 'o') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_12 == 'm') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_13 == 'p') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_14 == 'o') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_15 == 's') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_16 == 'e') \ -&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_17 == 'r') \ -) && !defined(ORBIT_DEF_CORBA_sequence_Evolution_Composer_Recipient) -#define ORBIT_DEF_CORBA_sequence_Evolution_Composer_Recipient 1 - -gpointer -CORBA_sequence_Evolution_Composer_Recipient__free(gpointer mem, gpointer dat, - CORBA_boolean free_strings) -{ - CORBA_sequence_Evolution_Composer_Recipient *val = mem; - - if (val->_release) - ORBit_free(val->_buffer, free_strings); - return (gpointer) (val + 1); -} - -CORBA_sequence_Evolution_Composer_Recipient * -CORBA_sequence_Evolution_Composer_Recipient__alloc(void) -{ - CORBA_sequence_Evolution_Composer_Recipient *retval; - - retval = - ORBit_alloc(sizeof(CORBA_sequence_Evolution_Composer_Recipient), - (ORBit_free_childvals) - CORBA_sequence_Evolution_Composer_Recipient__free, - GUINT_TO_POINTER(1)); - retval->_maximum = 0; - retval->_length = 0; - retval->_buffer = NULL; - retval->_release = CORBA_FALSE; - return retval; -} - -Evolution_Composer_Recipient * -CORBA_sequence_Evolution_Composer_Recipient_allocbuf(CORBA_unsigned_long len) -{ - Evolution_Composer_Recipient *retval = - ORBit_alloc(sizeof(Evolution_Composer_Recipient) * len, - (ORBit_free_childvals) Evolution_Composer_Recipient__free, - GUINT_TO_POINTER(len)); - - memset(retval, '\0', sizeof(Evolution_Composer_Recipient) * len); - return retval; -} -#endif - -gpointer -Evolution_Composer_RecipientList__free(gpointer mem, gpointer dat, - CORBA_boolean free_strings) -{ - return CORBA_sequence_Evolution_Composer_Recipient__free(mem, dat, - free_strings); -} - -Evolution_Composer_RecipientList * -Evolution_Composer_RecipientList__alloc(void) -{ - return CORBA_sequence_Evolution_Composer_Recipient__alloc(); -} - -gpointer -Evolution_Composer_CouldNotParse__free(gpointer mem, gpointer dat, - CORBA_boolean free_strings) -{ - Evolution_Composer_CouldNotParse *var = mem; - - return (gpointer) (var + 1); -} - -CORBA_unsigned_long Evolution_Composer__classid = 0; diff --git a/calendar/gui/Evolution-Composer-skels.c b/calendar/gui/Evolution-Composer-skels.c deleted file mode 100644 index 2883627e0e..0000000000 --- a/calendar/gui/Evolution-Composer-skels.c +++ /dev/null @@ -1,689 +0,0 @@ -/* - * This file was generated by orbit-idl - DO NOT EDIT! - */ - -#include <string.h> -#include "Evolution-Composer.h" - -void -_ORBIT_skel_Evolution_Composer_set_headers(POA_Evolution_Composer * - _ORBIT_servant, - GIOPRecvBuffer * - _ORBIT_recv_buffer, - CORBA_Environment * ev, - void (*_impl_set_headers) - (PortableServer_Servant _servant, - const - Evolution_Composer_RecipientList * - to, - const - Evolution_Composer_RecipientList * - cc, - const - Evolution_Composer_RecipientList * - bcc, const CORBA_char * subject, - CORBA_Environment * ev)) -{ - Evolution_Composer_RecipientList to = { 0, 0, NULL, CORBA_FALSE }; - Evolution_Composer_RecipientList cc = { 0, 0, NULL, CORBA_FALSE }; - Evolution_Composer_RecipientList bcc = { 0, 0, NULL, CORBA_FALSE }; - CORBA_char *subject; - - { /* demarshalling */ - guchar *_ORBIT_curptr; - register 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; - CORBA_unsigned_long _ORBIT_tmpvar_21; - register 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; - - _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 *) & (to._length))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - to._buffer = - alloca(sizeof(to._buffer[_ORBIT_tmpvar_17]) * to._length); - to._release = CORBA_FALSE; - for (_ORBIT_tmpvar_17 = 0; _ORBIT_tmpvar_17 < to._length; - _ORBIT_tmpvar_17++) { - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (_ORBIT_tmpvar_19))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - to._buffer[_ORBIT_tmpvar_17].name = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(to._buffer[_ORBIT_tmpvar_17].name[_ORBIT_tmpvar_18]) * - _ORBIT_tmpvar_19; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (_ORBIT_tmpvar_21))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - to._buffer[_ORBIT_tmpvar_17].address = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(to._buffer[_ORBIT_tmpvar_17]. - address[_ORBIT_tmpvar_20]) * _ORBIT_tmpvar_21; - } - - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (cc._length))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - cc._buffer = - alloca(sizeof(cc._buffer[_ORBIT_tmpvar_22]) * cc._length); - cc._release = CORBA_FALSE; - for (_ORBIT_tmpvar_22 = 0; _ORBIT_tmpvar_22 < cc._length; - _ORBIT_tmpvar_22++) { - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (_ORBIT_tmpvar_24))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - cc._buffer[_ORBIT_tmpvar_22].name = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(cc._buffer[_ORBIT_tmpvar_22].name[_ORBIT_tmpvar_23]) * - _ORBIT_tmpvar_24; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (_ORBIT_tmpvar_26))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - cc._buffer[_ORBIT_tmpvar_22].address = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(cc._buffer[_ORBIT_tmpvar_22]. - address[_ORBIT_tmpvar_25]) * _ORBIT_tmpvar_26; - } - - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (bcc._length))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - bcc._buffer = - alloca(sizeof(bcc._buffer[_ORBIT_tmpvar_27]) * bcc._length); - bcc._release = CORBA_FALSE; - for (_ORBIT_tmpvar_27 = 0; _ORBIT_tmpvar_27 < bcc._length; - _ORBIT_tmpvar_27++) { - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (_ORBIT_tmpvar_29))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - bcc._buffer[_ORBIT_tmpvar_27].name = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(bcc._buffer[_ORBIT_tmpvar_27].name[_ORBIT_tmpvar_28]) * - _ORBIT_tmpvar_29; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (_ORBIT_tmpvar_31))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - bcc._buffer[_ORBIT_tmpvar_27].address = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(bcc._buffer[_ORBIT_tmpvar_27]. - address[_ORBIT_tmpvar_30]) * _ORBIT_tmpvar_31; - } - - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (_ORBIT_tmpvar_33))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - subject = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(subject[_ORBIT_tmpvar_32]) * _ORBIT_tmpvar_33; - } else { - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - to._length = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - to._buffer = - alloca(sizeof(to._buffer[_ORBIT_tmpvar_17]) * to._length); - to._release = CORBA_FALSE; - for (_ORBIT_tmpvar_17 = 0; _ORBIT_tmpvar_17 < to._length; - _ORBIT_tmpvar_17++) { - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - _ORBIT_tmpvar_19 = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - to._buffer[_ORBIT_tmpvar_17].name = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(to._buffer[_ORBIT_tmpvar_17].name[_ORBIT_tmpvar_18]) * - _ORBIT_tmpvar_19; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - _ORBIT_tmpvar_21 = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - to._buffer[_ORBIT_tmpvar_17].address = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(to._buffer[_ORBIT_tmpvar_17]. - address[_ORBIT_tmpvar_20]) * _ORBIT_tmpvar_21; - } - - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - cc._length = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - cc._buffer = - alloca(sizeof(cc._buffer[_ORBIT_tmpvar_22]) * cc._length); - cc._release = CORBA_FALSE; - for (_ORBIT_tmpvar_22 = 0; _ORBIT_tmpvar_22 < cc._length; - _ORBIT_tmpvar_22++) { - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - _ORBIT_tmpvar_24 = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - cc._buffer[_ORBIT_tmpvar_22].name = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(cc._buffer[_ORBIT_tmpvar_22].name[_ORBIT_tmpvar_23]) * - _ORBIT_tmpvar_24; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - _ORBIT_tmpvar_26 = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - cc._buffer[_ORBIT_tmpvar_22].address = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(cc._buffer[_ORBIT_tmpvar_22]. - address[_ORBIT_tmpvar_25]) * _ORBIT_tmpvar_26; - } - - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - bcc._length = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - bcc._buffer = - alloca(sizeof(bcc._buffer[_ORBIT_tmpvar_27]) * bcc._length); - bcc._release = CORBA_FALSE; - for (_ORBIT_tmpvar_27 = 0; _ORBIT_tmpvar_27 < bcc._length; - _ORBIT_tmpvar_27++) { - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - _ORBIT_tmpvar_29 = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - bcc._buffer[_ORBIT_tmpvar_27].name = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(bcc._buffer[_ORBIT_tmpvar_27].name[_ORBIT_tmpvar_28]) * - _ORBIT_tmpvar_29; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - _ORBIT_tmpvar_31 = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - bcc._buffer[_ORBIT_tmpvar_27].address = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(bcc._buffer[_ORBIT_tmpvar_27]. - address[_ORBIT_tmpvar_30]) * _ORBIT_tmpvar_31; - } - - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - _ORBIT_tmpvar_33 = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - subject = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(subject[_ORBIT_tmpvar_32]) * _ORBIT_tmpvar_33; - } - } - _impl_set_headers(_ORBIT_servant, &(to), &(cc), &(bcc), subject, 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_Evolution_Composer_set_body_text(POA_Evolution_Composer * - _ORBIT_servant, - GIOPRecvBuffer * - _ORBIT_recv_buffer, - CORBA_Environment * ev, - void (*_impl_set_body_text) - (PortableServer_Servant _servant, - const CORBA_char * body, - CORBA_Environment * ev)) -{ - CORBA_char *body; - - { /* 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; - body = (void *) _ORBIT_curptr; - _ORBIT_curptr += sizeof(body[_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; - body = (void *) _ORBIT_curptr; - _ORBIT_curptr += sizeof(body[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; - } - } - _impl_set_body_text(_ORBIT_servant, body, 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_Evolution_Composer_CouldNotParse_marshal(GIOPSendBuffer * - _ORBIT_send_buffer, - CORBA_Environment * ev) -{ -} -void -_ORBIT_skel_Evolution_Composer_attach_MIME(POA_Evolution_Composer * - _ORBIT_servant, - GIOPRecvBuffer * - _ORBIT_recv_buffer, - CORBA_Environment * ev, - void (*_impl_attach_MIME) - (PortableServer_Servant _servant, - const CORBA_char * data, - CORBA_Environment * ev)) -{ - CORBA_char *data; - - { /* 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; - data = (void *) _ORBIT_curptr; - _ORBIT_curptr += sizeof(data[_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; - data = (void *) _ORBIT_curptr; - _ORBIT_curptr += sizeof(data[_ORBIT_tmpvar_2]) * _ORBIT_tmpvar_3; - } - } - _impl_attach_MIME(_ORBIT_servant, data, 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_Evolution_Composer_CouldNotParse_struct, - (gpointer) - _ORBIT_Evolution_Composer_CouldNotParse_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_Evolution_Composer_attach_data(POA_Evolution_Composer * - _ORBIT_servant, - GIOPRecvBuffer * - _ORBIT_recv_buffer, - CORBA_Environment * ev, - void (*_impl_attach_data) - (PortableServer_Servant _servant, - const CORBA_char * content_type, - const CORBA_char * filename, - const CORBA_char * description, - const CORBA_boolean show_inline, - const CORBA_char * data, - CORBA_Environment * ev)) -{ - CORBA_char *content_type; - CORBA_char *filename; - CORBA_char *description; - CORBA_boolean show_inline; - CORBA_char *data; - - { /* demarshalling */ - guchar *_ORBIT_curptr; - 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; - - _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; - content_type = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(content_type[_ORBIT_tmpvar_8]) * _ORBIT_tmpvar_9; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (_ORBIT_tmpvar_11))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - filename = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(filename[_ORBIT_tmpvar_10]) * _ORBIT_tmpvar_11; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (_ORBIT_tmpvar_13))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - description = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(description[_ORBIT_tmpvar_12]) * _ORBIT_tmpvar_13; - show_inline = *((CORBA_boolean *) _ORBIT_curptr); - _ORBIT_curptr += 1; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - - (*((guint32 *) & (_ORBIT_tmpvar_15))) = - GUINT32_SWAP_LE_BE(*((guint32 *) _ORBIT_curptr)); - _ORBIT_curptr += 4; - data = (void *) _ORBIT_curptr; - _ORBIT_curptr += sizeof(data[_ORBIT_tmpvar_14]) * _ORBIT_tmpvar_15; - } else { - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - _ORBIT_tmpvar_9 = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - content_type = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(content_type[_ORBIT_tmpvar_8]) * _ORBIT_tmpvar_9; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - _ORBIT_tmpvar_11 = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - filename = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(filename[_ORBIT_tmpvar_10]) * _ORBIT_tmpvar_11; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - _ORBIT_tmpvar_13 = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - description = (void *) _ORBIT_curptr; - _ORBIT_curptr += - sizeof(description[_ORBIT_tmpvar_12]) * _ORBIT_tmpvar_13; - show_inline = *((CORBA_boolean *) _ORBIT_curptr); - _ORBIT_curptr += 1; - _ORBIT_curptr = ALIGN_ADDRESS(_ORBIT_curptr, 4); - _ORBIT_tmpvar_15 = *((CORBA_unsigned_long *) _ORBIT_curptr); - _ORBIT_curptr += 4; - data = (void *) _ORBIT_curptr; - _ORBIT_curptr += sizeof(data[_ORBIT_tmpvar_14]) * _ORBIT_tmpvar_15; - } - } - _impl_attach_data(_ORBIT_servant, content_type, filename, description, - show_inline, data, 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_Evolution_Composer_show(POA_Evolution_Composer * _ORBIT_servant, - GIOPRecvBuffer * _ORBIT_recv_buffer, - CORBA_Environment * ev, - void (*_impl_show) (PortableServer_Servant - _servant, - CORBA_Environment * - ev)) -{ - _impl_show(_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_Evolution_Composer(POA_Evolution_Composer * 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 't': - switch (opname[2]) { - case 't': - switch (opname[3]) { - case 'a': - switch (opname[4]) { - case 'c': - switch (opname[5]) { - case 'h': - switch (opname[6]) { - case '_': - switch (opname[7]) { - case 'M': - if (strcmp((opname + 8), "IME")) - break; - *impl = - (gpointer) servant->vepv-> - Evolution_Composer_epv-> - attach_MIME; - return (ORBitSkeleton) - _ORBIT_skel_Evolution_Composer_attach_MIME; - break; - case 'd': - if (strcmp((opname + 8), "ata")) - break; - *impl = - (gpointer) servant->vepv-> - Evolution_Composer_epv-> - attach_data; - return (ORBitSkeleton) - _ORBIT_skel_Evolution_Composer_attach_data; - break; - default: - break; - } - break; - default: - break; - } - break; - default: - break; - } - break; - default: - break; - } - break; - default: - break; - } - break; - default: - break; - } - break; - default: - break; - } - break; - case 'q': - if (strcmp((opname + 1), "uery_interface")) - break; - *impl = (gpointer) servant->vepv->Bonobo_Unknown_epv->query_interface; - return (ORBitSkeleton) _ORBIT_skel_Bonobo_Unknown_query_interface; - break; - case 'r': - if (strcmp((opname + 1), "ef")) - break; - *impl = (gpointer) servant->vepv->Bonobo_Unknown_epv->ref; - return (ORBitSkeleton) _ORBIT_skel_Bonobo_Unknown_ref; - break; - case 's': - switch (opname[1]) { - case 'e': - switch (opname[2]) { - case 't': - switch (opname[3]) { - case '_': - switch (opname[4]) { - case 'b': - if (strcmp((opname + 5), "ody_text")) - break; - *impl = - (gpointer) servant->vepv-> - Evolution_Composer_epv->set_body_text; - return (ORBitSkeleton) - _ORBIT_skel_Evolution_Composer_set_body_text; - break; - case 'h': - if (strcmp((opname + 5), "eaders")) - break; - *impl = - (gpointer) servant->vepv-> - Evolution_Composer_epv->set_headers; - return (ORBitSkeleton) - _ORBIT_skel_Evolution_Composer_set_headers; - break; - default: - break; - } - break; - default: - break; - } - break; - default: - break; - } - break; - case 'h': - if (strcmp((opname + 2), "ow")) - break; - *impl = (gpointer) servant->vepv->Evolution_Composer_epv->show; - return (ORBitSkeleton) _ORBIT_skel_Evolution_Composer_show; - break; - default: - break; - } - break; - case 'u': - if (strcmp((opname + 1), "nref")) - break; - *impl = (gpointer) servant->vepv->Bonobo_Unknown_epv->unref; - return (ORBitSkeleton) _ORBIT_skel_Bonobo_Unknown_unref; - break; - default: - break; - } - return NULL; -} - -static void -init_local_objref_Evolution_Composer(CORBA_Object obj, - POA_Evolution_Composer * servant) -{ - obj->vepv[Bonobo_Unknown__classid] = servant->vepv->Bonobo_Unknown_epv; - obj->vepv[Evolution_Composer__classid] = - servant->vepv->Evolution_Composer_epv; -} - -void -POA_Evolution_Composer__init(PortableServer_Servant servant, - CORBA_Environment * env) -{ - static const PortableServer_ClassInfo class_info = - { (ORBit_impl_finder) & get_skel_Evolution_Composer, - "IDL:Evolution/Composer:1.0", - (ORBit_local_objref_init) & init_local_objref_Evolution_Composer }; - - PortableServer_ServantBase__init(((PortableServer_ServantBase *) servant), - env); - POA_Bonobo_Unknown__init(servant, env); - ORBIT_OBJECT_KEY(((PortableServer_ServantBase *) servant)->_private)-> - class_info = (PortableServer_ClassInfo *) & class_info; - if (!Evolution_Composer__classid) - Evolution_Composer__classid = ORBit_register_class(&class_info); -} - -void -POA_Evolution_Composer__fini(PortableServer_Servant servant, - CORBA_Environment * env) -{ - POA_Bonobo_Unknown__fini(servant, env); - PortableServer_ServantBase__fini(servant, env); -} diff --git a/calendar/gui/Evolution-Composer-stubs.c b/calendar/gui/Evolution-Composer-stubs.c deleted file mode 100644 index e60990c31e..0000000000 --- a/calendar/gui/Evolution-Composer-stubs.c +++ /dev/null @@ -1,846 +0,0 @@ -/* - * This file was generated by orbit-idl - DO NOT EDIT! - */ - -#include <string.h> -#include "Evolution-Composer.h" - -void -Evolution_Composer_set_headers(Evolution_Composer _obj, - const Evolution_Composer_RecipientList * to, - const Evolution_Composer_RecipientList * cc, - const Evolution_Composer_RecipientList * bcc, - const CORBA_char * subject, - 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 && Evolution_Composer__classid) { - - ((POA_Evolution_Composer__epv *) _obj-> - vepv[Evolution_Composer__classid])->set_headers(_obj->servant, to, cc, - bcc, subject, 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, "set_headers"}; - static const struct iovec _ORBIT_operation_vec = - { (gpointer) & _ORBIT_operation_name_data, 16 }; - 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; - 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; - register CORBA_unsigned_long _ORBIT_tmpvar_11; - CORBA_unsigned_long _ORBIT_tmpvar_12; - register CORBA_unsigned_long _ORBIT_tmpvar_13; - CORBA_unsigned_long _ORBIT_tmpvar_14; - register CORBA_unsigned_long _ORBIT_tmpvar_15; - CORBA_unsigned_long _ORBIT_tmpvar_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_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), 4); - { - guchar *_ORBIT_t; - - _ORBIT_t = alloca(sizeof((*to)._length)); - memcpy(_ORBIT_t, &((*to)._length), sizeof((*to)._length)); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), (_ORBIT_t), - sizeof((*to)._length)); - } - for (_ORBIT_tmpvar_0 = 0; _ORBIT_tmpvar_0 < (*to)._length; - _ORBIT_tmpvar_0++) { - _ORBIT_tmpvar_2 = strlen((*to)._buffer[_ORBIT_tmpvar_0].name) + 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 - ((*to)._buffer[_ORBIT_tmpvar_0].name[_ORBIT_tmpvar_1]) * - _ORBIT_tmpvar_2); - memcpy(_ORBIT_t, ((*to)._buffer[_ORBIT_tmpvar_0].name), - sizeof((*to)._buffer[_ORBIT_tmpvar_0]. - name[_ORBIT_tmpvar_1]) * _ORBIT_tmpvar_2); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), (_ORBIT_t), - sizeof((*to). - _buffer[_ORBIT_tmpvar_0]. - name[_ORBIT_tmpvar_1]) * - _ORBIT_tmpvar_2); - } - _ORBIT_tmpvar_4 = strlen((*to)._buffer[_ORBIT_tmpvar_0].address) + 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 - ((*to)._buffer[_ORBIT_tmpvar_0]. - address[_ORBIT_tmpvar_3]) * _ORBIT_tmpvar_4); - memcpy(_ORBIT_t, ((*to)._buffer[_ORBIT_tmpvar_0].address), - sizeof((*to)._buffer[_ORBIT_tmpvar_0]. - address[_ORBIT_tmpvar_3]) * _ORBIT_tmpvar_4); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), (_ORBIT_t), - sizeof((*to). - _buffer[_ORBIT_tmpvar_0]. - address[_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((*cc)._length)); - memcpy(_ORBIT_t, &((*cc)._length), sizeof((*cc)._length)); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), (_ORBIT_t), - sizeof((*cc)._length)); - } - for (_ORBIT_tmpvar_5 = 0; _ORBIT_tmpvar_5 < (*cc)._length; - _ORBIT_tmpvar_5++) { - _ORBIT_tmpvar_7 = strlen((*cc)._buffer[_ORBIT_tmpvar_5].name) + 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)); - } - { - guchar *_ORBIT_t; - - _ORBIT_t = - alloca(sizeof - ((*cc)._buffer[_ORBIT_tmpvar_5].name[_ORBIT_tmpvar_6]) * - _ORBIT_tmpvar_7); - memcpy(_ORBIT_t, ((*cc)._buffer[_ORBIT_tmpvar_5].name), - sizeof((*cc)._buffer[_ORBIT_tmpvar_5]. - name[_ORBIT_tmpvar_6]) * _ORBIT_tmpvar_7); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), (_ORBIT_t), - sizeof((*cc). - _buffer[_ORBIT_tmpvar_5]. - name[_ORBIT_tmpvar_6]) * - _ORBIT_tmpvar_7); - } - _ORBIT_tmpvar_9 = strlen((*cc)._buffer[_ORBIT_tmpvar_5].address) + 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)); - } - { - guchar *_ORBIT_t; - - _ORBIT_t = - alloca(sizeof - ((*cc)._buffer[_ORBIT_tmpvar_5]. - address[_ORBIT_tmpvar_8]) * _ORBIT_tmpvar_9); - memcpy(_ORBIT_t, ((*cc)._buffer[_ORBIT_tmpvar_5].address), - sizeof((*cc)._buffer[_ORBIT_tmpvar_5]. - address[_ORBIT_tmpvar_8]) * _ORBIT_tmpvar_9); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), (_ORBIT_t), - sizeof((*cc). - _buffer[_ORBIT_tmpvar_5]. - address[_ORBIT_tmpvar_8]) * - _ORBIT_tmpvar_9); - } - } - - giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), 4); - { - guchar *_ORBIT_t; - - _ORBIT_t = alloca(sizeof((*bcc)._length)); - memcpy(_ORBIT_t, &((*bcc)._length), sizeof((*bcc)._length)); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), (_ORBIT_t), - sizeof((*bcc)._length)); - } - for (_ORBIT_tmpvar_10 = 0; _ORBIT_tmpvar_10 < (*bcc)._length; - _ORBIT_tmpvar_10++) { - _ORBIT_tmpvar_12 = strlen((*bcc)._buffer[_ORBIT_tmpvar_10].name) + 1; - giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), 4); - { - guchar *_ORBIT_t; - - _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_12)); - memcpy(_ORBIT_t, &(_ORBIT_tmpvar_12), sizeof(_ORBIT_tmpvar_12)); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), (_ORBIT_t), - sizeof(_ORBIT_tmpvar_12)); - } - { - guchar *_ORBIT_t; - - _ORBIT_t = - alloca(sizeof - ((*bcc)._buffer[_ORBIT_tmpvar_10]. - name[_ORBIT_tmpvar_11]) * _ORBIT_tmpvar_12); - memcpy(_ORBIT_t, ((*bcc)._buffer[_ORBIT_tmpvar_10].name), - sizeof((*bcc)._buffer[_ORBIT_tmpvar_10]. - name[_ORBIT_tmpvar_11]) * _ORBIT_tmpvar_12); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), (_ORBIT_t), - sizeof((*bcc). - _buffer[_ORBIT_tmpvar_10]. - name[_ORBIT_tmpvar_11]) * - _ORBIT_tmpvar_12); - } - _ORBIT_tmpvar_14 = - strlen((*bcc)._buffer[_ORBIT_tmpvar_10].address) + 1; - giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), 4); - { - guchar *_ORBIT_t; - - _ORBIT_t = alloca(sizeof(_ORBIT_tmpvar_14)); - memcpy(_ORBIT_t, &(_ORBIT_tmpvar_14), sizeof(_ORBIT_tmpvar_14)); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), (_ORBIT_t), - sizeof(_ORBIT_tmpvar_14)); - } - { - guchar *_ORBIT_t; - - _ORBIT_t = - alloca(sizeof - ((*bcc)._buffer[_ORBIT_tmpvar_10]. - address[_ORBIT_tmpvar_13]) * _ORBIT_tmpvar_14); - memcpy(_ORBIT_t, ((*bcc)._buffer[_ORBIT_tmpvar_10].address), - sizeof((*bcc)._buffer[_ORBIT_tmpvar_10]. - address[_ORBIT_tmpvar_13]) * _ORBIT_tmpvar_14); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), (_ORBIT_t), - sizeof((*bcc). - _buffer[_ORBIT_tmpvar_10]. - address[_ORBIT_tmpvar_13]) * - _ORBIT_tmpvar_14); - } - } - - _ORBIT_tmpvar_16 = strlen(subject) + 1; - giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), 4); - { - 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)); - } - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), - (subject), - sizeof(subject[_ORBIT_tmpvar_15]) * - _ORBIT_tmpvar_16); - 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 -Evolution_Composer_set_body_text(Evolution_Composer _obj, - const CORBA_char * body, - 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 && Evolution_Composer__classid) { - - ((POA_Evolution_Composer__epv *) _obj-> - vepv[Evolution_Composer__classid])->set_body_text(_obj->servant, body, - 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, "set_body_text"}; - static const struct iovec _ORBIT_operation_vec = - { (gpointer) & _ORBIT_operation_name_data, 18 }; - 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(body) + 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), - (body), - sizeof(body[_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, NULL, _obj->orb); - giop_recv_buffer_unuse(_ORBIT_recv_buffer); - return; - } - } -} -void -_ORBIT_Evolution_Composer_CouldNotParse_demarshal(GIOPRecvBuffer * - _ORBIT_recv_buffer, - CORBA_Environment * ev) -{ - CORBA_exception_set(ev, CORBA_USER_EXCEPTION, - TC_Evolution_Composer_CouldNotParse_struct.repo_id, - NULL); -} - -void -Evolution_Composer_attach_MIME(Evolution_Composer _obj, - const CORBA_char * data, - CORBA_Environment * ev) -{ - static const ORBit_exception_demarshal_info _ORBIT_user_exceptions[] = - { {(const CORBA_TypeCode) &TC_Evolution_Composer_CouldNotParse_struct, - (gpointer) _ORBIT_Evolution_Composer_CouldNotParse_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 && Evolution_Composer__classid) { - - ((POA_Evolution_Composer__epv *) _obj-> - vepv[Evolution_Composer__classid])->attach_MIME(_obj->servant, data, - 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, "attach_MIME"}; - 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; - - _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(data) + 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), - (data), - sizeof(data[_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 -Evolution_Composer_attach_data(Evolution_Composer _obj, - const CORBA_char * content_type, - const CORBA_char * filename, - const CORBA_char * description, - const CORBA_boolean show_inline, - const CORBA_char * data, - 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 && Evolution_Composer__classid) { - - ((POA_Evolution_Composer__epv *) _obj-> - vepv[Evolution_Composer__classid])->attach_data(_obj->servant, - content_type, filename, - description, - show_inline, data, 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, "attach_data"}; - 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; - 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_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(content_type) + 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), - (content_type), - sizeof(content_type[_ORBIT_tmpvar_0]) * - _ORBIT_tmpvar_1); - _ORBIT_tmpvar_3 = strlen(filename) + 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), - (filename), - sizeof(filename[_ORBIT_tmpvar_2]) * - _ORBIT_tmpvar_3); - _ORBIT_tmpvar_5 = strlen(description) + 1; - giop_message_buffer_do_alignment(GIOP_MESSAGE_BUFFER - (_ORBIT_send_buffer), 4); - { - 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), - (description), - sizeof(description[_ORBIT_tmpvar_4]) * - _ORBIT_tmpvar_5); - giop_message_buffer_append_mem(GIOP_MESSAGE_BUFFER(_ORBIT_send_buffer), - &(show_inline), sizeof(show_inline)); - _ORBIT_tmpvar_7 = strlen(data) + 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), - (data), - sizeof(data[_ORBIT_tmpvar_6]) * - _ORBIT_tmpvar_7); - 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 -Evolution_Composer_show(Evolution_Composer _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 && Evolution_Composer__classid) { - - ((POA_Evolution_Composer__epv *) _obj-> - vepv[Evolution_Composer__classid])->show(_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, "show"}; - 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, NULL, _obj->orb); - giop_recv_buffer_unuse(_ORBIT_recv_buffer); - return; - } - } -} diff --git a/calendar/gui/e-meeting-edit.c b/calendar/gui/e-meeting-edit.c index 2353d615e8..fa7f609dfe 100644 --- a/calendar/gui/e-meeting-edit.c +++ b/calendar/gui/e-meeting-edit.c @@ -571,11 +571,13 @@ send_button_clicked_cb (GtkWidget *widget, gpointer data) return; } - sprintf (tempstr, "text/calendar; METHOD=%s", itip_methods[METHOD_REQUEST]); + sprintf (tempstr, "text/calendar;METHOD=%s", itip_methods[METHOD_REQUEST]); content_type = CORBA_string_alloc (strlen (tempstr)); strcpy (content_type, tempstr); filename = CORBA_string_alloc (0); - description = CORBA_string_alloc (0); + sprintf (tempstr, "Calendar attachment"); + description = CORBA_string_alloc (strlen (tempstr)); + strcpy (description, tempstr); show_inline = FALSE; /* I need to create an encapsulating iCalendar component, and stuff our vEvent |